链路技术 华为命令手册(路由交换)

2020年05月05日 · 技术帮助分享 · 网络工程 · 749次阅读

------正---文------

链路聚合


[S1]interface Eth-Trunk 1  //聚合交换机之间的Eth-Trunk端口编号相等
[S1-Eth-Trunk1]mode lacp-static  //lacp模式
[S1-Eth-Trunk1]trunkport GigabitEthernet 0/0/1 to 0/0/2  //将成员端口加入到聚合端口中
[S1-Eth-Trunk1]max active-linknumber 2  //设置活动上限阀值
[S1-Eth-Trunk1]port link-type trunk 
[S1-Eth-Trunk1]port trunk allow-pass vlan all
[S1-Eth-Trunk1]dis eth-trunk 1 verbose  //查看聚合端口的信息
[S1] lacp priority 100  //配置系统优先级使其成为主控端
[S1-G0/0/1] lacp priority 100  //配置活动链路优先级
[S1-G0/0/2] lacp priority 100  //配置活动链路优先级


Smart Link


[S1-G0/0/1]stp disable  //关掉相关接口的STP
[S1]smart-link group 1
[S1-smlk-group1]port GigabitEthernet 0/0/1 master  //设置主端口
[S1-smlk-group1]port g0/0/2 slave  //设置从端口
[S1-smlk-group1]flush send control-vlan 10 password simple 123  
//使能smart link组1发送Flush帧的功能,携带的控制VLAN编号为10,密码是:123

[S1-smlk-group1]restore enable  //开启回切功能
[S1-smlk-group1]timer wtr 30  //回切时间为30秒
[S1-smlk-group1]smart-link enable  //使能Smart Link组1的功能
[S1-smlk-group1]dis smart-link group 1  //查看Smart Link组1的信息

[S2-GigabitEthernet0/0/1]smart-link flush receive control-vlan 10 password simple 123  
//设置其他交换机可以接收和处理携带控制VLAN编号是10的Flush帧



------结---束------

推广:AI工具网 | 专注人工智能工具推荐!
『静谧星河』采用《署名-相同方式共享 4.0 国际》进行许可。如需转载请保留本文地址。
本文地址:
https://www.yuvin.cn/help/281.html
AD

支持我

教程帮助设置网工华为

静谧星河最后编辑于4年前


因本站不提供交互式服务,评论均需审核后显示,敬请谅解。

添加新评论

captcha

请输入验证码