CCNA Live Demo in Hindi!
CCNA Live Demo in Hindi!
Starts NOV 8th @10 AM IST | Hands-On Lab Access | By Gautam Sharma
Day
Hr
Min
Sec
Register for Free!
USD ($)
$
United States Dollar
India Rupee

MST and Rapid Spanning Tree

Lesson 33/41 | Study Time: 60 Min
MST and Rapid Spanning Tree

Task 

● Configure Multiple Spanning-Tree on SW1 - SW4 as follows: 

● Use region named MST and a revision of 1. 

● Instance 1 should service VLANs 1 - 100. 

● Instance 2 should service VLANs 101 - 200. 

● Configure PortFast on SW1's Ethernet0/1 so that it immediately begins forwarding when enabled. 

Explanation

When MST is enabled, Rapid Spanning-Tree Protocol (RSTP) is automatically enabled. RSTP is an IEEE standard defined in 802.1w that speeds up convergence through a reliable handshaking process.

RSTP defines new port roles to automatically allow for the functionality built into Cisco proprietary features such as PortFast and UplinkFast.RSTP Edge ports behave the same as PVST PortFast-enabled ports.

However, to maintain backwardcompatible configurations, Cisco’s implementation of RSTP does not automatically elect edge ports as the standard suggests. Instead, a port must be configured as an edge port with the spanning-tree portfast command: 

SW1

show spanning-tree interface Ethernet0/1

Mst Instance        Role Sts Cost      Prio.Nbr Type 

------------------- ---- --- --------- -------- -------------------------------- 

MST0                Desg FWD 200000    128.3    P2p Edge 

MST1                Desg FWD 200000    128.3    P2p Edge 

show spanning-tree mst interface Ethernet0/1

Ethernet0/1 of MST0 is designated forwarding  

Edge port: edge           (enable)         port guard : none        (default) 

Link type: point-to-point (auto)           bpdu filter: disable     (default) 

Boundary : internal                        bpdu guard : disable     (default) 

Bpdus sent 2954, received 0 

Instance Role Sts Cost      Prio.Nbr Vlans mapped 

-------- ---- --- --------- -------- ------------------------------- 

0        Desg FWD 200000    128.3    none 

1        Desg FWD 200000    128.3    1-100 


show spanning-tree interface Ethernet0/1 portfast

MST0                enabled 

MST1                enabled 

If there were a device connected to Ethernet0/1 such as a hypervisor that could tag frames with dot1q tags, we could configure this port as a trunk port and also configure it as an Edge port. This will ensure that it immediately begins forwarding when enabled for all VLANs being trunked: 

SW1

configure terminal

Enter configuration commands, one per line.  End with CNTL/Z. 

interface Ethernet0/1
switchport trunk encapsulation dot1q 
switchport mode trunk
spanning-tree portfast trunk 

%Warning: portfast should only be enabled on ports connected to a single 

 host. Connecting hubs, concentrators, switches, bridges, etc... to this 

 interface  when portfast is enabled, can cause temporary bridging loops. 

 Use with CAUTION 

SW1

show spanning-tree interface Ethernet0/1 

Mst Instance        Role Sts Cost      Prio.Nbr Type 

------------------- ---- --- --------- -------- -------------------------------- 

MST0                Desg FWD 200000    128.3    P2p Edge 

MST1                Desg FWD 200000    128.3    P2p Edge 

MST2                Desg FWD 200000    128.3    P2p Edge 

show spanning-tree mst interface Ethernet0/1 

Edge port: edge           (trunk)          port guard : none        (default) 

Link type: point-to-point (auto)           bpdu filter: disable     (default) 

Boundary : internal                        bpdu guard : disable     (default) 

Bpdus sent 9, received 0 

Instance Role Sts Cost      Prio.Nbr Vlans mapped 

-------- ---- --- --------- -------- ------------------------------- 

0        Desg FWD 200000    128.3    none 

1        Desg FWD 200000    128.3    1-100 

2        Desg FWD 200000    128.3    101-200 

SW1

show spanning-tree interface Ethernet0/1 portfast

MST0                enabled 

MST1                enabled 

MST2                enabled 

Configuration

SW1 - SW4: 

spanning-tree mst configuration 
name MST1 
revision 1
instance 1 vlan 1-100
instance 2 vlan 101-200 
!
spanning-tree mode mst 

SW1

interface Ethernet0/1 
spanning-tree portfast