Configuring A Hybrid Vpc Peer Switch Topology - Cisco nexus 5000 series Configuration Manual

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

Advertisement

Configuring a Hybrid vPC Peer Switch Topology

Enter configuration commands, one per line.
switch(config)# vpc domain 5
switch(config-vpc-domain)# peer-switch
2010 Apr 28 14:44:44 switch %STP-2-VPC_PEERSWITCH_CONFIG_ENABLED: vPC peer-switch
configuration is enabled. Please make sure to configure spanning tree "bridge" priority as
per recommended guidelines to make vPC peer-switch operational.
switch(config-vpc-domain)# exit
switch(config)# spanning-tree vlan 1 priority 8192
switch(config)# show spanning-tree summary
Switch is in rapid-pvst mode
Root bridge for: VLAN0001-VLAN0050, VLAN0100-VLAN0149, VLAN0200-VLAN0249
VLAN0300-VLAN0349, VLAN0400-VLAN0599, VLAN0900-VLAN0999
Port Type Default
Edge Port [PortFast] BPDU Guard Default
Edge Port [PortFast] BPDU Filter Default is disabled
Bridge Assurance
Loopguard Default
Pathcost method used
vPC peer-switch
Name
---------------------- -------- --------- -------- ---------- ----------
VLAN0001
VLAN0002
switch(config)# copy running-config startup-config
switch(config)#
Configuring a Hybrid vPC Peer Switch Topology
You can configure a hybrid vPC and non-vPC peer switch topology by using the spanning-tree
pseudo-information command to change the designated bridge ID so that it meets the STP VLAN-based
load-balancing criteria and then change the root bridge ID priority to a value that is better than the best bridge
priority. You then enable the peer switch. For more information, see the command reference for your device.
If you previously configured global spanning tree parameters and you subsequently configure spanning
Note
tree pseudo information parameters, be aware that the pseudo information parameters take precedence
over the global parameters.
Before You Begin
Ensure that you have enabled the vPC feature.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# spanning-tree pseudo-information
3. switch(config-pseudo)# vlan vlan-id designated priority priority
4. switch(config-pseudo)# vlan vlan-id root priority priority
5. switch(config-pseudo)# exit
6. switch(config)# vpc domain domain-id
7. switch(config-vpc-domain)# peer-switch
8. switch(config-vpc-domain)# exit
9. (Optional) switch(config)# show spanning-tree summary
10. (Optional) switch(config)# copy running-config startup-config
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
136
End with CNTL/Z.
is disable
is disabled
is enabled
is disabled
is short
is enabled (operational)
Blocking Listening Learning Forwarding STP Active
0
0
0
0
Configuring Virtual Port Channels
0
16
16
0
16
16
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents