This example shows the output of show spanning-tree mst configuration, which displays the VLAN ID to
MSTI mapping table. It also displays the configuration digest which is included in the transmitted BPDUs—this
must match the digest received from other bridges in the same MSTP region:
# show spanning-tree mst a configuration
Name leo
Revision 2702
Config Digest 9D-14-5C-26-7D-BE-9F-B5-D8-93-44-1B-E3-BA-08-CE
Instance Vlans mapped
-------- -------------------------------
0 1-9,11-19,21-29,31-39,41-4094
1 10,20,30,40
------------------------------------------
This example shows the output of show spanning-tree mst, which produces details on the BPDUs being
output and received on a given local interface:
Several received packets can be stored in case of MSTP operating on a shared LAN.
Note
# show spanning-tree mst a bpdu interface GigabitEthernet0/1/2/2 direction
transmit
MSTI 0 (CIST):
Root ID : 0004.9b78.0800
Path Cost : 83
Bridge ID : 0004.9b78.0800
Port ID : 12
Hello Time : 2
...
This example shows the output of show spanning-tree mst, which displays details about the topology changes
that have occurred for each MSTI on each interface:
# show spanning-tree mst M topology-change flushes instance$
MSTI 1:
Interface Last TC Reason Count
------------ -------------------- -------------------------------- -----
Te0/0/0/1 04:16:05 Mar 16 2010 Role change: DSGN to ---- 10
#
#
# show spanning-tree mst M topology-change flushes instance$
MSTI 0 (CIST):
Interface Last TC Reason Count
------------ -------------------- -------------------------------- -----
Te0/0/0/1 04:16:05 Mar 16 2010 Role change: DSGN to ---- 10
#
Configuring MSTAG: Examples
This example shows MSTAG configuration for a single spanning-tree instance on a single interface:
config
interface GigabitEthernet0/0/0/0.1 l2transport
encapsulation untagged
!
spanning-tree mstag example
preempt delay for 60 seconds
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
455
Implementing Multiple Spanning Tree Protocol
Configuring MSTAG: Examples