求配置MSTP的代码

作者:思科培训 来源:来自网络 发布时间:09-12-21

学员提问:

求配置MSTP的代码

 

捷盈讲师及学员解答:

Specifying the MST Region Configuration and Enabling MSTP
For two or more switches to be in the same MST region, they must have the same VLAN-to-instancemapping, the same configuration revision number, and the same name.A region can have one member or multiple members with the same MST configuration; each member must be capable of processing RSTP BPDUs. There is no limit to the number of MST regions in a network, but each region can support up to 16 spanning-tree instances. You can assign a VLAN to only one spanning-tree instance at a time.
Beginning in privileged EXEC mode, follow these steps to specify the MST region configuration and enable MSTP. This procedure is required.
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
######################################3
Command Purpose
Step 1 configure terminal      !##Enter global configuration mode.
Step 2 spanning-tree mst configuration   !##Enter MST configuration mode.
Step 3 instance instance-id vlan vlan-range !##Map VLANs to an MST instance.
Step 4 name name   !##Specify the configuration name. The name string has a aximum 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 nfiguration.
Step 7 exit           !##Apply all changes, and return to global configuration mode.
Step 8 spanning-tree mode mst       !##Enable MSTP. RSTP is also enabled.
Step 9 end           !##Return to privileged EXEC mode.