PurposeCommand or Action
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to
the startup configuration.
switch(config)# copy running-config
startup-config
Step 5
This example shows how to enable VN-Segment:
switch# configure terminal
switch(config)# install feature-set fabricpath
switch(config)# feature-set fabricpath
switch(config)# feature vn-segment-vlan-based
switch(config)# copy running-config startup-config
Configuring VN-Segment for a VLAN
Before You Begin
The VN-Segment feature must be enabled.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Creates a VLAN.
switch(config)# vlan vlan-id
Step 2
Configures the VLAN as a FabricPath VLAN.switch(config-vlan)# mode fabricpath
Step 3
VN-Segments for a VLAN must be configured in
FabricPath mode on the Leaf.
Defines the network global ID.switch(config-vlan)# vn-segment
segmentation-id
Step 4
The segmentation-id range is from 4096 to 16,773,119.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config-vlan)# copy
running-config startup-config
Step 5
This example shows how to configure VN-Segment for VLAN:
switch# configure terminal
switch(config)# vlan 100
switch(config-vlan)# mode fabricpath
switch(config-vlan)# vn-segment 4096
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
206
Configuring VN-Segment
Configuring VN-Segment for a VLAN