www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / SWITCH / Module 4 / Advanced STP – Implementing and Verifying MST

Advanced STP – Implementing and Verifying MST

The configuration of MST is a straightforward task. The following steps are required to configure and implement MST:

  1. Enter MST configuration mode by issuing the spanning-tree mst configuration configuration global configuration command on the switch.
  2. Specify the MST Region name via the name [name] MST configuration mode command. The [name] string has a maximum length of 32 characters and is case sensitive.
  3. Specify the Configuration Revision Number via the revision [number] MST configuration mode command. The range is 0 to 65,535.
  4. Map VLANs to an MISTP via the instance [number] id vlan [range] MST configuration mode command. When specifying the Instance, the [number] range is 1 to 15 and for VLAN(s) mapped to an Instance, the[range] is 1 to 4,094.
  5. Enable MST via the spanning-tree mode mst global configuration command. By default, RSTP is also enabled when this command is executed on the switch.

This section illustrates the configuration steps for MST on Cisco Catalyst Switches based on the switched network topology illustrated below in Figure 4-28:

MST Configuration Lab Topology
Fig. 4-28. MST Configuration Lab Topology

The VLANs configured on Switch 1 are illustrated below in the following output:

Switch-1#show vlan briefVLAN Name                           Status    Ports
—- —————————— ——— ——————————-
1    default                        active    Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Gi0/1, Gi0/2
10   Test-VLAN-10                   active    Fa0/24
20   Test-VLAN-20                   active
30   Test-VLAN-30                   active    Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23
40   Test-VLAN-40                   active
50   Test-VLAN-50                   active
60   Test-VLAN-60                   active
70   Test-VLAN-70                   active
80   Test-VLAN-80                   active
1002 fddi-default                   active
1003 token-ring-default             active
1004 fddinet-default                active
1005 trnet-default                  active

The VLANs configured on Switch 2 are illustrated below in the following output:

Switch-2#show vlan briefVLAN Name                           Status    Ports
—- —————————— ——— ——————————-
1    default                        active    Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Fa0/25, Fa0/26
Fa0/27, Fa0/28, Fa0/29, Fa0/30
Fa0/31, Fa0/32, Fa0/33, Fa0/34
Fa0/35, Fa0/36, Fa0/37, Fa0/38
Fa0/39, Fa0/40, Fa0/41, Fa0/42
Fa0/43, Fa0/44, Fa0/45, Fa0/46
Fa0/47, Fa0/48, Gi0/1, Gi0/2
10   Test-VLAN-10                   active
20   Test-VLAN-20                   active
30   Test-VLAN-30                   active
40   Test-VLAN-40                   active
50   Test-VLAN-50                   active
60   Test-VLAN-60                   active
70   Test-VLAN-70                   active
80   Test-VLAN-80                   activeVLAN Name                           Status    Ports
—- —————————— ——— ——————————-
1002 fddi-default                   act/unsup
1003 token-ring-default             act/unsup
1004 fddinet-default                act/unsup
1005 trnet-default                  act/unsup

MST will be configured on both switches as follows:

  • The MST Region Name will be SWITCH-Exam-MST-Region
  • The Configuration Revision Number will be 0
  • VLANs 10, 20, 30, and 40 will be mapped to MST Instance # 1
  • VLANs 50, 60, 70, and 80 will be mapped to MST Instance # 2

The following output illustrates how to configure MST on Switch 1 based on the guidelines above:

Switch-1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch-1(config)#spanning-tree mst configuration
Switch-1(config-mst)#name SWITCH-Exam-MST-Region
Switch-1(config-mst)#revision 0
Switch-1(config-mst)#instance 1 vlan 10, 20, 30, 40
Switch-1(config-mst)#instance 2 vlan 50, 60, 70, 80
Switch-1(config-mst)#exit
Switch-1(config)#spanning-tree mode mst
Switch-1(config)#exit

The following output illustrates how to configure MST on Switch 2 based on the guidelines above:

Switch-2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch-2(config)#spanning-tree mst configuration
Switch-2(config-mst)#name SWITCH-Exam-MST-Region
Switch-2(config-mst)#revision 0
Switch-2(config-mst)#instance 1 vlan 10, 20, 30, 40
Switch-2(config-mst)#instance 2 vlan 50, 60, 70, 80
Switch-2(config-mst)#exit
Switch-2(config)#spanning-tree mode mst
Switch-2(config)#exit

The initial (first) step in verifying MST configuration is to issue the show spanning-tree mst configuration command. This command prints the Region Name, Configuration Revision Number, and the default MISTP (IST; Instance 0), as well as any manually configured Instances. This information is illustrated below in the following output:

Switch-1#show spanning-tree mst configuration
Name      [SWITCH-Exam-MST-Region] Revision  0
Instance  Vlans mapped
——–  ——————————————————————-
0         1-9,11-19,21-29,31-39,41-49,51-59,61-69,71-79,81-4094
1         10,20,30,40
2         50,60,70,80
—————————————————————————–

 

In the output above, any VLAN not explicitly mapped to an MISTP is automatically mapped to Instance 0 (CST). This is the default operation of MST.

Additional MST Configuration Commands

All MST configuration commands are initiated by issuing the spanning-tree mst global configuration command. The following output shows the options available with this command:

Switch-1(config)#spanning-tree mst ?
WORD           MST instance range, example: 0-3,5,7-9
configuration  Enter MST configuration submode
forward-time   Set the forward delay for the spanning tree
hello-time     Set the hello interval for the spanning tree
max-age        Set the max age interval for the spanning tree
max-hops       Set the max hops value for the spanning tree

The same configuration logic used when configuring STP or RSTP is also applicable when configuring MST. For example, to configure a switch as the Root for an MISTP, the spanning-tree mst [instance] [root|priority]command is used. This is illustrated below in the following output:

Switch-1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch-1(config)#spanning-tree mst 1 root primary
Switch-1(config)#spanning-tree mst 2 priority 4096
Switch-1(config)#exit

Verifying MST Operation

The show spanning-tree mst command is used to validate MST operation. The options available with this command are illustrated in the following output:

Switch-1#show spanning-tree mst ?
WORD           MST instance list, example 0,2-4,6,8-12
configuration  MST current region configuration
detail         show detailed information
interface      Spanning tree interface status and configuration
|              Output modifiers
<cr>

The show spanning-tree mst [word] command prints out information pertaining to a specific MISTP. The following output illustrates how to view information on Instance 1 using the show spanning-tree mst [word] command:

Switch-1#show spanning-tree mst 1###### MST01        vlans mapped:   10,20,30,40
Bridge      address 000d.bd06.4100  priority  32769 (32768 sysid 1)
Root        this switch for MST01Interface        Role Sts Cost      Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/1            Desg FWD 200000    128.1    P2p
Fa0/2            Desg FWD 200000    128.2    P2p

This command can also be used with the [detail] and [interface] keywords, which print out detailed information or information pertaining to a specific interface, respectively. The following output shows the information printed by the show spanning-tree mst [word] detail command, which includes the number of M-records sent and received (in bold text):

Switch-1#show spanning-tree mst 1 detail###### MST01        vlans mapped:   10,20,30,40
Bridge      address 000d.bd06.4100  priority  32769 (32768 sysid 1)
Root        this switch for MST01FastEthernet0/1 of MST01 is designated forwarding
Port info           port id          128.1  priority    128  cost      200000
Designated root     address 000d.bd06.4100  priority  32769  cost           0
Designated bridge   address 000d.bd06.4100  priority  32769  port id    128.1
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 699, received 4FastEthernet0/2 of MST01 is designated forwarding
Port info           port id          128.2  priority    128  cost      200000
Designated root     address 000d.bd06.4100  priority  32769  cost           0
Designated bridge   address 000d.bd06.4100  priority  32769  port id    128.2
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 700, received 1

NOTE: Keep in mind that you will not see M-records for Instance 0. This means that the output for this same command, if used to view information about Instance 0, would show only BPDUs sent and received, as illustrated in the following output:

Switch-1#show spanning-tree mst 0 detail###### MST00        vlans mapped:   1-9,11-19,21-29,31-39,41-49,51-59
61-69,71-79,81-4094
Bridge      address 000d.bd06.4100  priority  32768 (32768 sysid 0)
Root        this switch for CST and IST
Configured  hello time 2, forward delay 15, max age 20, max hops 20FastEthernet0/1 of MST00 is designated forwarding
Port info             port id          128.1  priority    128  cost    200000
Designated root       address 000d.bd06.4100  priority  32768  cost         0
Designated ist master address 000d.bd06.4100  priority  32768  cost         0
Designated bridge     address 000d.bd06.4100  priority  32768  port id  128.1
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 781, received 86FastEthernet0/2 of MST00 is designated forwarding
Port info             port id          128.2  priority    128  cost    200000
Designated root       address 000d.bd06.4100  priority  32768  cost         0
Designated ist master address 000d.bd06.4100  priority  32768  cost         0
Designated bridge     address 000d.bd06.4100  priority  32768  port id  128.2
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 782, received 43

The show spanning-tree mst interface [name] [detail] command prints information that pertains to the specified MST interface. This includes information on whether the port is an edge, boundary, or simply an internal port. This command also prints information about several STP features, such as BPDU Guard, Port Cost, Port ID, and BPDUs sent (Instance 0), or M-records sent and received (all other Instances). This is illustrated in the following output:

Switch-1#show spanning-tree mst interface fastethernet 0/1 detail
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)FastEthernet0/1 of MST00 is designated forwarding
Vlans mapped to MST00 1-9,11-19,21-29,31-39,41-49,51-59,61-69,71-79,81-4094
Port info             port id          128.1  priority    128  cost    200000
Designated root       address 000d.bd06.4100  priority  32768  cost         0
Designated ist master address 000d.bd06.4100  priority  32768  cost         0
Designated bridge     address 000d.bd06.4100  priority  32768  port id  128.1
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 1026, received 86FastEthernet0/1 of MST01 is designated forwarding
Vlans mapped to MST01 10,20,30,40
Port info             port id          128.1  priority    128  cost    200000
Designated root       address 000d.bd06.4100  priority  32769  cost         0
Designated bridge     address 000d.bd06.4100  priority  32769  port id  128.1
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 1026, received 4FastEthernet0/1 of MST02 is designated forwarding
Vlans mapped to MST02 50,60,70,80
Port info             port id          128.1  priority    128  cost    200000
Designated root       address 000d.bd06.4100  priority  32770  cost         0
Designated bridge     address 000d.bd06.4100  priority  32770  port id  128.1
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 1027, received 4

Debugging MST

While debugging should always be considered a last-resort option, it is still important that you are familiar with the commands available to debug MST operation. In Cisco IOS, MST debugging is enabled via the debug spanning-tree mstp command. The options available with this command are printed in the following output:

Switch-1#debug spanning-tree mstp ?
all           All MSTP Switch debugging messages
boundary      boundary flag changes
bpdu-rx       Received BPDUs
bpdu-tx       Transmitted BPDUs
errors        MST Protocol errors
flush         Port flushing mechanism
init          MSTP Data Structures initializations
migration     protocol migration state machine
pm            MST Port manager debugging
proposals     designated<–>root handshakes
region        Region sync between SP and RP
roles         MST Protocol roles
sanity_check  Received BPDU sanity check messages
sync          Port sync
tc            Topology change notification
timers        MSTP timers start/stop/expire events

NOTE: Troubleshooting and debugging advanced STP will be covered in detail in the TSHOOT certification exam. It is not a requirement of the SWITCH exam and will not be described in any greater detail in this chapter or for the remainder of this guide.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.