이 작업은 스위치 대상에서 실행되는 SEFOS에 대한 RSTP 구성의 트래픽 플로우를 보여줍니다. 또한 토폴로지에 루프가 있는지 여부를 확인하며, 루프가 발견될 경우 대체 포트에 대해 트래픽이 차단되는지 여부를 확인합니다.
이 작업에 대한 토폴로지는 Switching Feature Topology를 참조하십시오.
Configure Initial Settings을 참조하십시오.
Configure VLAN Forwarding을 참조하십시오.
SEFOS-1# show spanning-tree Root Id Priority 32768 Address 00:14:4f:6c:63:0f Cost 0 Port 0 [0] Max Age 20 Sec, Forward Delay 15 Sec Spanning tree Protocol Enabled. Bridge is executing the rstp compatible Rapid Spanning Tree Protocol Bridge Id Priority 32768 Address 00:14:4f:6c:63:0f Cost 0 Port 0 [0] Max Age 20 Sec, Forward Delay 15 Sec Spanning tree Protocol Enabled. Bridge is executing the rstp compatible Rapid Spanning Tree Protocol Bridge Id Priority 32768 Address 00:14:4f:6c:63:0f Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Dynamic Path Cost is Disabled Dynamic Path Cost Lag-Speed Change is Disabled Name Role State Cost Prio Type ---- ---- ----- ---- ---- ---- X10/1 Designated Forwarding 2000 128 P2P X10/2 Designated Forwarding 2000 128 P2P X10/21 Designated Forwarding 2000 128 P2P X10/22 Designated Forwarding 2000 128 P2P ...
SEFOS-2# show spanning-tree Root Id Priority 32768 Address 00:14:4f:6c:63:0f Cost 4000 Port X10/1 Max Age 20 Sec, Forward Delay 15 Sec Spanning tree Protocol Enabled. Bridge is executing the rstp compatible Rapid Spanning Tree Protocol Bridge Id Priority 32768 Address 00:14:4f:6c:6e:0e Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Dynamic Path Cost is Disabled Dynamic Path Cost Lag-Speed Change is Disabled Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ X10/1 Designated Forwarding 2000 128 P2P X10/21 root Forwarding 2000 128 P2P X10/22 Alternate Discarding 2000 128 P2P ...
# ping -s 20.0.0.30
트래픽이 SEFOS-1의 xl-ethernet 0/21 포트를 거쳐 SEFOS-2 포트 21로 전달됩니다.
SEFOS-2# configure terminal SEFOS-2(config)# int xl 0/1 SEFOS-2(config)# shut SEFOS-2(config)# exit SEFOS-2# show spanning-tree Root Id Priority 32768 Address 00:14:4f:6c:69:0f Cost 4000 Port Xl0/2 Max Age 20 Sec, Forward Delay 15 Sec Spanning tree Protocol Enabled. Bridge is executing the rstp compatible Rapid Spanning Tree Protocol Bridge Id Priority 32768 Address 00:14:4f:6c:6e:0e Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Dynamic Path Cost is Disabled Dynamic Path Cost Lag-Speed Change is Disabled Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Xl0/2 root Forwarding 2000 128 P2P Xl0/25 root Forwarding 2000 128 P2P Xl0/25 root Forwarding 2000 128 P2P ...
# ping 20.0.0.30
트래픽이 SEFOS-1의 xl-이더넷 0/2 포트를 거쳐 전달되어야 합니다. RSTP가 작동 중일 경우 포트 상태가 변경됩니다.