关于eth-trunk链路聚合的建立

<Huawei>u t m (关闭提示)
Info: Current terminal monitor is off.
<Huawei>sys (进入系统视图)
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sw3(更改名字为SW3)
[sw3]vlan batch 10 20(批量创建vlan10 20)
[sw3]int e0/0/1(j进入端口w0/0/1)
[sw3-Ethernet0/0/1]port link-type access (设置端口模式为accesss)
[sw3-Ethernet0/0/1]port default vlan 10(端口属于vlan10)
[sw3-Ethernet0/0/1]q(退出)
[sw3]interface Eth-Trunk 1(创建eth-trunk1)
[sw3-Eth-Trunk1]mode lacp-static (设置模式为lacp模式)
[sw3-Eth-Trunk1]trunkport e0/0/3(加入端口)
[sw3-Eth-Trunk1]trunkport e0/0/4    
[sw3-Eth-Trunk1]port link-type trunk (设置端口模式为trunk)
[sw3-Eth-Trunk1]port trunk allow-pass vlan all (允许所有vlan通过)
[sw3-Eth-Trunk1]q
二层其他交换机对应此操作

三层交换机

[Huawei]vlan batch 10 20 (批量创建vlan)
[Huawei]interface Eth-Trunk1 (创建eth)
[Huawei-Eth-Trunk1]mode lacp-static 
[Huawei-Eth-Trunk1]trunkport g0/0/3
[Huawei-Eth-Trunk1]trunkport g0/0/4
[Huawei-Eth-Trunk1]port link-type trunk 
[Huawei-Eth-Trunk1]port trunk allow-pass vlan all
[Huawei-Eth-Trunk1]q
[Huawei]interface Eth-Trunk 2
[Huawei-Eth-Trunk2]mode lacp-static 
[Huawei-Eth-Trunk2]trunkport g0/0/5
[Huawei-Eth-Trunk2]trunkport g0/0/6
[Huawei-Eth-Trunk2]port link-type trunk 
[Huawei-Eth-Trunk2]port trunk allow-pass vlan all
[Huawei-Eth-Trunk2]q
[Huawei]interface Eth-Trunk 3
[Huawei-Eth-Trunk3]mode lacp-static 
[Huawei-Eth-Trunk3]trunkport g0/0/7
[Huawei-Eth-Trunk3]trunkport g0/0/8    
[Huawei-Eth-Trunk3]port link-type trunk 
[Huawei-Eth-Trunk3]port trunk allow-pass vlan all
[Huawei-Eth-Trunk3]q
其他三层交换机参照此操作

最后dis eth-trunk 查看
 Status 显示 Selected 即可
最后pc 1ping pc 3 pcping pc4 通即可

可以将在交换机间添加线路,来测试eth-trun的功能 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值