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