Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand or Action
Configures the designated bridge priority of the VLAN.
Valid values are multiples of 4096 from 0 to 61440.
switch(config-pseudo)# vlan vlan-id
designated priority priority
Step 3
Configures the root bridge priority of the VLAN. Valid
values are multiples of 4096 from 0 to 61440.
switch(config-pseudo)# vlan vlan-id
root priority priority
Step 4
This value must be identical on both vPC peers
to have an operational peer switch.
Note
Exists spanning tree pseudo information configuration
mode.
switch(config-pseudo)# exit
Step 5
Enters the vPC domain number that you want to configure.
The system enters the vpc-domain configuration mode.
switch(config)# vpc domain
domain-id
Step 6
Enables the vPC switch pair to appear as a single STP root
in the Layer 2 topology.
switch(config-vpc-domain)#
peer-switch
Step 7
Use the no form of the command to disable the peer switch
vPC topology.
Exits the vpc-domain configuration mode.switch(config-vpc-domain)# exit
Step 8
(Optional)
Displays a summary of the spanning tree port states
including the vPC peer switch.
switch(config)# show
spanning-tree summary
Step 9
Look for the following line in the command output:
vPC peer-switch is enabled (operational)
(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 10
This example shows how to configure a hybrid vPC peer switch topology:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# spanning-tree pseudo-information
switch(config-pseudo)# vlan 1 designated priority 8192
switch(config-pseudo)# vlan 1 root priority 4096
switch(config-pseudo)# exit
switch(config)# vpc domain 5
switch(config-vpc-domain)# peer-switch
switch(config-vpc-domain)# exit
switch(config)# copy running-config startup-config
Verifying the vPC Configuration
Use the following commands to display vPC configuration information:
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
78-26881-OL 95
Configuring Virtual Port Channels
Verifying the vPC Configuration