Spring中的aware接口详情
308
2022-09-24
路由交换学习第九天:边缘端口&BPDU保护&链路聚合(边缘计算路由器)
配置边缘端口和开启BPDU保护:
[HW-SW3]stp bpdu-protection //SW3开启全局BPDU保护[HW-SW3]interface GigabitEthernet 0/0/1 //配置g0/0/1口[HW-SW3-GigabitEthernet0/0/1]stp edged-port disable //不开启边缘端口[HW-SW3-GigabitEthernet0/0/1]int g 0/0/3 //配置g0/0/3口[HW-SW3-GigabitEthernet0/0/3]stp edged-port disable //不开启边缘端口[HW-SW3]stp edged-port default //开启全局边缘端口
***//开启全局bpdu保护前需要把trunk链路不开启边缘端口
[HW-SW3]display cu | i stpstp edged-port defaultstp mode stpstp bpdu-protectionstp edged-port disablestp edged-port disable
================================================
静态聚合:[HW-SW1]int Eth-Trunk 12 //创建Eth-Trunk 12[HW-SW1-Eth-Trunk12]trunkport g 0/0/5 to 0/0/6 //绑定端口5和6
[HW-SW2]int Eth-Trunk 12 //创建Eth-Trunk 12[HW-SW2-Eth-Trunk12]trunkport g 0/0/5 to 0/0/6 //绑定端口5和6
[HW-SW2-Eth-Trunk12]shutdown //关闭端口[HW-SW2-Eth-Trunk12]undo shutdown //开启端口[HW-SW2-Eth-Trunk12]port link-type trunk //修改Eth-Trunk12为 trunk[HW-SW2-Eth-Trunk12]port trunk allow-pass vlan all //允许所以VLAN通过[HW-SW2]dis eth-trunk 12 //查看eth-trunk 12配置信息Eth-Trunk12's state information is:WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2
PortName Status Weight GigabitEthernet0/0/5 Up 1 GigabitEthernet0/0/6 Up 1
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~