cto下载-华为交换机配置手册共38页内容摘要:

让学员学会如何远程配置交换机以及如何保护交换机不受非法登录。 让学员学会交换机的其他配置,例如:端口聚合、 ACL、端口监控。 让学员具备在三层交换机和路由器上 配置 OSPF 动态路由协议的能力,使得交换网中的 PC 机能访问外部广域网或 Inter。 实验环境 Quidway S3026 以太网交换机 4 台, Quidway S3526 以太网交换机 1 台 Quidway 2501 路由器 1 台, PC 机 4 台,标准网线 13 根 Quidway S3026 软件版本: V100R002B01D011; Bootrom 版本: Quidway S3526 软件版本: V100R001B02D006; Bootrom 版本: Quidway 2501 路由器 VRP 版本 : VRP 以上 作者: admin 发布时间: 2020418 9:49:23 实验步骤 如上图所示将设备互连起来,并给每台 PC机配置好 IP 地址。 分配给 PC 机的 IP 地址如下: PCA: PCB: PCC: PCD: 掩码: 如上图所示配置四台 PC 机属于相关的 VLAN。 配置端口聚合使得 SwitchA 和 SwitchB、 SwitchA 和 SwitchC 之间的带宽为 200Mbps。 配置某些端口为 trunk 端口并允许以上的所有 VLAN 通过。 在所有交换机的 trunk 端口上配置 GVRP,使得 VLAN 信息能被动态注册。 在所有交换机上配置 STP 以避免由于交换机之间的路径回环而产生 “ 广播风暴 ”。 然后测试同一 VLAN 间的 PC 机能否正常 Ping 通。 用 “show spanning tree” 命令观察生成树的状态。 以下是 SwitchA( S3526)的生成树状态: SwitchAshow spanningtree statistics e0/1 The bridge is executing the IEEE Rapid Spanning Tree protocol The bridge has priority 32768, MAC address: Configured Hello Time 2, Max Age 20, Forward Delay 15 Root Bridge has priority 32768, MAC address Path cost to root bridge is 0 Port 1 (Ether0/1) of bridge is Forwarding Spanning tree protocol is enabled The port is a DesignatedPort Port path cost 180 Port priority 128 Designated bridge has priority 32768, MAC address Configured as a nonedge port Connected to a pointtopoint LAN segment Maximum transmission limit is 3 BPDUs per hello time Times: Hello Time 2, Max Age 20 Forward Delay 15, Message Age 0 sent BPDU: 8584 TCN: 0, RST: 8584, Config BPDU: 0 received BPDU: 7657 TCN: 0, RST: 7657, Config BPDU: 0 SwitchA show spanningtree statistics e0/9 The bridge is executing the IEEE Rapid Spanning Tree protocol The bridge has priority 32768, MAC address: Configured Hello Time 2, Max Age 20, Forward Delay 15 Root Bridge has priority 32768, MAC address Path cost to root bridge is 0 Port 9 (Ether0/9) of bridge is Forwarding Spanning tree protocol is enabled The port is a DesignatedPort Port path cost 180 Port priority 128 Designated bridge has priority 32768, MAC address Configured as a nonedge port Connected to a pointtopoint LAN segment Maximum transmission limit is 3 BPDUs per hello time Times: Hello Time 2, Max Age 20 Forward Delay 15, Message Age 0 sent BPDU: 6563 TCN: 0, RST: 6563, Config BPDU: 0 received BPDU: 5377361 TCN: 0, RST: 5377361, Config BPDU: 0 作者: admin 发布时间: 2020418 9:51:05 以下是 SwitchB( S3026)的生成树状态: SwitchBenable SwitchB show spanningtree interface e0/1 The bridge is executing the IEEE Rapid Spanning Tree protocol The bridge has priority 32768, MAC address: Configured Hello Time 2, Max Age 20, Forward Delay 15 Root Bridge has priority 32768, MAC address Path cost to root bridge is 180 Port 1 (Ether0/1) of bridge is Forwarding Spanning tree protocol is enabled The port is a RootPort Port path cost 180 Port priority 128 Designated bridge has priority 32768, MAC address Configured as a nonedge port Connected to a pointtopoint LAN segment Maximum transmission limit is 3 BPDUs per hello time Times: Hello Time 2, Max Age 20 Forward Delay 15, Message Age 0 sent BPDU: 9 TCN: 0, RST: 9, Config BPDU: 0 received BPDU: 3903 TCN: 0, RST: 3903, Config BPDU: 0 你可以通过观察所有这些端口的信息来描述这棵生成树。 还可以用 “debug stp packet” 命令来进一步观察 STP 生成的 BPDU 信息: 以下是 debug 信息: SwitchAdebug stp packet SwitchAterminal debug *: Port0: Sent Packet *: Protocol Identifier: 0000 Protocol Version ID: 02 BPDU Type: 02 Flags: 2c Root Identifier: Root Path Cost: 0000 Bridge Identifier: Port Identifier: Message Age: 0000 Max Age: 1400 Hello Time: 0200 Forward Delay: 0f00 Version 1 Length: 00 改变交换机的一些配置参数,例如 priority、 path cost、 hello time、 max age、 forward delay、 bridge diameter。 然后用上面的命令观察生成树的变化。 用 “show interface” 命令观察每台交换机上 trunk 端口的 VLAN 注册状态。 下面是 GVRP 注册状态的结果: SwitchC(config)show interface e0/10 Ether0/10 is up Hardware is Fast Ether, Hardware address is Autoduplex(Full), Autospeed(100M), 100_BASE_TX Flow control is disabled Broadcast maxratio is 100 PVID is 1 Mdi type: auto It is a vlan trunking port, vlan(s) passing this port: 1(default vlan), 23 vlan(s) allowed to pass this port: 1(default vlan), 24000 It is not a monitor port It doesn\39。 t belong to a portaggregation 28287 packets output。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。