Руководство По Проектированию для Cisco Cisco Nexus 5010 Switch

Скачать
Страница из 119
 
 
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 93 of 119 
You can verify the spanning-tree configuration as follows: 
show spanning-tree summary 
Switch is in rapid-pvst mode  
Root bridge for: VLAN0212 
Port Type Default is disable 
 
If you are using MST, the MST region configuration must match the MST region configuration on the Cisco Nexus 
7000 Series Switch, or more generally on the aggregation-layer switch. Failure to create matching configurations 
creates two regions that still interoperate through Rapid PVST+; however, the steady-state configuration should 
really comprise a single region. 
spanning-tree mode mst 
spanning-tree pathcost method long 
spanning-tree mst configuration 
  name dc1 
  revision 3 
  instance 1 vlan 1-4093 
If you are using MST, be sure to configure the region mapping for all VLANs even if you are not using them all. 
This configuration does not have any hardware or CPU resource use costs until the VLAN is created and assigned 
to interfaces. 
Host ports on the Cisco Nexus 5000 Series should be configured as type edge to enable PortFast with or without 
BPDU filtering: 
spanning-tree port type edge 
Cisco Nexus 5000 Series in vPC Mode 
The spanning-tree configuration best practices for vPC mode are identical to the best practices described in the 
previous section except that you can also configure the MST region definition using config-sync. 
You may want to disable loop guard if you plan to use the Cisco Nexus 5000 Series in vPC mode. Loop guard is 
not useful in vPC topologies. 
The spanning-tree mode needs to be configured independently on both Cisco Nexus 5000 Series Switches: 
config t 
spanning-tree mode mst 
spanning-tree pathcost method long 
no spanning-tree loopguard default 
spanning-tree mst configuration 
  name dc1 
  revision 3 
  instance 1 vlan 1-4093 
Repeat the preceding configuration on both (future) vPC peers. 
At this point, the MST region definition is identical on both Cisco Nexus 5000 Series peers.