User Tools

Site Tools


tech:network:cisco:stp:rootguard:rootguard

STP: Root Guard

Topology

Log

SW1(config)#spanning-tree vlan 1 priority 8192
SW1(config)#do sh spa
SW1(config)#do sh spanning-tree 

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

  Bridge ID  Priority    8193   (priority 8192 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 


SW1(config)#
*Mar  1 04:46:49.681: %LINK-3-UPDOWN: Interface FastEthernet1/0/2, changed state to up
*Mar  1 04:46:50.688: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/2, changed state to up
SW1(config)#^Z
SW1#
*Mar  1 04:51:30.809: %SYS-5-CONFIG_I: Configured from console by console
SW1#debu
SW1#debug spa
SW1#debug spanning-tree even
SW1#debug spanning-tree events 
Spanning Tree event debugging is on
SW1#
*Mar  1 04:52:05.873: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
SW1#
*Mar  1 04:52:11.770: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/2
*Mar  1 04:52:11.770:     supersedes  8193-e8ed.f315.9380
*Mar  1 04:52:11.770: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/2, cost 38
*Mar  1 04:52:11.770: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
SW1#sh spann
SW1#sh spanning-tree vlan 1

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

  Bridge ID  Priority    8193   (priority 8192 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             Root FWD 19        128.4    P2p 


SW1#
*Mar  1 05:07:25.994: STP: VLAN0001 heard root 32769-0022.bd89.2180 on Fa1/0/2
*Mar  1 05:07:25.994: STP: VLAN0001 heard root 16385-c08c.6045.5200 on Fa1/0/1
*Mar  1 05:07:25.994: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
*Mar  1 05:07:25.994: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
*Mar  1 05:07:27.001: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/2
*Mar  1 05:07:27.001:     supersedes  8193-e8ed.f315.9380
*Mar  1 05:07:27.001: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on por
SW1#t Fa1/0/2, cost 38
*Mar  1 05:07:27.001: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
SW1#
*Mar  1 05:08:20.814: STP: VLAN0001 heard root 32769-0022.bd89.2180 on Fa1/0/2
*Mar  1 05:08:20.814: STP: VLAN0001 heard root 16385-c08c.6045.5200 on Fa1/0/1
*Mar  1 05:08:20.814: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
*Mar  1 05:08:20.822: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
SW1#sh spa
SW1#sh spanning-tree 

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

  Bridge ID  Priority    8193   (priority 8192 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 


SW1#
*Mar  1 05:08:48.832: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
SW1#sh spanning-tree 

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

  Bridge ID  Priority    8193   (priority 8192 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 


SW1#
*Mar  1 05:13:34.397: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 05:14:45.734: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
SW1#sh sp
SW1#sh spanning-tree 

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

  Bridge ID  Priority    8193   (priority 8192 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 


SW1#
*Mar  1 05:17:02.107: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
SW1#
*Mar  1 05:17:31.249: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/2
*Mar  1 05:17:31.249:     supersedes  8193-e8ed.f315.9380
*Mar  1 05:17:31.249: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/2, cost 38
*Mar  1 05:17:31.258: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
SW1#sh spanning-tree 

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

  Bridge ID  Priority    8193   (priority 8192 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             Root FWD 19        128.4    P2p 


SW1#
SW2(config)#spanning-tree vlan 1 priority 16384
SW2(config)#do sh spa
SW2(config)#do sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    8193
             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    16385  (priority 16384 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(config)#
*Mar  1 04:46:48.943: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
*Mar  1 04:46:49.950: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
SW2(config)#^Z
SW2#
*Mar  1 04:51:30.062: %SYS-5-CONFIG_I: Configured from console by console
SW2#debu
SW2#debug spa
SW2#debug spanning-tree even
SW2#debug spanning-tree events 
Spanning Tree event debugging is on
SW2#
*Mar  1 04:51:50.119: STP: VLAN0001 Fa1/0/2 -> learning
SW2#
*Mar  1 04:52:05.127: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 04:52:05.127: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 04:52:05.127: STP: VLAN0001 Fa1/0/2 -> forwarding
SW2#
*Mar  1 04:52:11.024: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/1
*Mar  1 04:52:11.024:     supersedes  8193-e8ed.f315.9380
*Mar  1 04:52:11.024: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/1, cost 38
*Mar  1 04:52:11.191: STP: VLAN0001 sent Topology Change Notice on Fa1/0/1
*Mar  1 04:52:11.200: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 04:52:11.200: STP: VLAN0001 Fa1/0/2 -> blocking
SW2#sh spann
SW2#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        38
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    16385  (priority 16384 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             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 


SW2#
*Mar  1 05:07:23.243: STP: VLAN0001 Fa1/0/2 -> listening
*Mar  1 05:07:24.233: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa1/0/2
SW2#
*Mar  1 05:07:25.239: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa1/0/2
*Mar  1 05:07:25.239:     supersedes 16385-c08c.6045.5200
*Mar  1 05:07:25.239: STP: VLAN0001 new root is 8193, e8ed.f315.9380 on port Fa1/0/2, cost 19
*Mar  1 05:07:25.239: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
SW2#
*Mar  1 05:07:26.246: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/2
*Mar  1 05:07:26.246:     supersedes  8193-e8ed.f315.9380
*Mar  1 05:07:26.246: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/2, cost 57
*Mar  1 05:07:26.254: STP: VLAN0001 new root port Fa1/0/1, cost 38
*Mar  1 05:07:26.254: STP: VLAN0001 Fa1/0/2 -> blocking
SW2#
*Mar  1 05:08:18.062: STP: VLAN0001 Fa1/0/2 -> listening
*Mar  1 05:08:19.052: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa1/0/2
SW2#
*Mar  1 05:08:20.059: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa1/0/2
*Mar  1 05:08:20.059:     supersedes 16385-c08c.6045.5200
*Mar  1 05:08:20.059: STP: VLAN0001 new root is 8193, e8ed.f315.9380 on port Fa1/0/2, cost 19
*Mar  1 05:08:20.059: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
SW2#sh spa
SW2#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    8193
             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    16385  (priority 16384 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 LRN 19        128.4    P2p 


SW2#
*Mar  1 05:08:33.070: STP: VLAN0001 Fa1/0/2 -> learning
SW2#
*Mar  1 05:08:48.077: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 05:08:48.077: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 05:08:48.077: STP: VLAN0001 Fa1/0/2 -> forwarding
SW2#
*Mar  1 05:17:30.494: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/1
*Mar  1 05:17:30.494:     supersedes  8193-e8ed.f315.9380
*Mar  1 05:17:30.494: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/1, cost 38
*Mar  1 05:17:31.492: STP: VLAN0001 sent Topology Change Notice on Fa1/0/1
*Mar  1 05:17:31.501: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 05:17:31.501: STP: VLAN0001 Fa1/0/2 -> blocking
SW2#sh sp
SW2#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        38
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    16385  (priority 16384 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             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 


SW2#
ASW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW1(config)#int f0/8
ASW1(config-if)#spa
ASW1(config-if)#spanning-tree gu
ASW1(config-if)#spanning-tree guard ro
ASW1(config-if)#spanning-tree guard root 
ASW1(config-if)#
*Mar  1 00:25:37.162: %SPANTREE-2-ROOTGUARD_CONFIG_CHANGE: Root guard enabled on port FastEthernet0/8.
ASW1(config-if)#int range f0/4-8
ASW1(config-if-range)#spa
ASW1(config-if-range)#spanning-tree gu
ASW1(config-if-range)#spanning-tree guard ro
ASW1(config-if-range)#spanning-tree guard root 
ASW1(config-if-range)#^Z
ASW1#sh 
*Mar  1 00:26:35.404: %SYS-5-CONFIG_I: Configured from console by console
ASW1#sh spa
ASW1#sh spanning-tree inco
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1#
*Mar  1 00:27:29.410: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:29.410:     supersedes  8193-e8ed.f315.9380
*Mar  1 00:27:29.410: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/8 on VLAN0001.
ASW1#
*Mar  1 00:27:29.410: STP: VLAN0001 sent Topology Change Notice on Fa0/1
*Mar  1 00:27:29.410: STP[1]: Generating TC trap for port FastEthernet0/8
*Mar  1 00:27:29.418: STP: VLAN0001 Fa0/8 -> blocking
ASW1#
*Mar  1 00:27:31.414: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:31.414:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:33.419: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:33.419:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:35.424: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:35.424:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:37.429: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:37.429:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:39.434: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:39.434:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:41.439: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:41.439:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:43.444: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:43.444:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:45.449: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:45.449:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:47.453: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:47.453:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:49.458: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:49.458:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:51.463: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:51.463:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:53.468: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:53.468:     supersedes  8193-e8ed.f315.9380
ASW1#u all
*Mar  1 00:27:55.473: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:55.473:     supersedes  8193-e8ed.f315.9380
ASW1#u all
All possible debugging has been turned off
ASW1#
*Mar  1 00:27:57.478: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:57.478:     supersedes  8193-e8ed.f315.9380
ASW1#sh spa
ASW1#sh spanning-tree inco
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:28:29.229: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
ASW1#
*Mar  1 00:28:30.227: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to down
ASW1#
*Mar  1 00:28:31.812: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/5 on VLAN0001.
ASW1#
*Mar  1 00:28:33.272: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
*Mar  1 00:28:34.279: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
ASW1#
*Mar  1 00:28:41.753: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
ASW1#
*Mar  1 00:28:42.751: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:29:28.712: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
ASW1#sh spanning-tree inconsistentports 
*Mar  1 00:29:29.711: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:29:31.992: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/8 on VLAN0001.
ASW1#sh spanning-tree inconsistentports 
*Mar  1 00:29:33.712: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to up
*Mar  1 00:29:34.719: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:29:55.774: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/5 on VLAN0001.
ASW1#
*Mar  1 00:29:57.510: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
*Mar  1 00:29:58.517: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 2

ASW1#
*Mar  1 00:30:21.946: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
ASW1#
*Mar  1 00:30:22.945: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to down
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#sh s
*Mar  1 00:30:29.110: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to up
*Mar  1 00:30:30.117: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up
ASW1#sh spa
ASW1#sh spanning-tree ]
                      ^
% Invalid input detected at '^' marker.

ASW1#sh spa
ASW1#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/5               Desg BKN*19        128.5    P2p *ROOT_Inc 
Fa0/8               Desg LIS 19        128.8    P2p 


ASW1#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/5               Desg BKN*19        128.5    P2p *ROOT_Inc 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW1#                 
*Mar  1 00:31:24.433: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
ASW1#
*Mar  1 00:31:25.431: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
ASW1#
*Mar  1 00:31:27.545: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
*Mar  1 00:31:28.552: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
ASW1#sh spa
ASW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        19
             Port        3 (FastEthernet0/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 
Fa0/2               Desg LRN 19        128.2    P2p 
Fa0/3               Root LRN 19        128.3    P2p 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        19
             Port        3 (FastEthernet0/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 
Fa0/2               Desg FWD 19        128.2    P2p 
Fa0/3               Root FWD 19        128.3    P2p 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW1#sh spann
ASW1#sh spanning-tree inconsisntentpo
ASW1#sh spanning-tree inconsisntentpor
ASW1#sh spanning-tree inconsistentpo  
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1#
SW1#debug spanning-tree events 
Spanning Tree event debugging is on
SW1#
*Mar  1 04:52:05.873: STP: VLAN0001 Topology Change rcvd on Fa1/0/1
SW1#
*Mar  1 04:52:11.770: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/2
*Mar  1 04:52:11.770:     supersedes  8193-e8ed.f315.9380
*Mar  1 04:52:11.770: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/2, cost 38
*Mar  1 04:52:11.770: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
SW1#sh spann
SW1#sh spanning-tree vlan 1

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

  Bridge ID  Priority    8193   (priority 8192 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             Root FWD 19        128.4    P2p 


SW1#
SW2#debug spanning-tree events 
Spanning Tree event debugging is on
SW2#
*Mar  1 04:51:50.119: STP: VLAN0001 Fa1/0/2 -> learning
SW2#
*Mar  1 04:52:05.127: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 04:52:05.127: STP: VLAN0001 sent Topology Change Notice on Fa1/0/2
*Mar  1 04:52:05.127: STP: VLAN0001 Fa1/0/2 -> forwarding
SW2#
*Mar  1 04:52:11.024: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa1/0/1
*Mar  1 04:52:11.024:     supersedes  8193-e8ed.f315.9380
*Mar  1 04:52:11.024: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa1/0/1, cost 38
*Mar  1 04:52:11.191: STP: VLAN0001 sent Topology Change Notice on Fa1/0/1
*Mar  1 04:52:11.200: STP[1]: Generating TC trap for port FastEthernet1/0/2
*Mar  1 04:52:11.200: STP: VLAN0001 Fa1/0/2 -> blocking
SW2#sh spann
SW2#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        38
             Port        3 (FastEthernet1/0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    16385  (priority 16384 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             Root FWD 19        128.3    P2p 
Fa1/0/2             Altn BLK 19        128.4    P2p 


SW2#
ASW1#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/8               Desg FWD 19        128.8    P2p 
Gi0/1               Desg FWD 4         128.9    P2p 


ASW1#debu
ASW1#debug spa
ASW1#debug spanning-tree even
ASW1#debug spanning-tree events 
Spanning Tree event debugging is on
ASW1#
*Mar  1 00:06:06.791: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:06:06.791:     supersedes  8193-e8ed.f315.9380
*Mar  1 00:06:06.791: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa0/8, cost 19
*Mar  1 00:06:06.791: STP: VLAN0001 Fa0/2 -> listening
*Mar  1 00:06:06.800: STP: VLAN0001 Topology Change rcvd on Fa0/1
*Mar  1 00:06:06.800: STP: VLAN0001 sent Topology Change Notice on Fa0/8
*Mar  1 00:06:06.976: STP: VLAN0001 Topology Change rcvd on Fa0/2
ASW1#
*Mar  1 00:06:21.799: STP: VLAN0001 Fa0/2 -> learning
ASW1#
*Mar  1 00:06:36.806: STP[1]: Generating TC trap for port FastEthernet0/2
*Mar  1 00:06:36.806: STP: VLAN0001 sent Topology Change Notice on Fa0/8
*Mar  1 00:06:36.806: STP: VLAN0001 Fa0/2 -> forwarding
ASW1#sh spann
ASW1#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        19
             Port        8 (FastEthernet0/8)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 
Fa0/2               Desg FWD 19        128.2    P2p 
Fa0/8               Root FWD 19        128.8    P2p 
Gi0/1               Desg FWD 4         128.9    P2p 


ASW1#
*Mar  1 00:21:03.013: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:05.018: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:07.023: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:09.028: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:11.033: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:13.038: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:15.043: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:17.048: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:19.052: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
*Mar  1 00:21:20.009: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
*Mar  1 00:21:20.017: STP: VLAN0001 heard root 16385-c08c.6045.5200 on Fa0/2
ASW1#
*Mar  1 00:21:21.015: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
*Mar  1 00:21:21.015:     supersedes 32769-0022.bd89.2180
*Mar  1 00:21:21.015: STP: VLAN0001 new root is 8193, e8ed.f315.9380 on port Fa0/1, cost 19
*Mar  1 00:21:21.015: STP: VLAN0001 sent Topology Change Notice on Fa0/1
*Mar  1 00:21:21.024: STP[1]: Generating TC trap for port FastEthernet0/2
*Mar  1 00:21:21.024: STP: VLAN0001 Fa0/2 -> blocking
*Mar  1 00:21:21.443: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/
ASW1#8
*Mar  1 00:21:21.443:     supersedes  8193-e8ed.f315.9380
*Mar  1 00:21:21.443: STP: VLAN0001 new root is 1, 0026.ca6b.e980 on port Fa0/8, cost 19
*Mar  1 00:21:21.443: STP: VLAN0001 Fa0/2 -> listening
*Mar  1 00:21:22.022: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW1#
*Mar  1 00:21:23.020: STP: VLAN0001 sent Topology Change Notice on Fa0/8
ASW1#
*Mar  1 00:21:36.450: STP: VLAN0001 Fa0/2 -> learning
ASW1#
*Mar  1 00:21:51.458: STP[1]: Generating TC trap for port FastEthernet0/2
*Mar  1 00:21:51.458: STP: VLAN0001 sent Topology Change Notice on Fa0/8
*Mar  1 00:21:51.458: STP: VLAN0001 Fa0/2 -> forwarding
ASW1#
*Mar  1 00:21:57.833: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:21:59.838: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:01.843: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:03.848: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:05.853: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:07.857: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:09.862: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:11.867: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
ASW1#
*Mar  1 00:22:13.872: STP: VLAN0001 heard root 32769-0026.ca6b.e980 on Fa0/8
*Mar  1 00:22:14.828: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
*Mar  1 00:22:14.837: STP: VLAN0001 heard root 16385-c08c.6045.5200 on Fa0/2
ASW1#
*Mar  1 00:22:15.835: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
*Mar  1 00:22:15.835:     supersedes 32769-0022.bd89.2180
*Mar  1 00:22:15.835: STP: VLAN0001 new root is 8193, e8ed.f315.9380 on port Fa0/1, cost 19
*Mar  1 00:22:15.835: STP: VLAN0001 sent Topology Change Notice on Fa0/1
*Mar  1 00:22:15.835: STP: VLAN0001 Topology Change rcvd on Fa0/8
*Mar  1 00:22:15.843: STP[1]: Generating TC trap for port FastEthernet0/2
*Mar  1 00:22:15.843: STP: VLAN0001 Fa0/2 -> blocking
ASW1#sh spa
ASW1#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/8               Desg FWD 19        128.8    P2p 
Gi0/1               Desg FWD 4         128.9    P2p 


ASW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW1(config)#int f0/8
ASW1(config-if)#spa
ASW1(config-if)#spanning-tree gu
ASW1(config-if)#spanning-tree guard ro
ASW1(config-if)#spanning-tree guard root 
ASW1(config-if)#
*Mar  1 00:25:37.162: %SPANTREE-2-ROOTGUARD_CONFIG_CHANGE: Root guard enabled on port FastEthernet0/8.
ASW1(config-if)#int range f0/4-8
ASW1(config-if-range)#spa
ASW1(config-if-range)#spanning-tree gu
ASW1(config-if-range)#spanning-tree guard ro
ASW1(config-if-range)#spanning-tree guard root 
ASW1(config-if-range)#^Z
ASW1#sh 
*Mar  1 00:26:35.404: %SYS-5-CONFIG_I: Configured from console by console
ASW1#sh spa
ASW1#sh spanning-tree inco
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1#
*Mar  1 00:27:29.410: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:29.410:     supersedes  8193-e8ed.f315.9380
*Mar  1 00:27:29.410: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/8 on VLAN0001.
ASW1#
*Mar  1 00:27:29.410: STP: VLAN0001 sent Topology Change Notice on Fa0/1
*Mar  1 00:27:29.410: STP[1]: Generating TC trap for port FastEthernet0/8
*Mar  1 00:27:29.418: STP: VLAN0001 Fa0/8 -> blocking
ASW1#
*Mar  1 00:27:31.414: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:31.414:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:33.419: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:33.419:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:35.424: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:35.424:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:37.429: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:37.429:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:39.434: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:39.434:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:41.439: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:41.439:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:43.444: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:43.444:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:45.449: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:45.449:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:47.453: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:47.453:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:49.458: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:49.458:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:51.463: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:51.463:     supersedes  8193-e8ed.f315.9380
ASW1#
*Mar  1 00:27:53.468: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:53.468:     supersedes  8193-e8ed.f315.9380
ASW1#u all
*Mar  1 00:27:55.473: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:55.473:     supersedes  8193-e8ed.f315.9380
ASW1#u all
All possible debugging has been turned off
ASW1#
*Mar  1 00:27:57.478: STP: VLAN0001 heard root     1-0026.ca6b.e980 on Fa0/8
*Mar  1 00:27:57.478:     supersedes  8193-e8ed.f315.9380
ASW1#sh spa
ASW1#sh spanning-tree inco
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:28:29.229: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
ASW1#
*Mar  1 00:28:30.227: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to down
ASW1#
*Mar  1 00:28:31.812: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/5 on VLAN0001.
ASW1#
*Mar  1 00:28:33.272: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
*Mar  1 00:28:34.279: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
ASW1#
*Mar  1 00:28:41.753: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
ASW1#
*Mar  1 00:28:42.751: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:29:28.712: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
ASW1#sh spanning-tree inconsistentports 
*Mar  1 00:29:29.711: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:29:31.992: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/8 on VLAN0001.
ASW1#sh spanning-tree inconsistentports 
*Mar  1 00:29:33.712: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to up
*Mar  1 00:29:34.719: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#
*Mar  1 00:29:55.774: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/5 on VLAN0001.
ASW1#
*Mar  1 00:29:57.510: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
*Mar  1 00:29:58.517: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent
VLAN0001             FastEthernet0/8          Root Inconsistent

Number of inconsistent ports (segments) in the system : 2

ASW1#
*Mar  1 00:30:21.946: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
ASW1#
*Mar  1 00:30:22.945: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to down
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/5          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1#sh s
*Mar  1 00:30:29.110: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to up
*Mar  1 00:30:30.117: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up
ASW1#sh spa
ASW1#sh spanning-tree ]
                      ^
% Invalid input detected at '^' marker.

ASW1#sh spa
ASW1#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/5               Desg BKN*19        128.5    P2p *ROOT_Inc 
Fa0/8               Desg LIS 19        128.8    P2p 


ASW1#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/5               Desg BKN*19        128.5    P2p *ROOT_Inc 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW1#                 
*Mar  1 00:31:24.433: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
ASW1#
*Mar  1 00:31:25.431: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
ASW1#
*Mar  1 00:31:27.545: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
*Mar  1 00:31:28.552: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
ASW1#sh spa
ASW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        19
             Port        3 (FastEthernet0/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 
Fa0/2               Desg LRN 19        128.2    P2p 
Fa0/3               Root LRN 19        128.3    P2p 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW1#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             Cost        19
             Port        3 (FastEthernet0/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 
Fa0/2               Desg FWD 19        128.2    P2p 
Fa0/3               Root FWD 19        128.3    P2p 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW1#sh spann
ASW1#sh spanning-tree inconsisntentpo
ASW1#sh spanning-tree inconsisntentpor
ASW1#sh spanning-tree inconsistentpo  
ASW1#sh spanning-tree inconsistentports 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW1(config)#int f0/3
ASW1(config-if)#spa
ASW1(config-if)#spanning-tree gu
ASW1(config-if)#spanning-tree guard ro
ASW1(config-if)#spanning-tree guard root 
ASW1(config-if)#
*Mar  1 00:38:10.509: %SPANTREE-2-ROOTGUARD_CONFIG_CHANGE: Root guard enabled on port FastEthernet0/3.
*Mar  1 00:38:10.517: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/3 on VLAN0001.
ASW1(config-if)#do sh int f0/3           
FastEthernet0/3 is up, line protocol is up (connected) 
  Hardware is Fast Ethernet, address is 0022.bd89.2183 (bia 0022.bd89.2183)
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100BaseTX
  input flow-control is off, output flow-control is unsupported 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:01, output 00:00:08, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     310 packets input, 26260 bytes, 0 no buffer
     Received 266 broadcasts (266 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 266 multicast, 0 pause input
     0 input packets with dribble condition detected
          
ASW1(config-if)#do sh span

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0022.bd89.2180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 
Fa0/2               Altn BLK 19        128.2    P2p 
Fa0/3               Desg BKN*19        128.3    P2p *ROOT_Inc 
Fa0/8               Desg FWD 19        128.8    P2p 


ASW2#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 


ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#spa
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#spanning-tree vlan 1 priority 0
ASW2(config)#no spanning-tree vlan 1 priority 0
ASW2(config)#^Z
ASW2#
*Mar  1 00:05:11.536: %SYS-5-CONFIG_I: Configured from console by console
ASW2#debu
ASW2#debug spa
ASW2#debug spanning-tree even
ASW2#debug spanning-tree events 
Spanning Tree event debugging is on
ASW2#sh psa
ASW2#sh sp 
ASW2#sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 


ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#spa
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#spanning-tree vlan 1 priority 0
ASW2(config)#
*Mar  1 00:05:52.480: setting bridge id (which=1) prio 1 prio cfg 0 sysid 1 (on) id 0001.0026.ca6b.e980
*Mar  1 00:05:52.489: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#
*Mar  1 00:06:22.495: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#^Z
ASW2#
*Mar  1 00:06:43.257: %SYS-5-CONFIG_I: Configured from console by console
ASW2#sh spann
ASW2#sh spanning-tree vlan 1

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             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     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 


ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#spa 
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#spanning-tree vlan 1 pri      
ASW2(config)#spanning-tree vlan 1 priority ?
  <0-61440>  bridge priority in increments of 4096

ASW2(config)#no spanning-tree vlan 1 priority 
ASW2(config)#no spanning-tree vlan 1 priority 
*Mar  1 00:20:47.276: setting bridge id (which=1) prio 32769 prio cfg 32768 sysid 1 (on) id 8001.0026.ca6b.e980
*Mar  1 00:20:47.276: STP: VLAN0001 we are the spanning tree root
ASW2(config)#spanning-tree vlan 1             
ASW2(config)#spa
ASW2(config)#spanning-tree vl
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#spanning-tree vlan 1 priority 0
ASW2(config)#spanning-tree vlan 1 priority 0
*Mar  1 00:21:06.704: STP: VLAN0001 heard root 32769-0022.bd89.2180 on Fa0/1
*Mar  1 00:21:06.704:     supersedes 32769-0026.ca6b.e980
*Mar  1 00:21:06.704: STP: VLAN0001 new root is 32769, 0022.bd89.2180 on port Fa0/1, cost 19
*Mar  1 00:21:07.132: setting bridge id (which=1) prio 1 prio cfg 0 sysid 1 (on) id 0001.0026.ca6b.e980
ASW2(config)#spanning-tree vlan 1 pr        
*Mar  1 00:21:08.701: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#do sh span                      
ASW2(config)#do sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             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     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 


ASW2(config)#spanning-tree vlan 1           
*Mar  1 00:21:37.147: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#no spanning-tree vlan 1 priority 
ASW2(config)#do sh spanning-tree              
*Mar  1 00:21:42.843: setting bridge id (which=1) prio 32769 prio cfg 32768 sysid 1 (on) id 8001.0026.ca6b.e980
*Mar  1 00:21:42.843: STP: VLAN0001 we are the spanning tree root
ASW2(config)#do sh spa                        
ASW2(config)#do sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     0026.ca6b.e980
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 


ASW2(config)#do sh spanning-tree 
*Mar  1 00:22:01.524: STP: VLAN0001 heard root 32769-0022.bd89.2180 on Fa0/1
*Mar  1 00:22:01.524:     supersedes 32769-0026.ca6b.e980
*Mar  1 00:22:01.524: STP: VLAN0001 new root is 32769, 0022.bd89.2180 on port Fa0/1, cost 19
*Mar  1 00:22:01.524: STP: VLAN0001 sent Topology Change Notice on Fa0/1
ASW2(config)#do sh spanning-tree 
*Mar  1 00:22:02.531: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
*Mar  1 00:22:02.531:     supersedes 32769-0022.bd89.2180
*Mar  1 00:22:02.531: STP: VLAN0001 new root is 8193, e8ed.f315.9380 on port Fa0/1, cost 38
ASW2(config)#do sh spanning-tree 

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

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Root FWD 19        128.1    P2p 


ASW2(config)#^Z
ASW2#sh 
*Mar  1 00:23:58.570: %SYS-5-CONFIG_I: Configured from console by console
ASW2#sh spa
ASW2#sh spanning-tree int f0/1 detail
 Port 1 (FastEthernet0/1) of VLAN0001 is root forwarding 
   Port path cost 19, Port priority 128, Port Identifier 128.1.
   Designated root has priority 8193, address e8ed.f315.9380
   Designated bridge has priority 32769, address 0022.bd89.2180
   Designated port id is 128.8, designated path cost 19
   Timers: message age 3, forward delay 0, hold 0
   Number of transitions to forwarding state: 1
   Link type is point-to-point by default
   BPDU: sent 503, received 215
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 222
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 223
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 223
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 224
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 224
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 225
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 225
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 225
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 226
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 226
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 226
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 227
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 230
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 230
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 231
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 232
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 233
ASW2#sh spanning-tree int f0/1 detail | inc BPDU
   BPDU: sent 503, received 234
ASW2#spa
ASW2#spann
ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#do sh span int f0/1 | in BPDU
ASW2(config)#do sh span int f0/1 detail | in BPDU
   BPDU: sent 503, received 301
ASW2(config)#do sh span int f0/1 detail | in BPDU
   BPDU: sent 503, received 302
ASW2(config)#spa                                 
ASW2(config)#spanning-tree pri
ASW2(config)#spanning-tree vl 
ASW2(config)#spanning-tree vlan 1 pri
ASW2(config)#spanning-tree vlan 1 priority 0
ASW2(config)#
*Mar  1 00:27:15.099: setting bridge id (which=1) prio 1 prio cfg 0 sysid 1 (on) id 0001.0026.ca6b.e980
ASW2(config)#
*Mar  1 00:28:13.886: STP: VLAN0001 we are the spanning tree root
*Mar  1 00:28:13.886: STP[1]: Generating TC trap for port FastEthernet0/1
*Mar  1 00:28:14.893: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
ASW2(config)#
*Mar  1 00:28:15.891: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to down
ASW2(config)#
*Mar  1 00:28:16.965: setting bridge id (which=3) prio 1 prio cfg 0 sysid 1 (on) id 0001.0026.ca6b.e980
*Mar  1 00:28:16.965: set portid: VLAN0001 Fa0/1: new port id 8001
*Mar  1 00:28:16.965: STP: VLAN0001 Fa0/1 -> listening
*Mar  1 00:28:17.501: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
ASW2(config)#
*Mar  1 00:28:18.969: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 00:28:19.976: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
ASW2(config)#
*Mar  1 00:28:31.972: STP: VLAN0001 Fa0/1 -> learning
ASW2(config)#
*Mar  1 00:28:46.979: STP[1]: Generating TC trap for port FastEthernet0/1
*Mar  1 00:28:46.979: STP: VLAN0001 Fa0/1 -> forwarding
ASW2(config)#
*Mar  1 00:29:13.361: STP: VLAN0001 we are the spanning tree root
*Mar  1 00:29:13.361: STP[1]: Generating TC trap for port FastEthernet0/1
*Mar  1 00:29:14.368: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
ASW2(config)#
*Mar  1 00:29:15.366: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to down
ASW2(config)#
*Mar  1 00:29:17.404: setting bridge id (which=3) prio 1 prio cfg 0 sysid 1 (on) id 0001.0026.ca6b.e980
*Mar  1 00:29:17.404: set portid: VLAN0001 Fa0/1: new port id 8001
*Mar  1 00:29:17.404: STP: VLAN0001 Fa0/1 -> listening
*Mar  1 00:29:17.673: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
ASW2(config)#
*Mar  1 00:29:19.409: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 00:29:20.416: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
ASW2(config)#
*Mar  1 00:29:32.412: STP: VLAN0001 Fa0/1 -> learning
ASW2(config)#
*Mar  1 00:29:41.203: set portid: VLAN0001 Fa0/4: new port id 8004
*Mar  1 00:29:41.203: STP: VLAN0001 Fa0/4 -> listening
ASW2(config)#
*Mar  1 00:29:43.208: %LINK-3-UPDOWN: Interface FastEthernet0/4, changed state to up
*Mar  1 00:29:44.214: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
ASW2(config)#
*Mar  1 00:29:47.419: STP[1]: Generating TC trap for port FastEthernet0/1
*Mar  1 00:29:47.419: STP: VLAN0001 Fa0/1 -> forwarding
ASW2(config)#
*Mar  1 00:29:56.210: STP: VLAN0001 Fa0/4 -> learning
ASW2(config)#
*Mar  1 00:30:06.646: STP: VLAN0001 we are the spanning tree root
*Mar  1 00:30:06.646: STP[1]: Generating TC trap for port FastEthernet0/1
*Mar  1 00:30:07.652: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
ASW2(config)#
*Mar  1 00:30:08.650: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to down
ASW2(config)#
*Mar  1 00:30:11.217: STP[1]: Generating TC trap for port FastEthernet0/4
*Mar  1 00:30:11.217: STP: VLAN0001 Fa0/4 -> forwarding
ASW2(config)#   
*Mar  1 00:31:09.124: STP: VLAN0001 we are the spanning tree root
*Mar  1 00:31:09.124: STP[1]: Generating TC trap for port FastEthernet0/4
*Mar  1 00:31:10.131: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
ASW2(config)#
*Mar  1 00:31:11.129: %LINK-3-UPDOWN: Interface FastEthernet0/4, changed state to down
ASW2(config)#
*Mar  1 00:31:11.204: setting bridge id (which=3) prio 1 prio cfg 0 sysid 1 (on) id 0001.0026.ca6b.e980
*Mar  1 00:31:11.204: set portid: VLAN0001 Fa0/1: new port id 8001
*Mar  1 00:31:11.204: STP: VLAN0001 Fa0/1 -> listening
*Mar  1 00:31:11.951: STP: VLAN0001 heard root  8193-e8ed.f315.9380 on Fa0/1
*Mar  1 00:31:11.959: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#
*Mar  1 00:31:12.958: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#
*Mar  1 00:31:13.209: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 00:31:14.216: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
ASW2(config)#
*Mar  1 00:31:26.212: STP: VLAN0001 Fa0/1 -> learning
ASW2(config)#
*Mar  1 00:31:41.219: STP[1]: Generating TC trap for port FastEthernet0/1
*Mar  1 00:31:41.219: STP: VLAN0001 Fa0/1 -> forwarding
*Mar  1 00:31:41.244: STP: VLAN0001 Topology Change rcvd on Fa0/1
*Mar  1 00:31:41.965: STP: VLAN0001 Topology Change rcvd on Fa0/1
ASW2(config)#sh spa
ASW2(config)#^Z    
ASW2#sh spa
ASW2#sh spanning-tree 
*Mar  1 00:32:10.218: %SYS-5-CONFIG_I: Configured from console by console
ASW2#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             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     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 


ASW2#sh spa
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 134, received 5
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 145, received 5
ASW2#
*Mar  1 00:37:56.198: STP: VLAN0001 heard root 32769-0022.bd89.2180 on Fa0/1
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 211, received 6
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 212, received 6
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 212, received 6
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 212, received 6
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 213, received 6
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 213, received 6
ASW2#sh spanning-tree int f0/1 detai | i BPDU
   BPDU: sent 214, received 6
ASW2#sh spa
ASW2#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             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     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 


ASW2#
SW1#conf t         
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int vlan 1
SW1(config-if)#ip address 172.16.0.11 255.255.255.0
SW1(config-if)#no shut
SW1(config-if)#^Z                                  
SW1#
*Mar  1 05:30:25.635: %SYS-5-CONFIG_I: Configured from console by console
SW1#
*Mar  1 05:30:52.412: STP: VLAN0001 Topology Change rcvd on Fa1/0/2
SW1#
ASW1(config-if)#do sh spanning-tree incons 

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------
VLAN0001             FastEthernet0/3          Root Inconsistent

Number of inconsistent ports (segments) in the system : 1

ASW1(config-if)#int f0/3
*Mar  1 00:44:17.410: %SPANTREE-2-ROOTGUARD_UNBLOCK: Root guard unblocking port FastEthernet0/3 on VLAN0001.
ASW1(config-if)#do sh spanning-tree incons

Name                 Interface                Inconsistency
-------------------- ------------------------ ------------------

Number of inconsistent ports (segments) in the system : 0

ASW1(config-if)#
ASW2#sh spanning-tree 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     0026.ca6b.e980
             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     0026.ca6b.e980
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.1    P2p 


ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#int vlan 1
ASW2(config-if)#ip address 172.16.0.14 255.255.255.0
ASW2(config-if)#no shut
ASW2(config-if)#^Z 
ASW2#ping
*Mar  1 00:42:34.742: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:42:35.111: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
ASW2#ping 
*Mar  1 00:42:35.119: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
ASW2#ping 172.16.0.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.11, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
ASW2#ping 172.16.0.11 repea
ASW2#ping 172.16.0.11 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.0.11, timeout is 2 seconds:
...........
Success rate is 0 percent (0/11)
ASW2#spa
ASW2#spann
ASW2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ASW2(config)#spa
ASW2(config)#no spanning-tree vlan 1 
ASW2(config)#do ping 172.16.0.11 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.0.11, timeout is 2 seconds:
......!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!.
Success rate is 99 percent (2103/2110), round-trip min/avg/max = 1/3/34 ms
ASW2(config)#do ping 172.16.0.11 repeat 100000
Type escape sequence to abort.
Sending 100000, 100-byte ICMP Echos to 172.16.0.11, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!
Success rate is 100 percent (777/777), round-trip min/avg/max = 1/3/34 ms
ASW2(config)#          

References

tech/network/cisco/stp/rootguard/rootguard.txt · Last modified: 2019/06/08 16:10 by wnoguchi