User Tools

Site Tools


tech:network:cisco:stp:mstp:mstp

MSTP

Topology

Base Configuration

  • SW1
configure terminal
!
vlan 2-6
exit
!
interface FastEthernet 1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • SW2
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • SW3
configure terminal
!
vlan 2-6
exit
!
interface FastEthernet 1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • ASW1
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.1 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.1 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.1 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.1 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.1 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.1 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
  • ASW2
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.2 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.2 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.2 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.2 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.2 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.2 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
show ip interface brief
show vlan brief
SW1#sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/4, Fa1/0/5
                                                Fa1/0/6, Fa1/0/7, Fa1/0/8
                                                Fa1/0/9, Fa1/0/10, Fa1/0/11
                                                Fa1/0/12, Fa1/0/13, Fa1/0/14
                                                Fa1/0/15, Fa1/0/16, Fa1/0/17
                                                Fa1/0/18, Fa1/0/19, Fa1/0/20
                                                Fa1/0/21, Fa1/0/22, Fa1/0/23
                                                Fa1/0/24, Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW3#sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/2, Fa1/0/4, Fa1/0/5
                                                Fa1/0/6, Fa1/0/7, Fa1/0/8
                                                Fa1/0/9, Fa1/0/10, Fa1/0/11
                                                Fa1/0/12, Fa1/0/13, Fa1/0/14
                                                Fa1/0/15, Fa1/0/16, Fa1/0/17
                                                Fa1/0/18, Fa1/0/19, Fa1/0/20
                                                Fa1/0/21, Fa1/0/22, Fa1/0/23
                                                Fa1/0/24, Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 

PVST+ 802.1d

  • SW1
configure terminal
!
spanning-tree vlan 1-3 priority 0
spanning-tree vlan 4-6 priority 4096
!
end
  • SW2
configure terminal
!
spanning-tree vlan 1-3 priority 4096
spanning-tree vlan 4-6 priority 0
!
end

Verification

show spanning-tree vlan 1
show spanning-tree vlan 4
SW1#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 

SW2#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 


SW2#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 

SW3#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


SW3#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Altn BLK 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 

  • ASW1
ping 172.16.1.2 source 172.16.1.1 repeat 100000
  • ASW2
ping 172.16.4.1 source 172.16.4.2 repeat 100000
debug spanning-tree events 
show spanning-tree vlan 1,4
SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#interface FastEthernet 1/0/3
SW1(config-if)#swi
SW1(config-if)#switchport tru
SW1(config-if)#switchport trunk enca
SW1(config-if)#switchport trunk encapsulation D   
SW1(config-if)#switchport trunk encapsulation ?     
  dot1q      Interface uses only 802.1q trunking encapsulation when trunking
  isl        Interface uses only ISL trunking encapsulation when trunking
  negotiate  Device will negotiate trunking encapsulation with peer on
             interface

SW1(config-if)#switchport trunk encapsulation dot1
SW1(config-if)#switchport trunk encapsulation dot1q 
SW1(config-if)#swi
SW1(config-if)#switchport mo
SW1(config-if)#switchport mode tru
SW1(config-if)#switchport mode trunk 
SW1(config-if)#
*Mar  1 01:03:06.693: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
SW1(config-if)#
*Mar  1 01:03:09.704: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to up
SW1(config-if)#swi
SW1(config-if)#switchport non
SW1(config-if)#switchport nonegotiate 
SW1(config-if)#exit
SW1(config)#spa
SW1(config)#spanning-tree vla
SW1(config)#spanning-tree vlan 1-3 pri
SW1(config)#spanning-tree vlan 1-3 priority 0
SW1(config)#sp
SW1(config)#spanning-tree vla
SW1(config)#spanning-tree vlan 3-
SW1(config)#spanning-tree vlan 3-6 pri
SW1(config)#spanning-tree vlan 3-6 priority 40
SW1(config)#spanning-tree vlan 3-6 priority 4096
SW1(config)#no spanning-tree vlan 3-6 priority 4096
SW1(config)#spanning-tree vlan 4-6 priority 4096   
SW1(config)#do sh run | i spanning
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1-2 priority 0
spanning-tree vlan 4-6 priority 4096
SW1(config)#no spanning-tree vlan 1-2 priority 0   
SW1(config)#spanning-tree vlan 1-3 priority 0   
SW1(config)#do sh run | i spanning              
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1-3 priority 0
spanning-tree vlan 4-6 priority 4096
SW1(config)#^Z
SW1#sh 
*Mar  1 01:07:38.743: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh spa
SW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#vlan 2-6 
SW1(config-vlan)#exit
SW1(config)#^Z
SW1#
*Mar  1 01:07:59.606: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh spa
SW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


          
VLAN0002
  Spanning tree enabled protocol ieee
  Root ID    Priority    2
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    2      (priority 0 sys-id-ext 2)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg LRN 19        128.5    P2p 


          
VLAN0003
  Spanning tree enabled protocol ieee
  Root ID    Priority    3
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    3      (priority 0 sys-id-ext 3)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg LRN 19        128.5    P2p 


          
VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4100
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg LRN 19        128.5    P2p 


          
VLAN0005
  Spanning tree enabled protocol ieee
  Root ID    Priority    4101
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4101   (priority 4096 sys-id-ext 5)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg LRN 19        128.5    P2p 


          
VLAN0006
  Spanning tree enabled protocol ieee
  Root ID    Priority    4102
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4102   (priority 4096 sys-id-ext 6)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4100
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#swi
SW1#conf t 
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int range fas
SW1(config)#int range fastEthernet 1/0/1-2
SW1(config-if-range)#swi
SW1(config-if-range)#switchport tru
SW1(config-if-range)#switchport trunk enca
SW1(config-if-range)#switchport trunk encapsulation dot
SW1(config-if-range)#switchport trunk encapsulation dot1q 
SW1(config-if-range)#swi
SW1(config-if-range)#switchport mo
SW1(config-if-range)#switchport mode tru
SW1(config-if-range)#switchport mode trunk 
SW1(config-if-range)#swi
SW1(config-if-range)#switchport no
SW1(config-if-range)#switchport nonegotiate 
*Mar  1 01:10:39.644: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
*Mar  1 01:10:39.652: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW1(config-if-range)#switchport nonegotiate n
SW1(config-if-range)#switchport nonegotiate  
SW1(config-if-range)#
*Mar  1 01:10:42.672: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
*Mar  1 01:10:42.697: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1(config-if-range)#^Z
SW1#
*Mar  1 01:11:20.144: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh spa
SW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


          
SW1#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#debug spa
SW1#debug spanning-tree even
SW1#debug spanning-tree events 
Spanning Tree event debugging is on
SW1#
*Mar  1 01:26:43.629: STP: VLAN0001 we are the spanning tree root
*Mar  1 01:26:43.629: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:26:43.629: STP: VLAN0002 we are the spanning tree root
*Mar  1 01:26:43.629: STP[2]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:26:43.629: STP: VLAN0003 we are the spanning tree root
*Mar  1 01:26:43.629: STP[3]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:26:43.637: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*
SW1#Mar  1 01:26:43.637: STP[4]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:26:43.637: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:26:43.637: STP[5]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:26:43.637: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:26:43.637: STP[6]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:26:44.627: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
*Mar  1 01:26:45.
SW1#651: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
*Mar  1 01:26:45.659: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
*Mar  1 01:26:45.659: STP: VLAN0002 Topology Change rcvd on Fa1/0/1
*Mar  1 01:26:45.659: STP: VLAN0003 Topology Change rcvd on Fa1/0/1
SW1#
*Mar  1 01:27:13.669: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
*Mar  1 01:27:13.669: STP: VLAN0002 Topology Change rcvd on Fa1/0/1
*Mar  1 01:27:13.669: STP: VLAN0003 Topology Change rcvd on Fa1/0/1
SW1#sh span vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh span vlan 2

VLAN0002
  Spanning tree enabled protocol ieee
  Root ID    Priority    2
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    2      (priority 0 sys-id-ext 2)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh span vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#
*Mar  1 01:30:36.480: set portid: VLAN0002 Fa1/0/2: new port id 8004
*Mar  1 01:30:36.480: STP: VLAN0002 Fa1/0/2 -> listening
*Mar  1 01:30:36.480: set portid: VLAN0003 Fa1/0/2: new port id 8004
*Mar  1 01:30:36.480: STP: VLAN0003 Fa1/0/2 -> listening
*Mar  1 01:30:36.488: set portid: VLAN0004 Fa1/0/2: new port id 8004
*Mar  1 01:30:36.488: STP: VLAN0004 Fa1/0/2 -> listening
*Mar  1 01:30:36.488: set portid: VLAN0005 Fa1/0/2: new port id 8004
*Mar  1 01:30:36.488: STP: VLAN0005 Fa1/0/2 -> listenin
SW1#g
*Mar  1 01:30:36.488: set portid: VLAN0006 Fa1/0/2: new port id 8004
*Mar  1 01:30:36.488: STP: VLAN0006 Fa1/0/2 -> listening
*Mar  1 01:30:36.488: set portid: VLAN0001 Fa1/0/2: new port id 8004
*Mar  1 01:30:36.488: STP: VLAN0001 Fa1/0/2 -> listening
*Mar  1 01:30:37.487: STP: VLAN0002 Topology Change rcvd on Fa1/0/2
*Mar  1 01:30:37.487: STP: VLAN0003 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:30:37.763: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:30:38.460: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 01:30:39.466: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#
*Mar  1 01:30:51.487: STP: VLAN0002 Fa1/0/2 -> learning
*Mar  1 01:30:51.487: STP: VLAN0003 Fa1/0/2 -> learning
*Mar  1 01:30:51.496: STP: VLAN0004 Fa1/0/2 -> learning
*Mar  1 01:30:51.496: STP: VLAN0005 Fa1/0/2 -> learning
*Mar  1 01:30:51.496: STP: VLAN0006 Fa1/0/2 -> learning
*Mar  1 01:30:51.496: STP: VLAN0001 Fa1/0/2 -> learning
SW1#sh span vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Co
*Mar  1 01:31:06.494: STP[2]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:31:06.494: STP: VLAN0002 Fa1/0/2 -> forwarding
*Mar  1 01:31:06.494: STP[3]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:31:06.494: STP: VLAN0003 Fa1/0/2 -> forwarding
*Mar  1 01:31:06.503: STP[4]: Generating TC trap st      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#for port FastEthernet1/0/2
*Mar  1 01:31:06.503: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:31:06.503: STP: VLAN0004 Fa1/0/2 -> forwarding
*Mar  1 01:31:06.503: STP[5]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:31:06.503: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:31:06.503: STP: VLAN0005 Fa1/0/2 -> forwarding
*Mar  1 01:31:06.503: STP[6]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:31:06.503: STP: VLAN0006 sent Topology Change No
SW1#tice on Fa1/0/1
*Mar  1 01:31:06.503: STP: VLAN0006 Fa1/0/2 -> forwarding
*Mar  1 01:31:06.503: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:31:06.503: STP: VLAN0001 Fa1/0/2 -> forwarding
*Mar  1 01:31:06.511: STP: VLAN0002 Topology Change rcvd on Fa1/0/2
*Mar  1 01:31:06.511: STP: VLAN0003 Topology Change rcvd on Fa1/0/2
*Mar  1 01:31:06.511: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
SW1#sh span vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#
*Mar  1 01:32:38.316: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
*Mar  1 01:32:38.316: STP: VLAN0002 Topology Change rcvd on Fa1/0/1
*Mar  1 01:32:38.316: STP: VLAN0003 Topology Change rcvd on Fa1/0/1
SW1#
*Mar  1 01:32:40.262: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:32:40.262: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:32:40.262: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:32:40.262: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:32:40.262: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
*Mar  1 01:32:40.262: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
SW1#
*Mar  1 01:33:08.263: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:33:08.263: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:33:08.263: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:33:08.263: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:33:08.263: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
*Mar  1 01:33:08.263: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
SW1#sh spann
SW1#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh spanning-tree vlan 5

VLAN0005
  Spanning tree enabled protocol ieee
  Root ID    Priority    5
             Address     c08c.6045.5200
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4101   (priority 4096 sys-id-ext 5)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#
*Mar  1 01:35:58.947: STP: VLAN0002 Topology Change rcvd on Fa1/0/1
*Mar  1 01:35:58.947: STP: VLAN0003 Topology Change rcvd on Fa1/0/1
*Mar  1 01:35:58.955: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#sh spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#
*Mar  1 01:38:01.269: STP: VLAN0001 we are the spanning tree root
*Mar  1 01:38:01.269: STP[1]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:38:01.269: STP: VLAN0002 we are the spanning tree root
*Mar  1 01:38:01.269: STP[2]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:38:01.278: STP: VLAN0003 we are the spanning tree root
*Mar  1 01:38:01.278: STP[3]: Generating TC trap for port FastEthernet1/0/1
SW1#
*Mar  1 01:38:02.267: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
*Mar  1 01:38:03.291: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW1#
*Mar  1 01:38:03.299: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:03.299: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:03.299: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:05.312: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:05.321: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:05.321: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:07.309: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:07.309: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:07.309: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:09.314: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:09.314: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:09.314: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:11.319: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:11.319: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:11.319: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:13.324: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:13.324: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:13.324: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:15.328: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:15.328: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:15.328: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:17.333: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:17.333: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:17.333: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:18.315: STP: VLAN0004 heard root 32772-dc7b.948d.f700 on Fa1/0/2
SW1#
*Mar  1 01:38:18.340: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:18.390: STP: VLAN0005 heard root 32773-dc7b.948d.f700 on Fa1/0/2
*Mar  1 01:38:18.390: STP: VLAN0006 heard root 32774-dc7b.948d.f700 on Fa1/0/2
SW1#
*Mar  1 01:38:19.347: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:19.347: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 01:38:31.309: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:31.309: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:38:31.309: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW1#sh spanning-tree vlan 1,4

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4100
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4100   (priority 4096 sys-id-ext 4)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW1#
SW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#int f1/0/3
SW2(config-if)#swi
SW2(config-if)#switchport mo
SW2(config-if)#switchport tru  
SW2(config-if)#switchport trunk en
SW2(config-if)#switchport trunk encapsulation dot
SW2(config-if)#switchport trunk encapsulation dot1q 
SW2(config-if)#swi
SW2(config-if)#switchport mo
SW2(config-if)#switchport mode tru
SW2(config-if)#switchport mode trunk 
SW2(config-if)#
*Mar  1 01:03:11.029: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
SW2(config-if)#
*Mar  1 01:03:14.049: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to up
SW2(config-if)#swi
SW2(config-if)#switchport none
SW2(config-if)#switchport nonegotiate 
SW2(config-if)#spa
SW2(config-if)#spanning-tree vla
SW2(config-if)#spanning-tree vlan 1-3 pr
SW2(config-if)#spanning-tree vlan 1-3 pri 
SW2(config-if)#exit                       
SW2(config)#spa
SW2(config)#spanning-tree vla
SW2(config)#spanning-tree vlan 1-3 pri
SW2(config)#spanning-tree vlan 1-3 priority 4096
SW2(config)#sp
SW2(config)#spanning-tree vla
SW2(config)#spanning-tree vlan 4-6 pri
SW2(config)#spanning-tree vlan 4-6 priority 0
SW2(config)#^Z
SW2#
*Mar  1 01:07:38.140: %SYS-5-CONFIG_I: Configured from console by console
SW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#vlan 1-6
SW2(config-vlan)#exit
SW2(config)#exit
SW2#
*Mar  1 01:08:11.233: %SYS-5-CONFIG_I: Configured from console by console
SW2#sh sap
SW2#sh spa
SW2#sh spanning-tree 4

Spanning tree instance(s) for bridge 4 does not exist.

SW2#sh spanning-tree 4

Spanning tree instance(s) for bridge 4 does not exist.

SW2#sh spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW2#
*Mar  1 01:10:40.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW2#
*Mar  1 01:10:43.612: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#swi
SW2(config)#int ran f1/0/1-2
SW2(config-if-range)#swi
SW2(config-if-range)#switchport mo
SW2(config-if-range)#switchport tru  
SW2(config-if-range)#switchport trunk enca
SW2(config-if-range)#switchport trunk encapsulation dot
SW2(config-if-range)#switchport trunk encapsulation dot1q 
SW2(config-if-range)#swi
SW2(config-if-range)#switchport mo
SW2(config-if-range)#switchport mode tru
SW2(config-if-range)#switchport mode trunk 
SW2(config-if-range)#swi
SW2(config-if-range)#switchport none
SW2(config-if-range)#switchport nonegotiate 
SW2(config-if-range)#
*Mar  1 01:11:15.732: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW2(config-if-range)#^Z
SW2#
*Mar  1 01:11:18.013: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
*Mar  1 01:11:18.894: %SYS-5-CONFIG_I: Configured from console by console
SW2#sh spa
SW2#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW2#sh spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW2#
*Mar  1 01:19:36.959: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
SW2#
*Mar  1 01:19:37.974: %LINK-3-UPDOWN: Interface FastEthernet1/0/3, changed state to down
SW2#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 


SW2#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 


SW2#debug spanning-tree events 
Spanning Tree event debugging is on
SW2#
*Mar  1 01:26:44.560: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:26:44.560: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:26:44.560: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW2#
*Mar  1 01:26:46.573: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
*Mar  1 01:26:46.573: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:26:46.573: STP: VLAN0002 Topology Change rcvd on Fa1/0/1
*Mar  1 01:26:46.573: STP: VLAN0002 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:26:46.582: STP: VLAN0003 Topology Change rcvd on Fa1/0/1
*Mar  1 01:26:46.582: STP: VLAN0003 sent Topology Change Notice on Fa1/0/2
SW2#
*Mar  1 01:27:14.583: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
*Mar  1 01:27:14.583: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:27:14.583: STP: VLAN0002 Topology Change rcvd on Fa1/0/1
*Mar  1 01:27:14.583: STP: VLAN0002 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:27:14.591: STP: VLAN0003 Topology Change rcvd on Fa1/0/1
*Mar  1 01:27:14.591: STP: VLAN0003 sent Topology Change Notice on Fa1/0/2
SW2#sh span vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 


SW2#sh span vlan 4 

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 


SW2#
*Mar  1 01:31:07.426: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:31:07.426: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:31:07.426: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW2#sh span vlan 4
*Mar  1 01:32:39.197: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:32:39.197: STP[1]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:32:39.197: STP: VLAN0002 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:32:39.197: STP[2]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:32:39.197: STP: VLAN0003 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:32:39.197: STP[3]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:32:39.205: STP: VLAN0004 we are the spa
SW2#sh span vlan 4nning tree root
*Mar  1 01:32:39.205: STP[4]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:32:39.205: STP: VLAN0005 we are the spanning tree root
*Mar  1 01:32:39.205: STP[5]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:32:39.205: STP: VLAN0006 we are the spanning tree root
*Mar  1 01:32:39.205: STP[6]: Generating TC trap for port FastEthernet1/0/1
SW2#sh span vlan 4
*Mar  1 01:32:40.195: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
*Mar  1 01:32:41.177: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:32:41.185: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:32:41.185: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW2#sh span vlan 4
*Mar  1 01:32:41.210: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW2#sh span vlan 4
*Mar  1 01:33:09.186: STP: VLAN0004 Topology Change rcvd on Fa1/0/2
*Mar  1 01:33:09.186: STP: VLAN0005 Topology Change rcvd on Fa1/0/2
*Mar  1 01:33:09.186: STP: VLAN0006 Topology Change rcvd on Fa1/0/2
SW2#sh span vlan 1 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 19        128.4    P2p 


SW2#sh span vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Desg FWD 19        128.4    P2p 


SW2#
*Mar  1 01:35:29.846: set portid: VLAN0002 Fa1/0/1: new port id 8003
*Mar  1 01:35:29.846: STP: VLAN0002 Fa1/0/1 -> listening
*Mar  1 01:35:29.846: set portid: VLAN0003 Fa1/0/1: new port id 8003
*Mar  1 01:35:29.846: STP: VLAN0003 Fa1/0/1 -> listening
*Mar  1 01:35:29.846: set portid: VLAN0004 Fa1/0/1: new port id 8003
*Mar  1 01:35:29.846: STP: VLAN0004 Fa1/0/1 -> listening
*Mar  1 01:35:29.846: set portid: VLAN0005 Fa1/0/1: new port id 8003
*Mar  1 01:35:29.846: STP: VLAN0005 Fa1/0/1 -> listenin
SW2#g
*Mar  1 01:35:29.855: set portid: VLAN0006 Fa1/0/1: new port id 8003
*Mar  1 01:35:29.855: STP: VLAN0006 Fa1/0/1 -> listening
*Mar  1 01:35:29.855: set portid: VLAN0001 Fa1/0/1: new port id 8003
*Mar  1 01:35:29.855: STP: VLAN0001 Fa1/0/1 -> listening
*Mar  1 01:35:29.888: STP: VLAN0004 Topology Change rcvd on Fa1/0/1
*Mar  1 01:35:29.922: STP: VLAN0005 Topology Change rcvd on Fa1/0/1
*Mar  1 01:35:29.922: STP: VLAN0006 Topology Change rcvd on Fa1/0/1
SW2#
*Mar  1 01:35:31.826: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 01:35:32.833: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW2#
*Mar  1 01:35:44.854: STP: VLAN0002 Fa1/0/1 -> learning
*Mar  1 01:35:44.854: STP: VLAN0003 Fa1/0/1 -> learning
*Mar  1 01:35:44.854: STP: VLAN0004 Fa1/0/1 -> learning
*Mar  1 01:35:44.854: STP: VLAN0005 Fa1/0/1 -> learning
*Mar  1 01:35:44.862: STP: VLAN0006 Fa1/0/1 -> learning
*Mar  1 01:35:44.862: STP: VLAN0001 Fa1/0/1 -> learning
SW2#
*Mar  1 01:35:59.861: STP[2]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:59.861: STP: VLAN0002 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:35:59.861: STP: VLAN0002 Fa1/0/1 -> forwarding
*Mar  1 01:35:59.861: STP[3]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:59.861: STP: VLAN0003 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:35:59.861: STP: VLAN0003 Fa1/0/1 -> forwarding
*Mar  1 01:35:59.861: STP[4]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 
SW2#01:35:59.861: STP: VLAN0004 Fa1/0/1 -> forwarding
*Mar  1 01:35:59.861: STP[5]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:59.861: STP: VLAN0005 Fa1/0/1 -> forwarding
*Mar  1 01:35:59.869: STP[6]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:59.869: STP: VLAN0006 Fa1/0/1 -> forwarding
*Mar  1 01:35:59.869: STP[1]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:59.869: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:35:59.869: STP: VLAN0001
SW2# Fa1/0/1 -> forwarding
*Mar  1 01:35:59.878: STP: VLAN0004 Topology Change rcvd on Fa1/0/1
*Mar  1 01:35:59.878: STP: VLAN0005 Topology Change rcvd on Fa1/0/1
*Mar  1 01:35:59.886: STP: VLAN0006 Topology Change rcvd on Fa1/0/1
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#sh span vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 


SW2#sh span vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 


SW2#sh span vlan 1,4

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 


VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4      (priority 0 sys-id-ext 4)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p 
Fa1/0/2             Desg FWD 19        128.4    P2p 


SW2#
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#vlan 2-6
SW3(config-vlan)#exit
SW3(config)#
*Mar  1 01:10:49.861: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3(config)#
*Mar  1 01:10:52.889: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3(config)#
*Mar  1 01:11:25.009: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW3(config)#
*Mar  1 01:11:28.038: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW3(config)#int range f1/0/1-2
SW3(config-if-range)#swi
SW3(config-if-range)#switchport tru
SW3(config-if-range)#switchport trunk en
SW3(config-if-range)#switchport trunk encapsulation dot
SW3(config-if-range)#switchport trunk encapsulation dot1q 
SW3(config-if-range)#swi
SW3(config-if-range)#switchport mo
SW3(config-if-range)#switchport mode tru
SW3(config-if-range)#switchport mode trunk 
SW3(config-if-range)#swi
SW3(config-if-range)#switchport none
SW3(config-if-range)#switchport nonegotiate 
SW3(config-if-range)#^Z
SW3#
*Mar  1 01:11:58.337: %SYS-5-CONFIG_I: Configured from console by console
SW3#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


SW3#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Altn BLK 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 


SW3#
*Mar  1 01:19:49.031: %LINK-3-UPDOWN: Interface FastEthernet1/0/3, changed state to up
*Mar  1 01:19:50.037: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to up
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#interface FastEthernet 1/0/3
SW3(config-if)#switchport trunk encapsulation dot1q
SW3(config-if)#switchport mode trunk
SW3(config-if)#switchport nonegotiate
SW3(config-if)#^Z
SW3#
*Mar  1 01:20:15.278: %SYS-5-CONFIG_I: Configured from console by console
SW3#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


SW3#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Altn BLK 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW3#     
*Mar  1 01:26:54.845: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3#
*Mar  1 01:26:55.860: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW3#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        38
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


SW3#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW3#
*Mar  1 01:30:48.669: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 01:30:49.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


SW3#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Altn BLK 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW3#
*Mar  1 01:32:49.439: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
*Mar  1 01:32:50.454: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW3#debu
SW3#debug spa
SW3#debug spanning-tree eve
SW3#debug spanning-tree events 
Spanning Tree event debugging is on
SW3#
*Mar  1 01:33:18.456: STP[4]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:33:18.456: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:33:18.456: STP: VLAN0004 Fa1/0/1 -> forwarding
*Mar  1 01:33:18.456: STP[5]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:33:18.456: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:33:18.456: STP: VLAN0005 Fa1/0/1 -> forwarding
*Mar  1 01:33:18.456: STP[6]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 
SW3#01:33:18.456: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:33:18.456: STP: VLAN0006 Fa1/0/1 -> forwarding
SW3#show spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


SW3#show spanning-tree vlan 4

VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        38
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW3#
*Mar  1 01:35:39.133: set portid: VLAN0002 Fa1/0/2: new port id 8004
*Mar  1 01:35:39.133: STP: VLAN0002 Fa1/0/2 -> listening
*Mar  1 01:35:39.133: set portid: VLAN0003 Fa1/0/2: new port id 8004
*Mar  1 01:35:39.133: STP: VLAN0003 Fa1/0/2 -> listening
*Mar  1 01:35:39.133: set portid: VLAN0004 Fa1/0/2: new port id 8004
*Mar  1 01:35:39.133: STP: VLAN0004 Fa1/0/2 -> listening
*Mar  1 01:35:39.133: set portid: VLAN0005 Fa1/0/2: new port id 8004
*Mar  1 01:35:39.133: STP: VLAN0005 Fa1/0/2 -> listenin
SW3#g
*Mar  1 01:35:39.133: set portid: VLAN0006 Fa1/0/2: new port id 8004
*Mar  1 01:35:39.133: STP: VLAN0006 Fa1/0/2 -> listening
*Mar  1 01:35:39.133: set portid: VLAN0001 Fa1/0/2: new port id 8004
*Mar  1 01:35:39.133: STP: VLAN0001 Fa1/0/2 -> listening
*Mar  1 01:35:39.141: STP: VLAN0004 new root port Fa1/0/2, cost 19
*Mar  1 01:35:39.141: STP: VLAN0004 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:35:39.141: STP[4]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:39.141: STP: VLAN
SW3#0004 Fa1/0/1 -> blocking
*Mar  1 01:35:39.191: STP: VLAN0005 new root port Fa1/0/2, cost 19
*Mar  1 01:35:39.191: STP: VLAN0005 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:35:39.191: STP[5]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:35:39.191: STP: VLAN0005 Fa1/0/1 -> blocking
*Mar  1 01:35:39.191: STP: VLAN0006 new root port Fa1/0/2, cost 19
*Mar  1 01:35:39.191: STP: VLAN0006 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:35:39.191: STP[6]: Generating TC trap for port FastE
SW3#thernet1/0/1
*Mar  1 01:35:39.191: STP: VLAN0006 Fa1/0/1 -> blocking
*Mar  1 01:35:40.408: STP: VLAN0002 Fa1/0/2 -> blocking
*Mar  1 01:35:40.408: STP: VLAN0003 Fa1/0/2 -> blocking
*Mar  1 01:35:40.718: STP: VLAN0001 Fa1/0/2 -> blocking
*Mar  1 01:35:41.112: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 01:35:42.119: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW3#
*Mar  1 01:35:54.140: STP: VLAN0004 Fa1/0/2 -> learning
*Mar  1 01:35:54.140: STP: VLAN0005 Fa1/0/2 -> learning
*Mar  1 01:35:54.140: STP: VLAN0006 Fa1/0/2 -> learning
SW3#
*Mar  1 01:36:09.147: STP[4]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:36:09.147: STP: VLAN0004 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:36:09.147: STP: VLAN0004 Fa1/0/2 -> forwarding
*Mar  1 01:36:09.147: STP[5]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:36:09.147: STP: VLAN0005 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:36:09.147: STP: VLAN0005 Fa1/0/2 -> forwarding
*Mar  1 01:36:09.147: STP[6]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 
SW3#01:36:09.147: STP: VLAN0006 sent Topology Change Notice on Fa1/0/2
*Mar  1 01:36:09.147: STP: VLAN0006 Fa1/0/2 -> forwarding
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#show spanning-tree vlan 1,4

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4
             Address     c08c.6045.5200
             Cost        19
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Altn BLK 19        128.3    P2p 
Fa1/0/2             Root FWD 19        128.4    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 


SW3#
*Mar  1 01:38:11.470: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:11.487: STP: VLAN0004 new root port Fa1/0/1, cost 38
*Mar  1 01:38:11.487: STP: VLAN0004 Fa1/0/1 -> listening
*Mar  1 01:38:11.487: STP[4]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:38:11.487: STP: VLAN0005 new root port Fa1/0/1, cost 38
*Mar  1 01:38:11.487: STP: VLAN0005 Fa1/0/1 -> listening
*Mar  1 01:38:11.487: STP[5]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:38:11.487: S
SW3#TP: VLAN0006 new root port Fa1/0/1, cost 38
*Mar  1 01:38:11.487: STP: VLAN0006 Fa1/0/1 -> listening
*Mar  1 01:38:11.487: STP[6]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 01:38:11.503: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:11.503: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:12.485: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
*Mar  1 01:38:13.466: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:13.466: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:13.475: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:13.491: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:13.491: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar 
SW3# 1 01:38:13.491: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:13.500: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW3#
*Mar  1 01:38:14.473: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:14.481: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:14.481: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:15.496: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:15.496: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:15.496: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:15.513: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:15.513: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:15.513: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:16.511: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:16.520: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:16.520: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:17.501: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:17.501: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:17.501: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
SW3#
*Mar  1 01:38:17.526: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:17.526: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:17.526: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:19.506: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:19.506: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:19.506: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:19.506: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:19.506: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:19.506: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:20.504: STP: VLAN0004 heard
SW3# root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:20.504: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:20.504: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:21.511: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:21.511: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:21.511: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
SW3#
*Mar  1 01:38:21.519: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:21.519: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:21.519: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:22.526: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:22.526: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:22.526: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:23.516: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:23.516: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:23.516: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:23.524: STP: VLAN0004 heard
SW3# root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:23.524: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:23.533: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:24.531: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:24.539: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:24.539: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:25.521: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:25.521: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:25.521: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:25.546: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:25.546: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:25.546: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:26.494: STP: VLAN0004 Fa1/0
SW3#/1 -> learning
*Mar  1 01:38:26.494: STP: VLAN0005 Fa1/0/1 -> learning
*Mar  1 01:38:26.494: STP: VLAN0006 Fa1/0/1 -> learning
SW3#
*Mar  1 01:38:27.526: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:27.526: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:27.526: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:27.526: STP: VLAN0004 heard root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:27.526: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:27.526: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:28.524: STP: VLAN0004 heard
SW3# root  4100-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:28.524:     supersedes 32772-dc7b.948d.f700
*Mar  1 01:38:28.524: STP: VLAN0004 new root is 4100, e8ed.f315.9380 on port Fa1/0/1, cost 19
*Mar  1 01:38:28.524: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:28.532: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:28.532: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
SW3#
*Mar  1 01:38:29.539: STP: VLAN0005 heard root  4101-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:29.539:     supersedes 32773-dc7b.948d.f700
*Mar  1 01:38:29.539: STP: VLAN0005 new root is 4101, e8ed.f315.9380 on port Fa1/0/1, cost 19
*Mar  1 01:38:29.539: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:29.539: STP: VLAN0006 heard root  4102-e8ed.f315.9380 on Fa1/0/1
*Mar  1 01:38:29.539:     supersedes 32774-dc7b.948d.f700
*Mar  1 01:38:29.539: STP: VLAN0006 new root is 4102, e8ed.f
SW3#315.9380 on port Fa1/0/1, cost 19
*Mar  1 01:38:29.539: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
SW3#
*Mar  1 01:38:41.501: STP[4]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:38:41.501: STP: VLAN0004 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:41.501: STP: VLAN0004 Fa1/0/1 -> forwarding
*Mar  1 01:38:41.501: STP[5]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 01:38:41.501: STP: VLAN0005 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:41.501: STP: VLAN0005 Fa1/0/1 -> forwarding
*Mar  1 01:38:41.501: STP[6]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 
SW3#01:38:41.501: STP: VLAN0006 sent Topology Change Notice on Fa1/0/1
*Mar  1 01:38:41.501: STP: VLAN0006 Fa1/0/1 -> forwarding
SW3#show spanning-tree vlan 1,4

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 
Fa1/0/24            Desg FWD 19        128.26   P2p 


VLAN0004
  Spanning tree enabled protocol ieee
  Root ID    Priority    4100
             Address     e8ed.f315.9380
             Cost        19
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32772  (priority 32768 sys-id-ext 4)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 19        128.3    P2p 
Fa1/0/3             Desg FWD 19        128.5    P2p 

ASW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW1(config)#vlan 2-6
ASW1(config-vlan)#exit
ASW1(config)#do sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Gi0/1
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
ASW1(config)#int vlan 1
ASW1(config-if)#ip address 172.16.1.1 255.255.255.0
ASW1(config-if)#no shut
ASW1(config-if)#
*Mar  1 00:04:55.438: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
ASW1(config-if)#
*Mar  1 00:04:55.446: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
ASW1(config-if)#int vlan 2
ASW1(config-if)#
*Mar  1 00:05:17.508: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down
ASW1(config-if)#ip address 172.16.2.1 255.255.255.0
ASW1(config-if)#no shut
ASW1(config-if)#do sh ip int b
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  172.16.1.1      YES manual up                    up      
Vlan2                  172.16.2.1      YES manual up                    down    
FastEthernet0/1        unassigned      YES unset  down                  down    
FastEthernet0/2        unassigned      YES unset  down                  down    
FastEthernet0/3        unassigned      YES unset  down                  down    
FastEthernet0/4        unassigned      YES unset  down                  down    
FastEthernet0/5        unassigned      YES unset  down                  down    
FastEthernet0/6        unassigned      YES unset  down                  down    
FastEthernet0/7        unassigned      YES unset  down                  down    
FastEthernet0/8        unassigned      YES unset  down                  down    
GigabitEthernet0/1     unassigned      YES unset  up                    up      
ASW1(config-if)#int gig0/1
ASW1(config-if)#swi
ASW1(config-if)#switchport mo
ASW1(config-if)#switchport mode tr
ASW1(config-if)#switchport mode trunk 
ASW1(config-if)#swi
ASW1(config-if)#switchport 
*Mar  1 00:06:46.637: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:06:47.636: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
ASW1(config-if)#switchport none
ASW1(config-if)#switchport nonegotiate 
*Mar  1 00:06:50.655: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
ASW1(config-if)#switchport nonegotiate 
ASW1(config-if)#do sh ip int b         
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  172.16.1.1      YES manual up                    down    
Vlan2                  172.16.2.1      YES manual up                    down    
FastEthernet0/1        unassigned      YES unset  down                  down    
FastEthernet0/2        unassigned      YES unset  down                  down    
FastEthernet0/3        unassigned      YES unset  down                  down    
FastEthernet0/4        unassigned      YES unset  down                  down    
FastEthernet0/5        unassigned      YES unset  down                  down    
FastEthernet0/6        unassigned      YES unset  down                  down    
FastEthernet0/7        unassigned      YES unset  down                  down    
FastEthernet0/8        unassigned      YES unset  down                  down    
GigabitEthernet0/1     unassigned      YES unset  up                    up      
ASW1(config-if)#
*Mar  1 00:07:19.672: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar  1 00:07:19.672: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
ASW1(config-if)#do sh ip int b
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  172.16.1.1      YES manual up                    up      
Vlan2                  172.16.2.1      YES manual up                    up      
FastEthernet0/1        unassigned      YES unset  down                  down    
FastEthernet0/2        unassigned      YES unset  down                  down    
FastEthernet0/3        unassigned      YES unset  down                  down    
FastEthernet0/4        unassigned      YES unset  down                  down    
FastEthernet0/5        unassigned      YES unset  down                  down    
FastEthernet0/6        unassigned      YES unset  down                  down    
FastEthernet0/7        unassigned      YES unset  down                  down    
FastEthernet0/8        unassigned      YES unset  down                  down    
GigabitEthernet0/1     unassigned      YES unset  up                    up      
ASW1(config-if)#^Z 
ASW1#
*Mar  1 00:07:34.662: %SYS-5-CONFIG_I: Configured from console by console
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 1000000
Type escape sequence to abort.
Sending 1000000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (1538/1540), round-trip min/avg/max = 1/3/9 ms
ASW1#ping 172.16.2.2 source 172.16.2.1 repeat 1000000
Type escape sequence to abort.
Sending 1000000, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.2.1 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!.
Success rate is 99 percent (565/567), round-trip min/avg/max = 1/3/9 ms
ASW1#sh ip inter
ASW1#sh ip interface bri
ASW1#conf t                
Enter configuration commands, one per line.  End with CNTL/Z.
ASW1(config)#interface Vlan 3
ASW1(config-if)#ip address 172.16.3.1 255.255.255.0
ASW1(config-if)#no shutdown
ASW1(config-if)#interface Vlan 4
ASW1(config-if)#ip address 172.16.4.1 255.255.255.0
ASW1(config-if)#no shutdown
ASW1(config-if)#interface Vlan 5
ASW1(config-if)#ip address 172.16.5.1 255.255.255.0
ASW1(config-if)#no shutdown
ASW1(config-if)#interface Vlan 6
ASW1(config-if)#ip address 172.16.6.1 255.255.255.0
ASW1(config-if)#no shutdown
ASW1(config-if)#
*Mar  1 00:13:01.147: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
*Mar  1 00:13:01.214: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to up
*Mar  1 00:13:01.281: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to up
*Mar  1 00:13:01.348: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to up
ASW1(config-if)#^Z                                              
ASW1#
*Mar  1 00:14:02.677: %SYS-5-CONFIG_I: Configured from console by console
ASW1#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  172.16.1.1      YES manual up                    up      
Vlan2                  172.16.2.1      YES manual up                    up      
Vlan3                  172.16.3.1      YES manual up                    up      
Vlan4                  172.16.4.1      YES manual up                    up      
Vlan5                  172.16.5.1      YES manual up                    up      
Vlan6                  172.16.6.1      YES manual up                    up      
FastEthernet0/1        unassigned      YES unset  down                  down    
FastEthernet0/2        unassigned      YES unset  down                  down    
FastEthernet0/3        unassigned      YES unset  down                  down    
FastEthernet0/4        unassigned      YES unset  down                  down    
FastEthernet0/5        unassigned      YES unset  down                  down    
FastEthernet0/6        unassigned      YES unset  down                  down    
FastEthernet0/7        unassigned      YES unset  down                  down    
FastEthernet0/8        unassigned      YES unset  down                  down    
GigabitEthernet0/1     unassigned      YES unset  up                    up      
ASW1#ping 172.16.3.2 source 172.16.3.1 repeat 1000000
Type escape sequence to abort.
Sending 1000000, 100-byte ICMP Echos to 172.16.3.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.3.1 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (606/608), round-trip min/avg/max = 1/3/26 ms
ASW1#ping 172.16.4.2 source 172.16.4.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.4.1 
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/8 ms
ASW1#ping 172.16.5.2 source 172.16.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.5.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.5.1 
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/8 ms
ASW1#ping 172.16.6.2 source 172.16.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.6.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.6.1 
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/9 ms
ASW1#ping 172.16.6.2 source 172.16.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.6.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.6.1 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms
ASW1#ping 172.16.5.2 source 172.16.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.5.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.5.1 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/9 ms
ASW1#ping 172.16.6.2 source 172.16.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.6.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.6.1 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
ASW1#
*Mar  1 00:20:16.339: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:20:16.348: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down
*Mar  1 00:20:16.348: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to down
*Mar  1 00:20:16.348: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to down
*Mar  1 00:20:16.348: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to down
*Mar  1 0
ASW1#0:20:16.348: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to down
*Mar  1 00:20:17.312: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
ASW1#
*Mar  1 00:20:18.336: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down
ASW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW1(config)#no sp
ASW1(config)#no spanning-tree vl
ASW1(config)#no spanning-tree vlan ?
  WORD  vlan range, example: 1,3-5,7,9-11

ASW1(config)#no spanning-tree vlan 1-6
ASW1(config)#no cdp run
ASW1(config)#inter
ASW1(config)#interface fas
ASW1(config)#interface fastEthernet 0/1
ASW1(config-if)#swi
ASW1(config-if)#switchport mo
ASW1(config-if)#switchport mode tru
ASW1(config-if)#switchport mode trunk 
ASW1(config-if)#swi
ASW1(config-if)#switchport none
ASW1(config-if)#switchport nonegotiate 
ASW1(config-if)#^Z
ASW1#
*Mar  1 01:23:20.289: %SYS-5-CONFIG_I: Configured from console by console
ASW1#
*Mar  1 01:24:02.769: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar  1 01:24:02.778: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
*Mar  1 01:24:02.778: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
*Mar  1 01:24:02.778: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to up
*Mar  1 01:24:02.778: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to up
*Mar  1 01:24:02.77
ASW1#8: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to up
ASW1#
*Mar  1 01:24:04.740: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 01:24:05.747: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!................!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (15420/15438), round-trip min/avg/max = 1/4/218 ms
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!
Success rate is 100 percent (18978/18978), round-trip min/avg/max = 1/3/218 ms
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (35758/35759), round-trip min/avg/max = 1/3/218 ms
ASW1#
ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#vlan 2-6
ASW2(config-vlan)#exit
ASW2(config)#do sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Gi0/1
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
ASW2(config)#int vlan 1
ASW2(config-if)#int vlan 1
ASW2(config-if)#ip address 172.16.1.2 255.255.255.0
ASW2(config-if)#no shut
ASW2(config-if)#
*Mar  1 00:04:58.567: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
ASW2(config-if)#
*Mar  1 00:04:58.575: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
ASW2(config-if)#int vlan 2
ASW2(config-if)#
*Mar  1 00:05:03.256: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down
ASW2(config-if)#int vlan 2
ASW2(config-if)#ip address 172.16.2.2 255.255.255.0
ASW2(config-if)#no shut
ASW2(config-if)#do sh ip int b
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  172.16.1.2      YES manual up                    up      
Vlan2                  172.16.2.2      YES manual up                    down    
FastEthernet0/1        unassigned      YES unset  down                  down    
FastEthernet0/2        unassigned      YES unset  down                  down    
FastEthernet0/3        unassigned      YES unset  down                  down    
FastEthernet0/4        unassigned      YES unset  down                  down    
FastEthernet0/5        unassigned      YES unset  down                  down    
FastEthernet0/6        unassigned      YES unset  down                  down    
FastEthernet0/7        unassigned      YES unset  down                  down    
FastEthernet0/8        unassigned      YES unset  down                  down    
GigabitEthernet0/1     unassigned      YES unset  up                    up      
ASW2(config-if)#int gig0/1
ASW2(config-if)#swi
ASW2(config-if)#switchport mo
ASW2(config-if)#switchport mode tru
ASW2(config-if)#switchport mode trunk 
*Mar  1 00:06:29.743: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:06:30.741: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
ASW2(config-if)#switchport mode trunk 
*Mar  1 00:06:33.761: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
ASW2(config-if)#switchport mode trunk swi
ASW2(config-if)#switchport mode trunk    
ASW2(config-if)#siw
ASW2(config-if)#swi
ASW2(config-if)#switchport none
ASW2(config-if)#switchport nonegotiate 
ASW2(config-if)#switchport nonegotiate 
*Mar  1 00:07:02.777: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar  1 00:07:02.777: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
ASW2(config-if)#do sh ip int b         
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  172.16.1.2      YES manual up                    up      
Vlan2                  172.16.2.2      YES manual up                    up      
FastEthernet0/1        unassigned      YES unset  down                  down    
FastEthernet0/2        unassigned      YES unset  down                  down    
FastEthernet0/3        unassigned      YES unset  down                  down    
FastEthernet0/4        unassigned      YES unset  down                  down    
FastEthernet0/5        unassigned      YES unset  down                  down    
FastEthernet0/6        unassigned      YES unset  down                  down    
FastEthernet0/7        unassigned      YES unset  down                  down    
FastEthernet0/8        unassigned      YES unset  down                  down    
GigabitEthernet0/1     unassigned      YES unset  up                    up      
ASW2(config-if)#^Z
ASW2#
*Mar  1 00:07:18.791: %SYS-5-CONFIG_I: Configured from console by console
ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#interface Vlan 3
ASW2(config-if)#ip address 172.16.3.2 255.255.255.0
ASW2(config-if)#no shutdown
ASW2(config-if)#interface Vlan 4
ASW2(config-if)#ip address 172.16.4.2 255.255.255.0
ASW2(config-if)#no shutdown
ASW2(config-if)#interface Vlan 5
ASW2(config-if)#ip address 172.16.5.2 255.255.255.0
ASW2(config-if)#no shutdown
ASW2(config-if)#interface Vlan 6
ASW2(config-if)#ip address 172.16.6.2 255.255.255.0
ASW2(config-if)#no shutdown
ASW2(config-if)#
*Mar  1 00:13:02.413: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
*Mar  1 00:13:02.480: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to up
*Mar  1 00:13:02.548: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to up
*Mar  1 00:13:02.615: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to up
ASW2(config-if)#^Z
ASW2#
*Mar  1 00:13:47.922: %SYS-5-CONFIG_I: Configured from console by console
ASW2#
*Mar  1 00:19:59.042: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:19:59.042: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down
*Mar  1 00:19:59.042: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to down
*Mar  1 00:19:59.042: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to down
*Mar  1 00:19:59.042: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to down
*Mar  1 0
ASW2#0:19:59.042: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to down
*Mar  1 00:20:00.007: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
ASW2#
*Mar  1 00:20:01.030: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down
ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#no spanning-tree vlan 1-6
ASW2(config)#no cdp run
ASW2(config)#inter
ASW2(config)#interface Fa
ASW2(config)#interface FastEthernet 0/1
ASW2(config-if)#swi
ASW2(config-if)#switchport mo
ASW2(config-if)#switchport mode tr
ASW2(config-if)#switchport mode trunk 
ASW2(config-if)#swi
ASW2(config-if)#switchport none
ASW2(config-if)#switchport nonegotiate 
ASW2(config-if)#^Z
ASW2#
*Mar  1 01:23:17.781: %SYS-5-CONFIG_I: Configured from console by console
ASW2#
*Mar  1 01:23:52.048: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar  1 01:23:52.048: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
*Mar  1 01:23:52.057: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
*Mar  1 01:23:52.057: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to up
*Mar  1 01:23:52.057: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to up
*Mar  1 01:23:52.05
ASW2#7: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to up
ASW2#
*Mar  1 01:23:54.020: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 01:23:55.026: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
ASW2#
*Mar  1 01:42:36.718: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 01:42:36.718: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down
*Mar  1 01:42:36.718: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to down
*Mar  1 01:42:36.718: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to down
*Mar  1 01:42:36.726: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to down
*Mar  1 0
ASW2#1:42:36.726: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to down
*Mar  1 01:42:37.691: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
*Mar  1 01:42:38.479: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar  1 01:42:38.479: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
*Mar  1 01:42:38.479: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
*Mar  1 01:42:38
ASW2#.488: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to up
*Mar  1 01:42:38.488: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to up
*Mar  1 01:42:38.488: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to up
ASW2#
*Mar  1 01:42:39.712: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
ASW2#ping 172.16.4.1 source 172.16.4.2 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
Packet sent with a source address of 172.16.4.2 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (23149/23151), round-trip min/avg/max = 1/4/219 ms
ASW2#ping 172.16.4.1 source 172.16.4.2 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
Packet sent with a source address of 172.16.4.2 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!...............!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (8063/8079), round-trip min/avg/max = 1/3/218 ms
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#
ASW2#ping 172.16.4.1 source 172.16.4.2 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
Packet sent with a source address of 172.16.4.2 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (23710/23727), round-trip min/avg/max = 1/4/51 ms
ASW2#

MSTP 802.1s

Topology

Again.

Base Configuration

  • SW1
configure terminal
!
vlan 2-6
exit
!
interface FastEthernet 1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • SW2
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • SW3
configure terminal
!
vlan 2-6
exit
!
interface FastEthernet 1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • ASW1
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.1 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.1 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.1 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.1 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.1 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.1 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
  • ASW2
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.2 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.2 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.2 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.2 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.2 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.2 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
show ip interface brief
show vlan brief

MSTP 802.1s Configuration

Configure MSTP Base
  • SW1, 3
configure terminal
!
interface FastEthernet 1/0/3
 spanning-tree portfast trunk
!
end
  • SW1-3
configure terminal
!
vlan 2-6
exit
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
end
show pending

Following command is important for edgeport configuration work effectively if edgeport configured after MSTP configuration.

  • SW1-3
clear spanning-tree detected-protocols
Configure MSTP Bridge Design
  • SW1
configure terminal
!
spanning-tree mst 0 priority 0
spanning-tree mst 1 priority 0
spanning-tree mst 2 priority 4096
!
end
  • SW2
configure terminal
!
spanning-tree mst 0 priority 4096
spanning-tree mst 1 priority 4096
spanning-tree mst 2 priority 0
!
end

MSTP 802.1s Verification

show spanning-tree mst
  • ASW1
ping 172.16.1.2 source 172.16.1.1 repeat 100000
  • ASW2
ping 172.16.4.1 source 172.16.4.2 repeat 100000
debug spanning-tree events 
ping 172.16.1.2 source 172.16.1.1
ping 172.16.2.2 source 172.16.2.1
ping 172.16.3.2 source 172.16.3.1
ping 172.16.4.2 source 172.16.4.1
ping 172.16.5.2 source 172.16.5.1
ping 172.16.6.2 source 172.16.6.1
SW1#sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/3
                                                Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0   
2    enet  100002     1500  -      -      -        -    -        0      0   
3    enet  100003     1500  -      -      -        -    -        0      0   
4    enet  100004     1500  -      -      -        -    -        0      0   
5    enet  100005     1500  -      -      -        -    -        0      0   
6    enet  100006     1500  -      -      -        -    -        0      0   
1002 fddi  101002     1500  -      -      -        -    -        0      0   
1003 tr    101003     1500  -      -      -        -    -        0      0   
1004 fdnet 101004     1500  -      -      -        ieee -        0      0   
1005 trnet 101005     1500  -      -      -        ibm  -        0      0   

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

SW1#                                                                                                                                                                                                                                     

SW1#
SW1#
SW1#
SW1#sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/3
                                                Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#spann
SW1(config)#spanning-tree mst confi
SW1(config)#spanning-tree mst configuration 
SW1(config-mst)#insta
SW1(config-mst)#instance 1 vla
SW1(config-mst)#instance 1 vlan 1-3
SW1(config-mst)#insta
SW1(config-mst)#instance 2 vla
SW1(config-mst)#instance 2 vlan 4-6
SW1(config-mst)#nam
SW1(config-mst)#name RegionA
SW1(config-mst)#revisi
SW1(config-mst)#revision ?
  <0-65535>  Configuration revision number

SW1(config-mst)#revision 1
SW1(config-mst)#show pending
Pending MST configuration
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW1(config-mst)#exit
SW1(config)#spa
SW1(config)#spanning-tree mo
SW1(config)#spanning-tree mode mst
SW1(config)#
*Mar  1 00:10:51.467: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
SW1(config)#
*Mar  1 00:10:55.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW1(config)#debu
SW1(config)#debuspa
SW1(config)#^Z     
SW1#
*Mar  1 00:11:08.513: %SYS-5-CONFIG_I: Configured from console by console
SW1#debu
SW1#debug spa
SW1#debug spanning-tree eve
SW1#debug spanning-tree events 
Spanning Tree event debugging is on
SW1#
*Mar  1 00:11:21.465: STP[0]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:11:21.465: STP[1]: Generating TC trap for port FastEthernet1/0/3
SW1#sh spa
SW1#sh spanning-tree ms
SW1#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#interface FastEthernet 1/0/3
SW1(config-if)#switchport trunk encapsulation dot1q
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport nonegotiate
SW1(config-if)#!
SW1(config-if)#interface range FastEthernet 1/0/1-2
SW1(config-if-range)#switchport trunk encapsulation dot1q
SW1(config-if-range)#switchport mode trunk
SW1(config-if-range)#switchport nonegotiate
SW1(config-if-range)#
*Mar  1 00:15:02.169: setting bridge id (which=3) prio 32770 prio cfg 32768 sysid 2 (on) id 8002.e8ed.f315.9380
SW1(config-if-range)#
*Mar  1 00:15:02.261: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
SW1(config-if-range)#^Z
SW1#
*Mar  1 00:15:05.306: STP[1]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:05.306: STP[2]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:05.315: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:05.332: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar  1 00:15:05.332: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:15:05.340: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:15:13.510: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:15:13.510: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#sh spa
SW1#sh spanning-tree ms
SW1#sh spanning-tree mst 
*Mar  1 00:15:32.184: STP[0]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:15:32.184: STP[1]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:15:32.184: STP[2]: Generating TC trap for port FastEthernet1/0/3
SW1#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      32770 (32768 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#sh spa
SW1#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      32770 (32768 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#
SW1(config)#
SW1(config)#
SW1(config)#spa
SW1(config)#spanning-tree ms
SW1(config)#spanning-tree mst 0 pri
SW1(config)#spanning-tree mst 0 priority 0
SW1(config)#
*Mar  1 00:20:45.397: setting bridge id (which=1) prio 0 prio cfg 0 sysid 0 (on) id 0000.e8ed.f315.9380
*Mar  1 00:20:45.414: STP[0]: Generating TC trap for port FastEthernet1/0/2
SW1(config)#sp
SW1(config)#spanning-tree mst 1 pri
SW1(config)#spanning-tree mst 1 priority 0
SW1(config)#
*Mar  1 00:21:01.009: setting bridge id (which=1) prio 1 prio cfg 0 sysid 1 (on) id 0001.e8ed.f315.9380
*Mar  1 00:21:01.025: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW1(config)#spa
SW1(config)#spanning-tree 2 pri
SW1(config)#spanning-tree ms     
SW1(config)#spanning-tree mst 2 pri
SW1(config)#spanning-tree mst 2 priority 4096
SW1(config)#
*Mar  1 00:21:23.926: setting bridge id (which=1) prio 4098 prio cfg 4096 sysid 2 (on) id 1002.e8ed.f315.9380
*Mar  1 00:21:23.943: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1(config)#
*Mar  1 00:21:30.797: STP[2]: Generating TC trap for port FastEthernet1/0/1
SW1(config)#^Z
SW1#
*Mar  1 00:21:36.383: %SYS-5-CONFIG_I: Configured from console by console
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#sh ap
SW1#sh spa
SW1#sh spanning-tree ms
SW1#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
SW2#sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/3
                                                Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0   
2    enet  100002     1500  -      -      -        -    -        0      0   
3    enet  100003     1500  -      -      -        -    -        0      0   
4    enet  100004     1500  -      -      -        -    -        0      0   
5    enet  100005     1500  -      -      -        -    -        0      0   
6    enet  100006     1500  -      -      -        -    -        0      0   
1002 fddi  101002     1500  -      -      -        -    -        0      0   
1003 tr    101003     1500  -      -      -        -    -        0      0   
1004 fdnet 101004     1500  -      -      -        ieee -        0      0   
1005 trnet 101005     1500  -      -      -        ibm  -        0      0   

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

SW2#                                                                                                                                                                                                                                     

SW2#
SW2#
SW2#
SW2#sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/3
                                                Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#spa
SW2(config)#spanning-tree ms
SW2(config)#spanning-tree mst confi
SW2(config)#spanning-tree mst configuration 
SW2(config-mst)#insta
SW2(config-mst)#instance 1 vla
SW2(config-mst)#instance 1 vlan 1-3
SW2(config-mst)#ins
SW2(config-mst)#instance 2 vla
SW2(config-mst)#instance 2 vlan 4-6
SW2(config-mst)#nam
SW2(config-mst)#name RegionA
SW2(config-mst)#revi
SW2(config-mst)#revision 1
SW2(config-mst)#sho
SW2(config-mst)#show pe
SW2(config-mst)#show pending 
Pending MST configuration
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW2(config-mst)#exit
SW2(config)#spa
SW2(config)#spanning-tree mo
SW2(config)#spanning-tree mode mst
SW2(config)#^Z
SW2#
*Mar  1 00:11:09.956: %SYS-5-CONFIG_I: Configured from console by console
SW2#de
SW2#debu
SW2#debug spa
SW2#debug spanning-tree eve
SW2#debug spanning-tree events 
Spanning Tree event debugging is on
SW2#conf t  
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#
*Mar  1 00:15:03.989: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW2(config)#
*Mar  1 00:15:06.011: setting bridge id (which=3) prio 32770 prio cfg 32768 sysid 2 (on) id 8002.c08c.6045.5200
*Mar  1 00:15:06.053: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:15:06.053: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:15:06.053: STP[2]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:15:07.018: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW2(config)#interface range FastEthernet 1/0/1-2
SW2(config-if-range)#switchport trunk encapsulation dot1q
SW2(config-if-range)#switchport mode trunk
SW2(config-if-range)#switchport nonegotiate
SW2(config-if-range)#^Z
SW2#
*Mar  1 00:15:15.624: %SYS-5-CONFIG_I: Configured from console by console
SW2#
*Mar  1 00:15:17.311: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:17.311: STP[1]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:17.311: STP[2]: Generating TC trap for port FastEthernet1/0/1
SW2#  
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#sh spa
SW2#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address c08c.6045.5200  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      32769 (32768 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      32770 (32768 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address c08c.6045.5200  priority      32768 (32768 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      32769 (32768 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      32770 (32768 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#
*Mar  1 00:20:46.136: STP[0]: Generating TC trap for port FastEthernet1/0/2
SW2(config)#spa
SW2(config)#spanning-tree ms
SW2(config)#spanning-tree mst 0 pri
SW2(config)#spanning-tree mst 0 priority 4096
SW2(config)#
*Mar  1 00:20:55.464: setting bridge id (which=1) prio 4096 prio cfg 4096 sysid 0 (on) id 1000.c08c.6045.5200
SW2(config)#
*Mar  1 00:21:01.747: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW2(config)#spa
SW2(config)#spanning-tree mst 1 pri
SW2(config)#spanning-tree mst 1 priority 4096
SW2(config)#
*Mar  1 00:21:09.053: setting bridge id (which=1) prio 4097 prio cfg 4096 sysid 1 (on) id 1001.c08c.6045.5200
SW2(config)#
*Mar  1 00:21:24.664: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW2(config)#spa
SW2(config)#spanning-tree mst 2 pri
SW2(config)#spanning-tree mst 2 priority 0
SW2(config)#
*Mar  1 00:21:31.526: setting bridge id (which=1) prio 2 prio cfg 0 sysid 2 (on) id 0002.c08c.6045.5200
SW2(config)#^Z
SW2#
*Mar  1 00:21:35.754: %SYS-5-CONFIG_I: Configured from console by console
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#
SW2#sh spa
SW2#sh spanning-tree ms
SW2#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address c08c.6045.5200  priority      4096  (4096 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      4097  (4096 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      2     (0 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW2#
SW3#sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/3
                                                Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0   
2    enet  100002     1500  -      -      -        -    -        0      0   
3    enet  100003     1500  -      -      -        -    -        0      0   
4    enet  100004     1500  -      -      -        -    -        0      0   
5    enet  100005     1500  -      -      -        -    -        0      0   
6    enet  100006     1500  -      -      -        -    -        0      0   
1002 fddi  101002     1500  -      -      -        -    -        0      0   
1003 tr    101003     1500  -      -      -        -    -        0      0   
1004 fdnet 101004     1500  -      -      -        ieee -        0      0   
1005 trnet 101005     1500  -      -      -        ibm  -        0      0   

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

SW3#                                                                                                                                                                                                                                     

SW3#
SW3#
SW3#
SW3#sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/3
                                                Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#spa
SW3(config)#spanning-tree ms
SW3(config)#spanning-tree mst confi
SW3(config)#spanning-tree mst configuration 
SW3(config-mst)#insta
SW3(config-mst)#instance 1 vla
SW3(config-mst)#instance 1 vlan 1-3
SW3(config-mst)#ins
SW3(config-mst)#instance 2 vla
SW3(config-mst)#instance 2 vlan 4-6
SW3(config-mst)#nam
SW3(config-mst)#name RegionA
SW3(config-mst)#revi
SW3(config-mst)#revision 1
SW3(config-mst)#show pending
Pending MST configuration
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW3(config-mst)#exit
SW3(config)#spa
SW3(config)#spanning-tree mo
SW3(config)#spanning-tree mode mst
SW3(config)#^Z
SW3#
*Mar  1 00:11:20.232: %SYS-5-CONFIG_I: Configured from console by console
SW3#debug spa
SW3#debug spanning-tree eve
SW3#debug spanning-tree events 
Spanning Tree event debugging is on
SW3#
*Mar  1 00:11:39.593: STP[1]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:11:39.593: STP[0]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:11:39.593: STP[1]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:11:39.593: STP[0]: Generating TC trap for port FastEthernet1/0/24
*Mar  1 00:11:39.593: STP[1]: Generating TC trap for port FastEthernet1/0/24
*Mar  1 00:11:39.609: STP[0]: Generating TC trap for port FastEthernet1/0/1
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#
*Mar  1 00:15:13.435: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3(config)#
*Mar  1 00:15:15.457: setting bridge id (which=3) prio 32770 prio cfg 32768 sysid 2 (on) id 8002.dc7b.948d.f700
*Mar  1 00:15:15.473: STP[2]: Generating TC trap for port FastEthernet1/0/1
SW3(config)#
*Mar  1 00:15:16.472: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3(config)#
*Mar  1 00:15:23.677: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:23.677: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3(config)#
*Mar  1 00:15:24.667: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW3(config)#
*Mar  1 00:15:26.714: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:15:26.714: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:15:26.714: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW3(config)#
*Mar  1 00:15:27.704: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW3(config)#interface FastEthernet 1/0/3
SW3(config-if)#switchport trunk encapsulation dot1q
SW3(config-if)#switchport mode trunk
SW3(config-if)#switchport nonegotiate
SW3(config-if)#!
SW3(config-if)#interface range FastEthernet 1/0/1-2
SW3(config-if-range)#switchport trunk encapsulation dot1q
SW3(config-if-range)#switchport mode trunk
SW3(config-if-range)#switchport nonegotiate
SW3(config-if-range)#^Z
SW3#
*Mar  1 00:15:34.750: %SYS-5-CONFIG_I: Configured from console by console
SW3#
*Mar  1 00:15:45.471: STP[2]: Generating TC trap for port FastEthernet1/0/1
SW3#sh spa
SW3#sh spanning-tree mst
*Mar  1 00:15:56.720: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:15:56.720: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      32770 (32768 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 

SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address 
*Mar  1 00:16:03.708: STP[0]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:16:03.708: STP[1]: Generating TC trap for port FastEthernet1/0/3
*Mar  1 00:16:03.708: STP[2]: Generating TC trap for port FastEthernet1/0/3c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      32770 (32768 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#                    
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address c08c.6045.5200  priority      32768 (32768 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address c08c.6045.5200  priority      32768 (32768 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address c08c.6045.5200  priority      32769 (32768 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      32770 (32768 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3# 
*Mar  1 00:20:55.573: STP[0]: Generating TC trap for port FastEthernet1/0/1
SW3#
*Mar  1 00:21:11.176: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3#
*Mar  1 00:21:34.102: STP[2]: Generating TC trap for port FastEthernet1/0/1
SW3#
*Mar  1 00:21:40.964: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#sh spa
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3# 
  • ASW1
ping 172.16.1.2 source 172.16.1.1 repeat 100000
  • ASW2
ping 172.16.4.1 source 172.16.4.2 repeat 100000
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!................!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...............!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (36624/36657), round-trip min/avg/max = 1/3/218 ms
ASW1#

Take 30 seconds… this time is STP 802.1d convergense…

  • SW1, SW2
conf t
!
int f1/0/3
spanning-tree portfast trunk
!
end

No.

clear spanning-tree detected-protocols

No.

both of above combination.

  • SW1, SW2
conf t
!
int f1/0/3
spanning-tree portfast trunk
!
end
clear spanning-tree detected-protocols

OK, works fine. pretty much fast.

SW1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#!
SW1(config)#vlan 2-6
SW1(config-vlan)#exit
SW1(config)#!
SW1(config)#interface FastEthernet 1/0/3
SW1(config-if)#switchport trunk encapsulation dot1q
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport nonegotiate
SW1(config-if)#!
SW1(config-if)#interface range FastEthernet 1/0/1-2
SW1(config-if-range)#switchport trunk encapsulation dot1q
SW1(config-if-range)#switchport mode trunk
SW1(config-if-range)#switchport nonegotiate
SW1(config-if-range)#!
SW1(config-if-range)#end
SW1#
*Mar  1 00:03:23.096: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:03:23.188: %SYS-5-CONFIG_I: Configured from console by console
SW1#
*Mar  1 00:03:53.027: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW1#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW1#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW1#
SW1#sho vlan trunk
             ^
% Invalid input detected at '^' marker.

SW1#sh tru
SW1#sh inter
SW1#sh interfaces tru
SW1#sh interfaces trunk 

Port        Mode             Encapsulation  Status        Native vlan
Fa1/0/1     on               802.1q         trunking      1
Fa1/0/2     on               802.1q         trunking      1
Fa1/0/3     on               802.1q         trunking      1

Port        Vlans allowed on trunk
Fa1/0/1     1-4094
Fa1/0/2     1-4094
Fa1/0/3     1-4094

Port        Vlans allowed and active in management domain
Fa1/0/1     1-6
Fa1/0/2     1-6
Fa1/0/3     1-6

Port        Vlans in spanning tree forwarding state and not pruned
Fa1/0/1     1-6
Fa1/0/2     none
Fa1/0/3     1-6
SW1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#!
SW1(config)#vlan 2-6
SW1(config-vlan)#exit
SW1(config)#!
SW1(config)#spanning-tree mst configuration
SW1(config-mst)# instance 1 vlan 1-3
SW1(config-mst)# instance 2 vlan 4-6
SW1(config-mst)# name RegionA
SW1(config-mst)# revision 1
SW1(config-mst)# show pending
Pending MST configuration
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW1(config-mst)#exit
SW1(config)#!
SW1(config)#spanning-tree mode mst
SW1(config)#!
SW1(config)#end
SW1#
*Mar  1 00:05:33.128: %SYS-5-CONFIG_I: Configured from console by console
SW1#
*Mar  1 00:05:34.218: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
SW1#
*Mar  1 00:05:45.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#!
SW1(config)#spanning-tree mst 0 priority 0
SW1(config)#spanning-tree mst 1 priority 0
SW1(config)#spanning-tree mst 2 priority 4096
SW1(config)#!
SW1(config)#end
SW1#
*Mar  1 00:05:59.518: %SYS-5-CONFIG_I: Configured from console by console
SW1#debug spanning-tree events 
Spanning Tree event debugging is on
SW1#
*Mar  1 00:07:00.957: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#sh spa
SW1#sh spanning-tree 

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     e8ed.f315.9380
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    0      (priority 0 sys-id-ext 0)
             Address     e8ed.f315.9380
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 200000    128.3    P2p 
Fa1/0/2             Desg FWD 200000    128.4    P2p 
Fa1/0/3             Desg FWD 200000    128.5    P2p 


          
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
*Mar  1 00:24:37.829: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:24:38.844: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
*Mar  1 00:25:41.951: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:25:41.951: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:25:43.898: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 00:25:44.904: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#
*Mar  1 00:26:11.941: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
*Mar  1 00:26:34.103: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:26:35.118: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
*Mar  1 00:27:26.104: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:27:26.104: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:27:28.017: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 00:27:29.024: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg LRN 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW1#
*Mar  1 00:27:56.060: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1#clear
SW1#clear spa
SW1#clear spanning-tree de
SW1#clear spanning-tree detected-protocols 
SW1#
*Mar  1 00:29:04.989: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:29:06.004: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW1#cofn t
      ^
% Invalid input detected at '^' marker.

SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int spa
SW1(config)#int f1/0/3
SW1(config-if)#spa
SW1(config-if)#spanning-tree portfa
SW1(config-if)#spanning-tree portfast tru
SW1(config-if)#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(config-if)#^Z
SW1#
*Mar  1 00:30:23.909: %SYS-5-CONFIG_I: Configured from console by console
SW1#show spanning-tree mst                 

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW1#
*Mar  1 00:31:42.553: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:31:42.553: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:31:44.499: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 00:31:45.505: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#
*Mar  1 00:32:12.533: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:33:30.313: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
*Mar  1 00:33:31.319: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:34:20.065: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:34:20.065: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:34:21.978: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 00:34:22.985: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#
*Mar  1 00:34:50.013: STP[2]: Generating TC trap for port FastEthernet1/0/2
SW1#
*Mar  1 00:34:55.943: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW1#
*Mar  1 00:34:56.959: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW1#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW1#
SW2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#!
SW2(config)#vlan 2-6
SW2(config-vlan)#exit
SW2(config)#!
SW2(config)#interface range FastEthernet 1/0/1-2
SW2(config-if-range)#switchport trunk encapsulation dot1q
SW2(config-if-range)#switchport mode trunk
SW2(config-if-range)#switchport nonegotiate
SW2(config-if-range)#!
SW2(config-if-range)#end
SW2#
*Mar  1 00:03:33.901: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:03:33.968: %SYS-5-CONFIG_I: Configured from console by console
SW2#
*Mar  1 00:03:56.349: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW2#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/3, Fa1/0/4, Fa1/0/5
                                                Fa1/0/6, Fa1/0/7, Fa1/0/8
                                                Fa1/0/9, Fa1/0/10, Fa1/0/11
                                                Fa1/0/12, Fa1/0/13, Fa1/0/14
                                                Fa1/0/15, Fa1/0/16, Fa1/0/17
                                                Fa1/0/18, Fa1/0/19, Fa1/0/20
                                                Fa1/0/21, Fa1/0/22, Fa1/0/23
                                                Fa1/0/24, Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW2#
SW2#sho vlan trunk
             ^
% Invalid input detected at '^' marker.

SW2#sh tru
SW2#sh inter
SW2#sh interfaces tru
SW2#sh interfaces trunk 

Port        Mode             Encapsulation  Status        Native vlan
Fa1/0/1     on               802.1q         trunking      1
Fa1/0/2     on               802.1q         trunking      1

Port        Vlans allowed on trunk
Fa1/0/1     1-4094
Fa1/0/2     1-4094

Port        Vlans allowed and active in management domain
Fa1/0/1     1-6
Fa1/0/2     1-6

Port        Vlans in spanning tree forwarding state and not pruned
Fa1/0/1     1-6
Fa1/0/2     1-6
SW2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#!
SW2(config)#vlan 2-6
SW2(config-vlan)#exit
SW2(config)#!
SW2(config)#spanning-tree mst configuration
SW2(config-mst)# instance 1 vlan 1-3
SW2(config-mst)# instance 2 vlan 4-6
SW2(config-mst)# name RegionA
SW2(config-mst)# revision 1
SW2(config-mst)# show pending
Pending MST configuration
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW2(config-mst)#exit
SW2(config)#!
SW2(config)#spanning-tree mode mst
SW2(config)#!
SW2(config)#end
SW2#
*Mar  1 00:05:44.889: %SYS-5-CONFIG_I: Configured from console by console
SW2#
*Mar  1 00:05:45.988: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  1 00:05:46.004: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#!
SW2(config)#spanning-tree mst 0 priority 0
SW2(config)#spanning-tree mst 1 priority 0
SW2(config)#spanning-tree mst 2 priority 4096
SW2(config)#!
SW2(config)#end
SW2#
*Mar  1 00:06:01.993: %SYS-5-CONFIG_I: Configured from console by console
SW2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#!
SW2(config)#spanning-tree mst 0 priority 4096
SW2(config)#spanning-tree mst 1 priority 4096
SW2(config)#spanning-tree mst 2 priority 0
SW2(config)#!
SW2(config)#end
SW2#
*Mar  1 00:06:43.877: %SYS-5-CONFIG_I: Configured from console by console
SW2#debug spanning-tree events ^Z
Spanning Tree event debugging is on
SW2#debug spanning-tree events 
Spanning Tree event debugging is on
SW2#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address c08c.6045.5200  priority      4096  (4096 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg LRN 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      4097  (4096 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      2     (0 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW2#
*Mar  1 00:07:13.825: STP[0]: Generating TC trap for port FastEthernet1/0/1
SW2#sh spa
SW2#sh spanning-tree 

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     e8ed.f315.9380
             Cost        0
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4096   (priority 4096 sys-id-ext 0)
             Address     c08c.6045.5200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 200000    128.3    P2p 
Fa1/0/2             Root FWD 200000    128.4    P2p 


          
SW2#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address c08c.6045.5200  priority      4096  (4096 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      4097  (4096 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      2     (0 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW2#clea
SW2#clear spa
SW2#clear spanning-tree dete
SW2#clear spanning-tree detected-protocols 
SW2#
SW3#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#!
SW3(config)#vlan 2-6
SW3(config-vlan)#exit
SW3(config)#!
SW3(config)#interface FastEthernet 1/0/3
SW3(config-if)#switchport trunk encapsulation dot1q
SW3(config-if)#switchport mode trunk
SW3(config-if)#switchport nonegotiate
SW3(config-if)#!
SW3(config-if)#interface range FastEthernet 1/0/1-2
SW3(config-if-range)#switchport trunk encapsulation dot1q
SW3(config-if-range)#switchport mode trunk
SW3(config-if-range)#switchport nonegotiate
SW3(config-if-range)#!
SW3(config-if-range)#end
SW3#
*Mar  1 00:03:52.104: %SYS-5-CONFIG_I: Configured from console by console
SW3#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1/0/4, Fa1/0/5, Fa1/0/6
                                                Fa1/0/7, Fa1/0/8, Fa1/0/9
                                                Fa1/0/10, Fa1/0/11, Fa1/0/12
                                                Fa1/0/13, Fa1/0/14, Fa1/0/15
                                                Fa1/0/16, Fa1/0/17, Fa1/0/18
                                                Fa1/0/19, Fa1/0/20, Fa1/0/21
                                                Fa1/0/22, Fa1/0/23, Fa1/0/24
                                                Gi1/0/1, Gi1/0/2
2    VLAN0002                         active    
3    VLAN0003                         active    
4    VLAN0004                         active    
5    VLAN0005                         active    
6    VLAN0006                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
SW3#
SW3#sho vlan trunk
             ^
% Invalid input detected at '^' marker.

SW3#sh tru
SW3#sh inter
SW3#sh interfaces tru
SW3#sh interfaces trunk 

Port        Mode             Encapsulation  Status        Native vlan
Fa1/0/1     on               802.1q         trunking      1
Fa1/0/2     on               802.1q         trunking      1
Fa1/0/3     on               802.1q         trunking      1

Port        Vlans allowed on trunk
Fa1/0/1     1-4094
Fa1/0/2     1-4094
Fa1/0/3     1-4094

Port        Vlans allowed and active in management domain
Fa1/0/1     1-6
Fa1/0/2     1-6
Fa1/0/3     1-6

Port        Vlans in spanning tree forwarding state and not pruned
Fa1/0/1     1-6
Fa1/0/2     1-6
Fa1/0/3     1-6
SW3#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#!
SW3(config)#vlan 2-6
SW3(config-vlan)#exit
SW3(config)#!
SW3(config)#spanning-tree mst configuration
SW3(config-mst)# instance 1 vlan 1-3
SW3(config-mst)# instance 2 vlan 4-6
SW3(config-mst)# name RegionA
SW3(config-mst)# revision 1
SW3(config-mst)# show pending
Pending MST configuration
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW3(config-mst)#exit
SW3(config)#!
SW3(config)#spanning-tree mode mst
SW3(config)#!
SW3(config)#end
SW3#
*Mar  1 00:05:56.893: %SYS-5-CONFIG_I: Configured from console by console
SW3#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#!
SW3(config)#spanning-tree mst 0 priority 0
SW3(config)#spanning-tree mst 1 priority 0
SW3(config)#spanning-tree mst 2 priority 4096
SW3(config)#!
SW3(config)#end
SW3#
*Mar  1 00:06:13.049: %SYS-5-CONFIG_I: Configured from console by console
SW3#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#no spanning-tree mst 0 priority 0
SW3(config)#no spanning-tree mst 1 priority 0
SW3(config)#no spanning-tree mst 2 priority 4096
SW3(config)#^Z
SW3#
*Mar  1 00:06:41.084: %SYS-5-CONFIG_I: Configured from console by console
SW3#debug spanning-tree events 
Spanning Tree event debugging is on
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#sh spa
SW3#sh spanning-tree 

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     e8ed.f315.9380
             Cost        0
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Root FWD 200000    128.3    P2p 
Fa1/0/2             Altn BLK 200000    128.4    P2p 
Fa1/0/3             Desg FWD 200000    128.5    P2p 
Fa1/0/24            Desg FWD 200000    128.26   P2p 


          
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3# 
*Mar  1 00:24:46.150: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:24:46.150: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW3#
*Mar  1 00:24:47.123: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3#
*Mar  1 00:24:48.139: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#
*Mar  1 00:25:51.280: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:25:51.280: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3#
*Mar  1 00:25:53.234: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 00:25:54.241: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#
*Mar  1 00:26:42.467: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:26:42.467: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW3#
*Mar  1 00:26:43.440: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3#
*Mar  1 00:26:44.455: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg LRN 200000    128.5    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#
*Mar  1 00:27:35.433: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:27:35.433: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3#
*Mar  1 00:27:37.387: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 00:27:38.394: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg BLK 200000    128.5    P2p 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg BLK 200000    128.5    P2p 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#clear
SW3#clear spa
SW3#clear spanning-tree de
SW3#clear spanning-tree detected-protocols 
SW3#show spanning-tree mst                 

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#
*Mar  1 00:29:13.353: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:29:13.353: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward dela
*Mar  1 00:29:14.326: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, y 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg BLK 200000    128.5    P2p 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
          changed state to down
*Mar  1 00:29:15.341: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down    port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg BLK 200000    128.5    P2p 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#show spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg BLK 200000    128.5    P2p 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg BLK 200000    128.5    P2p 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p 

SW3#sh spa
SW3#sh spanning-tree 

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     e8ed.f315.9380
             Cost        0
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 200000    128.4    P2p 
Fa1/0/3             Desg FWD 200000    128.5    P2p 
Fa1/0/24            Desg FWD 200000    128.26   P2p 


          
MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    1
             Address     e8ed.f315.9380
             Cost        400000
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 200000    128.4    P2p 
Fa1/0/3             Desg FWD 200000    128.5    P2p 
Fa1/0/24            Desg FWD 200000    128.26   P2p 


          
MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    2
             Address     c08c.6045.5200
             Cost        200000
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32770  (priority 32768 sys-id-ext 2)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 200000    128.4    P2p 
Fa1/0/3             Desg FWD 200000    128.5    P2p 


SW3#conf t           
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#spa
SW3(config)#int f1/0/3    
SW3(config-if)#sap
SW3(config-if)#spa
SW3(config-if)#spanning-tree por
SW3(config-if)#spanning-tree portfa
SW3(config-if)#spanning-tree portfast tru
SW3(config-if)#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

SW3(config-if)#^Z
SW3#
*Mar  1 00:30:36.836: %SYS-5-CONFIG_I: Configured from console by console
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#int f1/0/24
SW3(config-if)#spa
SW3(config-if)#spanning-tree por
SW3(config-if)#spanning-tree port
% Ambiguous command:  "spanning-tree port"
SW3(config-if)#spanning-tree portfa
SW3(config-if)#spanning-tree portfast 
%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

%Portfast has been configured on FastEthernet1/0/24 but will only
 have effect when the interface is in a non-trunking mode.
SW3(config-if)#^Z
SW3#
*Mar  1 00:31:05.987: %SYS-5-CONFIG_I: Configured from console by console
SW3#sh spanning-tree 

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     e8ed.f315.9380
             Cost        0
             Port        4 (FastEthernet1/0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     dc7b.948d.f700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/2             Root FWD 200000    128.4    P2p 
Fa1/0/3             Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24            Desg FWD 200000    128.26   P2p Edge 


          
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst vlan 1
                         ^
% Invalid input detected at '^' marker.

SW3#sh spanning-tree mst       

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
          
SW3#sh spanning-tree mst 1

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

SW3#sh spanning-tree mst 1

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#                      
*Mar  1 00:31:51.881: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:31:51.881: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          De
*Mar  1 00:31:53.835: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 00:31:54.842: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to upsg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#sh spanning-tree mst  

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#
*Mar  1 00:33:38.659: STP[0]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 00:33:38.659: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW3#
*Mar  1 00:33:39.641: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 400000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward dela
*Mar  1 00:33:40.656: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to downy 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#
*Mar  1 00:34:29.385: STP[0]: Generating TC trap for port FastEthernet1/0/1
*Mar  1 00:34:29.385: STP[1]: Generating TC trap for port FastEthernet1/0/1
SW3#sh spanning-tree mst
*Mar  1 00:34:31.315: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 00:34:32.321: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#
*Mar  1 00:35:04.290: STP[2]: Generating TC trap for port FastEthernet1/0/1
SW3#
*Mar  1 00:35:05.280: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW3#
*Mar  1 00:35:06.295: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p Edge 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address e8ed.f315.9380  priority      4098  (4096 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3#
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 99 percent (99981/100000), round-trip min/avg/max = 1/3/219 ms
ASW2#ping 172.16.4.1 source 172.16.4.2 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
Packet sent with a source address of 172.16.4.2 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (12771/12773), round-trip min/avg/max = 1/4/34 ms
ASW2#

Configure Port Cost

  • SW3
interface FastEthernet 1/0/1
 spanning-tree mst 1 cost 400001
exit
SW3(config-if)#int f1/0/1                        
SW3(config-if)#do sh spann
SW3(config-if)#do sh spanning-tree mst           

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3(config-if)#spa                    
SW3(config-if)#spanning-tree ms
SW3(config-if)#spanning-tree mst 1 co
SW3(config-if)#spanning-tree mst 1 cost 400001
SW3(config-if)#
*Mar  1 01:31:49.880: STP[1]: Generating TC trap for port FastEthernet1/0/2
SW3(config-if)#do sh spanning-tree mst        

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          400000    rem hops 18

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 400001    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/24         Desg BLK 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW3(config-if)#
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)

Configure Port Priority

  • Add link SW3-f1/0/4 - SW1-f1/0/4 above

Base Configuration

  • SW1
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet 1/0/3
 spanning-tree portfast trunk
!
end
  • SW2
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • SW3
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet 1/0/3
 spanning-tree portfast trunk
!
end
  • ASW1
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.1 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.1 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.1 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.1 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.1 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.1 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
  • ASW2
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.2 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.2 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.2 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.2 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.2 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.2 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
show ip interface brief
show vlan brief

MSTP 802.1s Configuration

  • SW1
configure terminal
!
vlan 2-6
exit
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
spanning-tree mst 0 priority 0
spanning-tree mst 1 priority 0
spanning-tree mst 2 priority 4096
!
end
  • SW2
configure terminal
!
vlan 2-6
exit
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
spanning-tree mst 0 priority 4096
spanning-tree mst 1 priority 4096
spanning-tree mst 2 priority 0
!
end
  • SW3
configure terminal
!
vlan 2-6
exit
!
interface FastEthernet 1/0/3
 spanning-tree portfast trunk
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
end
  • SW1-3
clear spanning-tree detected-protocols
show spanning-tree mst
  • ASW1
ping 172.16.1.2 source 172.16.1.1 repeat 100000000
  • ASW2
ping 172.16.4.1 source 172.16.4.2 repeat 100000000
debug spanning-tree events 

Configure Port Priority

  • SW1
configure terminal
!
interface FastEthernet 1/0/4
 spanning-tree mst 1 port-priority 16
exit
!
end

Verification

SW1#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Desg FWD 200000    128.6    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Desg FWD 200000    128.6    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Desg FWD 200000    128.6    P2p 
SW2#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address c08c.6045.5200  priority      4096  (4096 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/2         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      4097  (4096 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      2     (0 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW3#sh spanning-tree mst 

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Altn BLK 200000    128.6    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Altn BLK 200000    128.6    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Altn BLK 200000    128.6    P2p 

SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int f1/0/4
SW1(config-if)#spa
SW1(config-if)#spanning-tree ms
SW1(config-if)#spanning-tree mst 1 po
SW1(config-if)#spanning-tree mst 1 port-priority 16
SW1(config-if)#^Z
SW1#sh 
*Mar  1 00:55:50.737: %SYS-5-CONFIG_I: Configured from console by console
ASW1#ping 172.16.1.2 source 172.16.1.1 repeat 100000000
Type escape sequence to abort.
Sending 100000000, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1 
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(snip)
SW1#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Desg FWD 200000    128.6    P2p 

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Desg FWD 200000     16.6    P2p 

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Desg FWD 200000    128.6    P2p 

SW1#
SW3#sh spanning-tree mst

##### MST0    vlans mapped:   7-4094
Bridge        address dc7b.948d.f700  priority      32768 (32768 sysid 0)
Root          address e8ed.f315.9380  priority      0     (0 sysid 0)
              port    Fa1/0/1         path cost     0        
Regional Root address e8ed.f315.9380  priority      0     (0 sysid 0)
                                      internal cost 200000    rem hops 19
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Altn BLK 200000    128.6    P2p 
Fa1/0/24         Desg FWD 200000    128.26   P2p 

##### MST1    vlans mapped:   1-3
Bridge        address dc7b.948d.f700  priority      32769 (32768 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/4         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Altn BLK 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Root FWD 200000    128.6    P2p 
Fa1/0/24         Desg LRN 200000    128.26   P2p 

##### MST2    vlans mapped:   4-6
Bridge        address dc7b.948d.f700  priority      32770 (32768 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Altn BLK 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 
Fa1/0/4          Altn BLK 200000    128.6    P2p 

SW3#

Configure MSTP

Base Configuration

  • SW1
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet 1/0/3
 spanning-tree portfast trunk
!
end
  • SW2
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
end
  • SW3
configure terminal
!
vlan 2-6
exit
!
interface range FastEthernet 1/0/1-3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet 1/0/3
 spanning-tree portfast trunk
!
end
  • ASW1
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.1 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.1 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.1 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.1 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.1 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.1 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
  • ASW2
vlan 2-6
exit
!
interface Vlan 1
ip address 172.16.1.2 255.255.255.0
no shutdown
interface Vlan 2
ip address 172.16.2.2 255.255.255.0
no shutdown
interface Vlan 3
ip address 172.16.3.2 255.255.255.0
no shutdown
interface Vlan 4
ip address 172.16.4.2 255.255.255.0
no shutdown
interface Vlan 5
ip address 172.16.5.2 255.255.255.0
no shutdown
interface Vlan 6
ip address 172.16.6.2 255.255.255.0
no shutdown
interface FastEthernet 0/1
switchport mode trunk
switchport nonegotiate
!
no spanning-tree vlan 1-6
!
no cdp run
show ip interface brief
show vlan brief

MSTP 802.1s Configuration

  • SW1
configure terminal
!
vlan 2-6
exit
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
spanning-tree mst 0 priority 0
spanning-tree mst 1 priority 0
spanning-tree mst 2 priority 4096
!
end
  • SW2
configure terminal
!
vlan 2-6
exit
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
spanning-tree mst 0 priority 4096
spanning-tree mst 1 priority 4096
spanning-tree mst 2 priority 0
!
end
  • SW3
configure terminal
!
vlan 2-6
exit
!
spanning-tree mst configuration
 instance 1 vlan 1-3
 instance 2 vlan 4-6
 name RegionA
 revision 1
 show pending
exit
!
spanning-tree mode mst
!
end
  • SW1-3
clear spanning-tree detected-protocols
show spanning-tree mst
  • ASW1
ping 172.16.1.2 source 172.16.1.1 repeat 100000000
  • ASW2
ping 172.16.4.1 source 172.16.4.2 repeat 100000000
debug spanning-tree events 

Configure Port Priority

  • SW1
configure terminal
!
interface FastEthernet 1/0/4
 spanning-tree mst 1 port-priority 16
exit
!
end

Verification

SW1#sh spanning-tree mst configuration 
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW1#
*Mar  1 00:37:25.504: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:37:26.519: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:37:33.221: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
SW1#
*Mar  1 00:37:34.228: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#sh
SW1#show sp
SW1#show spanning-tree ms
SW1#show spanning-tree mst 1

##### MST1    vlans mapped:   1-3
Bridge        address e8ed.f315.9380  priority      1     (0 sysid 1)
Root          this switch for MST1

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW1#show spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address e8ed.f315.9380  priority      4098  (4096 sysid 2)
Root          address c08c.6045.5200  priority      2     (0 sysid 2)
              port    Fa1/0/1         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Root FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW1#sh spa
SW1#sh spanning-tree ms
SW1#sh spanning-tree mst 0

##### MST0    vlans mapped:   7-4094
Bridge        address e8ed.f315.9380  priority      0     (0 sysid 0)
Root          this switch for the CIST
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 
Fa1/0/3          Desg FWD 200000    128.5    P2p Edge 

SW1#sh spa
SW1#sh spanning-tree ms
SW1#sh spanning-tree mst inte
SW1#sh spanning-tree mst interface fa1/0/1

FastEthernet1/0/1 of MST0 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 528, received 258

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.3    7-4094
1        Desg FWD 200000    128.3    1-3
2        Root FWD 200000    128.3    4-6

SW1#sh spanning-tree mst 1 interface fa1/0/1

FastEthernet1/0/1 of MST1 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus (MRecords) sent 537, received 243

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
1        Desg FWD 200000    128.3    1-3

SW1#sh spanning-tree mst interface fa1/0/1  

FastEthernet1/0/1 of MST0 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 547, received 277

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.3    7-4094
1        Desg FWD 200000    128.3    1-3
2        Root FWD 200000    128.3    4-6

SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#
SW1#sh
SW1#show sp
SW1#show spanning-tree ms
SW1#show spanning-tree mst int f1/0/1

FastEthernet1/0/1 of MST0 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 554, received 284

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.3    7-4094
1        Desg FWD 200000    128.3    1-3
2        Root FWD 200000    128.3    4-6

SW1#show spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 145, received 3

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.4    7-4094
1        Desg FWD 200000    128.4    1-3
2        Desg FWD 200000    128.4    4-6

SW1#show spanning-tree mst int f1/0/3

FastEthernet1/0/3 of MST0 is designated forwarding 
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 365, received 0

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.5    7-4094
1        Desg FWD 200000    128.5    1-3
2        Desg FWD 200000    128.5    4-6

SW1#
*Mar  1 00:45:51.035: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:45:52.050: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to down
SW1#
*Mar  1 00:46:12.501: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 00:46:13.508: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1#
SW2#sh spanning-tree mst configuration 
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW2#sh sp
SW2#sh spanning-tree mst 1

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      4097  (4096 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

SW2#sh sp
SW2#sh spanning-tree mst
SW2#sh spanning-tree mst 1

##### MST1    vlans mapped:   1-3
Bridge        address c08c.6045.5200  priority      4097  (4096 sysid 1)
Root          address e8ed.f315.9380  priority      1     (0 sysid 1)
              port    Fa1/0/2         cost          200000    rem hops 19

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Root FWD 200000    128.4    P2p 

SW2#sh spanning-tree mst 2

##### MST2    vlans mapped:   4-6
Bridge        address c08c.6045.5200  priority      2     (0 sysid 2)
Root          this switch for MST2

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/1          Desg FWD 200000    128.3    P2p 
Fa1/0/2          Desg FWD 200000    128.4    P2p 

SW2#sh sp
SW2#sh spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is root forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 293, received 299

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Root FWD 200000    128.4    7-4094
1        Root FWD 200000    128.4    1-3
2        Desg FWD 200000    128.4    4-6

SW2#sh spanning-tree mst int f1/0/1

FastEthernet1/0/1 of MST0 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 608, received 23

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.3    7-4094
1        Desg FWD 200000    128.3    1-3
2        Desg FWD 200000    128.3    4-6

SW2#sh spanning-tree mst int f1/0/1

FastEthernet1/0/1 of MST0 is designated forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 620, received 23

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.3    7-4094
1        Desg FWD 200000    128.3    1-3
2        Desg FWD 200000    128.3    4-6

SW2#
SW3#sh spanning-tree mst configuration 
Name      [RegionA]
Revision  1     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         7-4094
1         1-3
2         4-6
-------------------------------------------------------------------------------
SW3#
*Mar  1 00:37:34.950: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
SW3#
*Mar  1 00:37:35.965: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW3#
*Mar  1 00:37:42.701: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 00:37:43.707: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3#sh spa 
SW3#sh spanning-tree ms
SW3#sh spanning-tree mst int f1/0/1

FastEthernet1/0/1 of MST0 is root forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 3, received 213

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Root FWD 200000    128.3    7-4094
1        Root FWD 200000    128.3    1-3
2        Altn BLK 200000    128.3    4-6

SW3#sh spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is alternate blocking 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 12, received 282

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Altn BLK 200000    128.4    7-4094
1        Altn BLK 200000    128.4    1-3
2        Root FWD 200000    128.4    4-6

SW3#sh spanning-tree mst int f1/0/3

FastEthernet1/0/3 of MST0 is designated forwarding 
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 286, received 0

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Desg FWD 200000    128.5    7-4094
1        Desg FWD 200000    128.5    1-3
2        Desg FWD 200000    128.5    4-6

SW3#sh spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is alternate blocking 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 12, received 305

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Altn BLK 200000    128.4    7-4094
1        Altn BLK 200000    128.4    1-3
2        Root FWD 200000    128.4    4-6

SW3#sh spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is root forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 14, received 309

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Root FWD 200000    128.4    7-4094
1        Root FWD 200000    
*Mar  1 00:46:00.472: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down128.4    1-3
2        Root FWD 200000    128.4    4-6

SW3#
*Mar  1 00:46:01.487: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
SW3#sh spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is root forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 15, received 310

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Root FWD 200000    128.4    7-4094
1        Root FWD 200000    128.4    1-3
2        Root FWD 200000    128.4    4-6

SW3#sh spanning-tree mst int f1/0/1

No mst information available on interface FastEthernet1/0/1.

SW3#                               
*Mar  1 00:46:21.939: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 00:46:22.945: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW3#sh spanning-tree mst int f1/0/1

FastEthernet1/0/1 of MST0 is root forwarding 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 5, received 5

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Root FWD 200000    128.3    7-4094
1        Root FWD 200000    128.3    1-3
2        Altn BLK 200000    128.3    4-6

SW3#sh spanning-tree mst int f1/0/2

FastEthernet1/0/2 of MST0 is alternate blocking 
Edge port: no             (default)        port guard : none        (default)
Link type: point-to-point (auto)           bpdu filter: disable     (default)
Boundary : internal                        bpdu guard : disable     (default)
Bpdus sent 15, received 322

Instance Role Sts Cost      Prio.Nbr Vlans mapped
-------- ---- --- --------- -------- -------------------------------
0        Altn BLK 200000    128.4    7-4094
1        Altn BLK 200000    128.4    1-3
2        Root FWD 200000    128.4    4-6

SW3#

SPAN

monitor session 1 source interface FastEthernet 1/0/1
monitor session 1 destination interface FastEthernet 1/0/24 encapsulation replicate

References

tech/network/cisco/stp/mstp/mstp.txt · Last modified: 2019/06/30 12:26 by wnoguchi