149
the command
Note: For the complicated network, especially need to switch from one spanning tree
branch to another rapidly, the disable mode is not recommended.
Example: Configure the spanning-tree flush mode once the topology change is not flush
to TC.
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#spanning-tree tcflush disable
Switch(Config-If-Ethernet1/2)#
12.2 Commands for Monitor and Debug
12.2.1 show spanning-tree
Command: show spanning-tree [mst [<instance-id>]] [interface <interface-list>]
[detail]
Function: Display the MSTP Information.
Parameter: <interface-list> sets interface list; <instance-id> sets the instance ID. The
valid range is from 0 to 64; detail sets the detailed spanning-tree information.
Command mode: Admin and Configuration Mode
Usage Guide: This command can display the MSTP information of the instances in the
current bridge.
Example: Display the bridge MSTP.
Switch#sh spanning-tree
-- MSTP Bridge Config Info --
Standard : IEEE 802.1s
Bridge MAC : 00: 03: 0f: 01: 0e: 30
Bridge Times : Max Age 20, Hello Time 2, Forward Delay 15
Force Version: 3
########################### Instance 0 ###########################
Self Bridge Id : 32768 - 00: 03: 0f: 01: 0e: 30
Root Id : 16384.00: 03: 0f: 01: 0f: 52
Ext.RootPathCost : 200000
Region Root Id : this switch
Int.RootPathCost : 0