华为Ethtrunk链路聚合及VLAN相关命令.docx

上传人:牧羊曲112 文档编号:3345335 上传时间:2023-03-12 格式:DOCX 页数:4 大小:36.86KB
返回 下载 相关 举报
华为Ethtrunk链路聚合及VLAN相关命令.docx_第1页
第1页 / 共4页
华为Ethtrunk链路聚合及VLAN相关命令.docx_第2页
第2页 / 共4页
华为Ethtrunk链路聚合及VLAN相关命令.docx_第3页
第3页 / 共4页
华为Ethtrunk链路聚合及VLAN相关命令.docx_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《华为Ethtrunk链路聚合及VLAN相关命令.docx》由会员分享,可在线阅读,更多相关《华为Ethtrunk链路聚合及VLAN相关命令.docx(4页珍藏版)》请在三一办公上搜索。

1、华为Ethtrunk链路聚合及VLAN相关命令S2-Eth-Trunk1interface Eth-Trunk1S2-Eth-Trunk1bpdu enableS2-Eth-Trunk1mode lacp-static然后将相应的端口加入到Eth-Trunk1接口,命令如下:S1interface g0/0/9S1eth-trunk 1S1quitS1interface g0/0/10S1eth-trunk 1S1quit端口原来是acces要改成Hybrid,要先打port default vlan 1命令,再打port link-type hybrid命令。单臂路由的子接口配置示例:int

2、erface GigabitEthernet0/0/1.2control-vid 20 dot1q-termination dot1q termination vid 2ip address 10.0.20.1 255.255.255.0arp broadcast enable超级VLAN配 置命令:vlan 100 将VLAN配置为Super-VLANaggregate-vlanaccess-vlan 10 20 将VLAN10和20作为Sub-VLAN加入VLAN100然后配IP及Arp代理:S2int Vlanif 100arp-proxy inter-sub-vlan-proxy en

3、ableMUX VLAN相关配置:全局命令vlan 100mux-vlansubordinate separate 20subordinate group 10接口命令interface GigabitEthernet0/0/4port link-type accessport default vlan 20port mux-vlan enableSTP命令:方法一:S1stp root primary 直接设定S1为根桥R2stp root secondary 直接设定S2为备份根桥方法二:S1stp priority 8192S2stp priority 4096 越小越优先,S2成为根桥

4、端口优先级设置命令:S2-GigabitEthernet0/0/10stp port priority 16MSTP配置举例:stp region-configurationregion-name RG1instance 1 vlan 1 to 10instance 2 vlan 11 to 20active region-configuration 配置实例的优先级:stp instance 1 priority 4096stp instance 2 priority 8192配置相应的交换机为相应实例的根桥:SW1stp instance 2 root primarySW1stp instance 1 root secondarySW2stp instance 1 root primarySW2stp instance 2 root secondary

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号