Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
18-30
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 18 Configuring STP and MST
Configuring MST
This example show how to enable MST:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# spanning-tree mode mst
Switch(config)# spanning-tree mst configuration
Switch(config-mst)# show current
Current MST configuration
Name []
Revision 0
Instance Vlans mapped
-------- ---------------------------------------------------------------------
0 1-4094
-------------------------------------------------------------------------------
Switch(config-mst)# name cisco
Switch(config-mst)# revision 2
Switch(config-mst)# instance 1 vlan 1
Switch(config-mst)# instance 2 vlan 1-1000
Switch(config-mst)# show pending
Pending MST configuration
Name [cisco]
Revision 2
Instance Vlans mapped
-------- ---------------------------------------------------------------------
0 1001-4094
2 1-1000
-------------------------------------------------------------------------------
Switch(config-mst)# no instance 2
Switch(config-mst)# show pending
Pending MST configuration
Name [cisco]
Revision 2
Instance Vlans mapped
-------- ---------------------------------------------------------------------
0 1-4094
-------------------------------------------------------------------------------
Step 2
Switch(config)# spanning-tree mst configuration
Enters MST configuration submode.
Use the no keyword to clear the MST configuration.
Step 3
Switch(config-mst)# show current
Displays the current MST configuration.
Step 4
Switch(config-mst)# name name
Sets the MST region name.
Step 5
Switch(config-mst)# revision revision_number
Sets the MST configuration revision number.
Step 6
Switch(config-mst)# instance instance_number vlan
vlan_range
Maps the VLANs to an MST instance.
If you do not specify the vlan keyword, use the no
keyword to unmap all the VLANs that were mapped to an
MST instance.
If you specify the vlan keyword, use the no keyword to
unmap a specified VLAN from an MST instance.
Step 7
Switch(config-mst)# show pending
Displays the new MST configuration to be applied.
Step 8
Switch(config-mst)# end
Applies the configuration and exit MST configuration
submode.
Step 9
Switch# show spanning-tree mst configuration
Displays the current MST configuration.
Command Purpose