Displaying And Clearing Mst Statistics-Cli Version; Mst Example Configuration - Cisco Nexus 7000 Series Configuration Manual

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Displaying and Clearing MST Statistics—CLI Version
Command
show spanning-tree mst instance-id [detail]
show spanning-tree mst instance-id interface
{ethernet slot/port | port-channel channel-number}
[detail]
show spanning-tree summary
show spanning-tree detail
show spanning-tree {vlan vlan-id | interface
{[ethernet slot/port] | [port-channel
channel-number]}} [detail]
show spanning-tree vlan vlan-id bridge
For information on the output of these commands, see the Cisco Nexus 7000 Series NX-OS Layer 2 Switching
Command Reference.
Displaying and Clearing MST Statistics—CLI Version
To display MST configuration information, perform one of the following tasks:
Command
clear spanning-tree counters [ interface type
slot/port | vlanvlan-id]
show spanning-tree {vlan vlan-id | interface
{[ethernet slot/port] |
[port-channelchannel-number]}} detail

MST Example Configuration

The following example shows how to configure MST:
switch# configure terminal
switch(config)# spanning-tree mode mst
switch(config)# spanning-tree port type edge bpduguard default
switch(config)# spanning-tree port type edge bpdufilter default
switch(config)# spanning-tree port type network default
switch(config)# spanning-tree mst 0-64 priority 24576
switch(config)# spanning-tree mst configuration
switch(config-mst)# name cisco_region_1
switch(config-mst)# revision 2
switch(config-mst)# instance 1 vlan 1-21
switch(config-mst)# instance 2 vlan 22-42
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
172
Configuring MST Using Cisco NX-OS
Purpose
Displays information about the specified MST
instance.
Displays MST information for the specified interface
and instance.
Displays summary STP information.
Displays detailed STP information.
Displays STP information per VLAN and interface.
Displays information on the STP bridge.
Purpose
Clears the counters for STP.
Displays information about STP by interface or
VLAN including BPDUs sent and received.

Advertisement

Table of Contents
loading

Table of Contents