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

d 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 2210677 bytes, 13133 multicasts, 241 broadcasts, 0 pauses 17511 packets input 1504252 bytes, 2373 multicasts, 240 broadcasts, 0 pauses 0 FCS errors 0 long frames SwitchC(config)show interface e0/9 Ether0/9 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), 2, 4 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 27603 packets output 2182362 bytes, 12321 multicasts, 357 broadcasts, 0 pauses 18249 packets input 1537891 bytes, 3171 multicasts, 126 broadcasts, 0 pauses 0 FCS errors 0 long frames 在 SwitchB 上注册 VLAN610,在 SwitchD 上注册 VLAN1115,在 SwitchE 上注册 VLAN1620。 用 “show interface”命令和 “show vlan” 命令来观察每个 trunk 端口的 VLAN 注册状态。 复习 GVRP 原理并说明原因。 在 SwitchA 上配置 VLAN2 的接口地址为 ,配置 VLAN3 的接口地址为 ,配置 VLAN4 的接口地址为。 配置 PCA 和 PCC 的网关为 , PCB 的网关为 , PCD 的网关为。 试着在 PC 机之间互相 Ping,看是 否能 Ping 通。 然后在 SwitchA 上配置 ACL 来限制 VLAN2 和 VLAN3 内的 PC 机相互通信。 配置 RouterA 接口 S0 的 IP 地址为 ,并在 RouterA 和 SwitchA 上启动 OSPF。 试着在任意一台 PC 上 PingRouterA 接口 S0 的 IP 地址,测试 PC 机和 RouterA 之间的通信。 用 “show ip route” 命令来观察 OSPF 路由。 配置如下: SwitchAshow runningconfig Building running configuration... Current configuration is : ! hostname SwitchA rulemap l3 1to2 flowaction 1to2 deny acl 1to2 1to2 1to2 accessgroup 1to2 spanningtree enable linkaggregation Ether0/1 to Ether0/2 ingressegress linkaggregation Ether0/9 to Ether0/10 ingressegress gvrp enable ! interface Aux0/0 ! vlan 1 ! vlan 2 ! vlan 3 ! vlan 4 ! interface Ether0/1 作者: admin 发布时间: 2020418 9:51:18 trunk all。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。