1-17
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring MSTP
Configuring MSTP Features
To return to the default MST region configuration, use the
no spanning-tree mst configuration
global
configuration command. To return to the default VLAN-to-instance map, use the
no instance
instance-id
[
vlan
vlan-range
] MST configuration command. To return to the default name, use the
no
name
MST
configuration command. To return to the default revision number, use the
no revision
MST configuration
command. To re-enable PVST+, use the
no spanning-tree mode
or the
spanning-tree mode pvst
global
configuration command.
This example shows how to enter MST configuration mode, map VLANs 10 to 20 to MST instance 1,
name the region
region1
, set the configuration revision to 1, display the pending configuration, apply the
changes, and return to global configuration mode:
Switch(config)#
spanning-tree mst configuration
Switch(config-mst)#
instance 1 vlan 10-20
Switch(config-mst)#
name region1
Switch(config-mst)#
revision 1
Switch(config-mst)#
show pending
Pending MST configuration
Name [region1]
Revision 1
Step 3
instance
instance-id
vlan
vlan-range
Map VLANs to an MST instance.
•
For
instance-id
, the range is 0 to 4094.
•
For
vlan
vlan-range
, the range is 1 to 4094.
When you map VLANs to an MST instance, the mapping is
incremental, and the VLANs specified in the command are added to
or removed from the VLANs that were previously mapped.
To specify a VLAN range, use a hyphen; for example,
instance 1 vlan
1-63
maps VLANs 1 through 63 to MST instance 1.
To specify a VLAN series, use a comma; for example,
instance 1 vlan 10,
20, 30
maps VLANs 10, 20, and 30 to MST instance 1.
Step 4
name
name
Specify the configuration name. The
name
string has a maximum length
of 32 characters and is case sensitive.
Step 5
revision
version
Specify the configuration revision number. The range is 0 to 65535.
Step 6
show pending
Verify your configuration by displaying the pending configuration.
Step 7
exit
Apply all changes, and return to global configuration mode.
Step 8
spanning-tree mode mst
Enable MSTP. RSTP is also enabled.
Caution
Changing spanning-tree modes can disrupt traffic because all
spanning-tree instances are stopped for the previous mode and
restarted in the new mode.
You cannot run both MSTP and PVST+ or both MSTP and rapid PVST+
at the same time.
Step 9
end
Return to privileged EXEC mode.
Step 10
show running-config
Verify your entries.
Step 11
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Summary of Contents for Catalyst 3560-X Series
Page 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Page 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...