Configuring VN-Segment for VLAN in Configure Sync
VN-Segments can be configured with the
configure sync
command for VPCs.
Procedure
Purpose
Command or Action
Enter configuration sync mode.
switch#
configure sync
Step 1
Creates a switch profile that contains a
predetermined configuration.
switch(config-sync)#
switch-profile test
Step 2
Creates a VLAN.
switch(config-sync-sp)#
vlan vlan-id
Step 3
Defines the network global ID.
switch(config-sync-sp-vlan)#
vn-segment segmentation-id
Step 4
The
segmentation-id
range is from 4096 to
16,773,119.
(Optional)
Synchronizes the configuration with the peer switch
and applies the configuration locally.
switch(config-sync-sp-vlan)#
commit
Step 5
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config-sync-sp-vlan)#
copy
running-config startup-config
Step 6
This example shows how to configure VN-Segment for a VLAN in configure sync mode:
switch#
configure sync
switch(config-sync)#
switch-profile test
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)#
vlan 3500
switch(config-sync-sp-vlan)#
vn-segment 40001
switch(config-sync-sp-vlan)#
Configuring VN-Segment in Transit Mode
Before You Begin
The FabricPath feature set must be enabled.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Enables transit mode. You need to save the configuration
and reload the spine.
switch(config)#
fabricpath mode
transit
Step 2
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
207
Configuring VN-Segment
Configuring VN-Segment for VLAN in Configure Sync