Cisco Nexus 5000 Series Nx-Os Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1 - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Virtual Port Channels
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree
pseudo-information
Step 3
switch(config-pseudo)# vlan vlan-id
designated priority priority
Step 4
switch(config-pseudo)# vlan vlan-id root
priority priority
Step 5
switch(config-pseudo)# exit
Step 6
switch(config)# vpc domain domain-id
Step 7
switch(config-vpc-domain)# peer-switch
Step 8
switch(config-vpc-domain)# exit
Step 9
switch(config)# show spanning-tree
summary
Step 10
switch(config)# copy running-config
startup-config
This example shows how to configure a hybrid vPC peer switch topology:
switch# configure terminal
Enter configuration commands, one per line.
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
OL-25842-01
Purpose
Enters global configuration mode.
Configures the spanning tree pseudo information.
This configuration takes precedence over any global spanning
Note
tree configurations.
Configures the designated bridge priority of the VLAN. Valid values
are multiples of 4096 from 0 to 61440.
Configures the root bridge priority of the VLAN. Valid values are
multiples of 4096 from 0 to 61440.
This value must be identical on both vPC peers to have an
Note
operational peer switch.
Exists spanning tree pseudo information configuration mode.
Enters the vPC domain number that you want to configure. The system
enters the vpc-domain configuration mode.
Enables the vPC switch pair to appear as a single STP root in the Layer
2 topology.
Use the no form of the command to disable the peer switch vPC
topology.
Exits the vpc-domain configuration mode.
(Optional)
Displays a summary of the spanning tree port states including the vPC
peer switch.
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.

Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)

Configuring a Hybrid vPC Peer Switch Topology
End with CNTL/Z.
137

Advertisement

Table of Contents
loading

Table of Contents