Portfast & Uplinkfast
2006-12-21 05:54
357 查看
sw1# show spanning-tree brief
VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address cc00.0394.0000
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768
Address cc00.0394.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/8 128.9 128 19 FWD 0 32768 cc00.0394.0000 128.9
FastEthernet0/9 128.10 128 19 FWD 0 32768 cc00.0394.0000 128.10
sw2#sh span br
VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address cc00.0394.0000
Cost 19
Port 9 (FastEthernet0/8)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768
Address cc00.082c.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/8 128.9 128 19 FWD 0 32768 cc00.0394.0000 128.9
FastEthernet0/9 128.10 128 19 BLK 0 32768 cc00.0394.0000 128.10
1, portfast
在R3上使用扩展的PING命令
R3#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands
:
Sweep range of sizes
:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
在SW2的F0/3端口上启用PORTFAST前,
sw2(config)#int f 0/3
sw2(config)#shut
sw2(config)#no shut
上面黄色区域就是在关闭再启用F0/3端口后,R3PING通R1所用的时间间隔
在SW2的F0/3端口上启用PORTFAST
sw2(config-if)#spanning-tree portfast
sw2(config-if)#shut
sw2(config-if)#no shut
上面红色区域就是在关闭再启用F0/3端口后,R3PING通R1所用的时间间隔
2,UPLINKFAST
在R3上使用扩展的PING命令
R3#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands
:
Sweep range of sizes
:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
启用UPLINKFAST前
sw2(config)#int f 0/8
sw2(config-if)#shut
sw2(config)-if#no shut
上面的黄色区域表示在关闭再启用F0/8端口后,R3PING通R1所用的时间间隔
启用UPLINKFAST
sw2(config)#spanning-tree uplinkfast
sw2(config)#int f 0/8
sw2(config-if)#shut
sw2(config-if)#no shut
上面的红色区域表示在关闭再启用F0/8端口后,R3PING通R1所用的时间间隔
实验拓扑
VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address cc00.0394.0000
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768
Address cc00.0394.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/8 128.9 128 19 FWD 0 32768 cc00.0394.0000 128.9
FastEthernet0/9 128.10 128 19 FWD 0 32768 cc00.0394.0000 128.10
sw2#sh span br
VLAN1
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address cc00.0394.0000
Cost 19
Port 9 (FastEthernet0/8)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768
Address cc00.082c.0000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Designated
Name Port ID Prio Cost Sts Cost Bridge ID Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/8 128.9 128 19 FWD 0 32768 cc00.0394.0000 128.9
FastEthernet0/9 128.10 128 19 BLK 0 32768 cc00.0394.0000 128.10
1, portfast
在R3上使用扩展的PING命令
R3#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands
:
Sweep range of sizes
:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
在SW2的F0/3端口上启用PORTFAST前,
sw2(config)#int f 0/3
sw2(config)#shut
sw2(config)#no shut
上面黄色区域就是在关闭再启用F0/3端口后,R3PING通R1所用的时间间隔
在SW2的F0/3端口上启用PORTFAST
sw2(config-if)#spanning-tree portfast
sw2(config-if)#shut
sw2(config-if)#no shut
上面红色区域就是在关闭再启用F0/3端口后,R3PING通R1所用的时间间隔
2,UPLINKFAST
在R3上使用扩展的PING命令
R3#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands
:
Sweep range of sizes
:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
启用UPLINKFAST前
sw2(config)#int f 0/8
sw2(config-if)#shut
sw2(config)-if#no shut
上面的黄色区域表示在关闭再启用F0/8端口后,R3PING通R1所用的时间间隔
启用UPLINKFAST
sw2(config)#spanning-tree uplinkfast
sw2(config)#int f 0/8
sw2(config-if)#shut
sw2(config-if)#no shut
上面的红色区域表示在关闭再启用F0/8端口后,R3PING通R1所用的时间间隔
实验拓扑
相关文章推荐
- NA-NP-IE系列实验49:portfast、uplinkfast、backbonefast
- PortFast, UplinkFast和BackboneFast学习
- CCNA实验十二 STP之PortFast、UplinkFast、BackBoneFast
- PortFast, UplinkFast和BackboneFast比较
- 思科加强生成树性能的属性(Portfast /Uplinkfast/BackboneFast)与RSTP的关系 推荐
- Uplinkfast / Backbonefast / Portfast
- STP增强-PortFast-UplinkFast-BackboneFast
- Spanning-Tree Uplinkfast
- 直接链路故障&uplinkfast 间接链路故障backbonefast
- STP增强-PortFast-UplinkFast-BackboneFast
- uplinkfast
- Cisco Switch Uplinkfast and Backbonefast
- 思科交换机Portfast和Uplinkfast配置实验
- Portfast、uplinkfast、backbonefast
- PortFast, UplinkFast和BackboneFast学习
- 68、PortFast、UplinkFast、BackboneFast简介
- 思科交换机Portfast和Uplinkfast配置实验
- uplinkfast 与 backbonefast
- 思科交换机Portfast和Uplinkfast配置实验 推荐
- portfast和UplinkFast的理解