Switch V1.0试验分解指南 目录: 1、VLAN创建 P3 2、交换机端口操作模式设置 P5 3、VLAN端口划分 P7 4、VTP设置 P8 5、STP实验 P12 6、PVST+&RSTP P15 7、STP防护 P17 8、SVI实验 P19 9、etherchannel P21 10、HSRP P24 11、DHCP P27 12、dhcp中继 P29 13、IP SLA实验 P31 14、port-Security P33 15、基于端口的802.1x P35 16、dynamic ARP inspect P41 17、VLAN ACL P43
需求:
1、确保PC和服务器间通信路径最短 (注:橙色端口为阻塞端口)
三、实验配置
配置:
1、查看生成树
SW1#show spanning-tree (查看生成树) VLAN0001 (VLAN1 的生成树实例)
Spanning tree enabled protocol ieee (生成树的模式为802.1D标准生成树) Root ID Priority 32769 (指示生成树根的Root ID,SW1为根桥)
Address 0004.9A8B.7C69
This bridge is the root (指示此交换机为Vlan1生成树的根)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec (生成树计时器)
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1) (指示此交换机的BridgeID) Address 0004.9A8B.7C69
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20
Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- --------------------------------
Fa0/21 Desg FWD 19 128.21 P2p (端口角色、状态及端口优先级) Fa0/22 Desg FWD 19 128.22 P2p
SW3#show spanning-tree (SW3为非根桥) VLAN0001
Spanning tree enabled protocol ieee Root ID Priority 32769
Address 0004.9A8B.7C69 Cost 19
Port 22(FastEthernet0/22)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1) Address 00E0.A39D.C5A3
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec