3-STP增強特性:Uplinkfast
二、實驗要求:
1、SW1、SW2、SW3連接後,查看VLAN10的阻塞端口;
2、斷開上行鏈路後,查看阻塞端口NDP需要多長時間變為根端口RP,並進入:Fwarding狀態?
3、在該交換機下部署Uplinkfast命令,再次查看需要多長時間進入:Fwarding?
三、命令部署:
1、創建VLAN10
SW1#vlan database
SW1(vlan)#vlan 10
2、將接口變為Trunk、封裝dot1q
SW1(config)#int range f0/0 - 1
SW1(config-if-range)#switchport trunk encapsulation dot1q
SW1(config-if-range)#switchport mode trunk
3、SW3的f0/0接口shutdown,驗證是否需要30S f0/1接口才能起來:
SW3(config)#int f0/0
SW3(config-if)#shutdown
4、SW3交換機上部署Uplinkfast,驗證f0/1接口是否可以秒變Fwarding:
SW3(config)#spanning-tree uplinkfast
5、部署Debug命令:
SW3#debug spanning-tree uplinkfast
Spanning Tree uplinkfast debugging is on
SW3(config)#no spanning-tree uplinkfast
SW3(config)#
四、驗證:
1、未部署命令前:
SW3#show spanning-tree vlan 10 brief
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
FastEthernet0/0 128.1 128 19 FWD 0 32768 cc11.9464.0001 128.1
FastEthernet0/1 128.2 128 19 BLK 19 32768 cc12.9464.0001 128.2
2、SW3的f0/0接口shutdown後,f0/1需要30s進入Fwarding狀態:
SW3#show spanning-tree vlan 10 brief
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
FastEthernet0/1 128.2 128 19 LIS 19 32768 cc12.9464.0001 128.2
SW3#show spanning-tree vlan 10 brief
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
FastEthernet0/1 128.2 128 19 LRN 19 32768 cc12.9464.0001 128.2
SW3#show spanning-tree vlan 10 brief
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
FastEthernet0/1 128.2 128 19 FWD 19 32768 cc12.9464.0001 128.2
3、SW3交換機上部署Uplinkfast:
SW3#show spanning-tree vlan 10 brief
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
FastEthernet0/1 128.2 128 3019 FWD 19 32768 cc12.9464.0001 128.2
3-STP增強特性:Uplinkfast