HP Cisco MDS 9120 Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 272
show spanning-tree, Cisco Nexus 5000 Series Command Reference, OL-16599-01,
View all HP Cisco MDS 9120 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 272 highlights
show spanning-tree Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree To display information about the Spanning Tree Protocol (STP), use the show spanning-tree command. show spanning-tree [blockedports | inconsistentports | pathcost method] Syntax Description blockedports inconsistentports pathcost method (Optional) Displays the alternate ports blocked by STP. (Optional) Displays the ports that are in an inconsistent STP state. (Optional) Displays whether short or long path cost method is used. The method differs for Rapid PVST+ (configurable, default is short) and MST (nonconfigurable, operational value is always long). Command Default None Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The STP port type displays only when you have configured the port as either an STP edge port or an STP network port. If you have not configured the STP port type, no port type displays. Examples This example shows how to display spanning tree information: switch# show spanning-tree This example shows how to display the blocked ports in spanning tree: switch(config)# show spanning-tree blockedports This example shows how to determine if any ports are in any STP--inconsistent state: switch# show spanning-tree inconsistentports This example shows how to display the path cost method: switch(config)# show spanning-tree pathcost method 3-18 Cisco Nexus 5000 Series Command Reference OL-16599-01