端口聚合下vlan之间数据的传递

在这里插入图片描述
sw3:undo terminal monitor
Info: Current terminal monitor is off.
system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname 1
[1]user-interface console 0
[1-ui-console0]idle-timeout 0 0
[1-ui-console0]quit
[1]int Eth-Trunk 1
[1-Eth-Trunk1]p
[1-Eth-Trunk1]port link-type trunk
[1-Eth-Trunk1]port trunk allow-pass vlan 2
[1-Eth-Trunk1]quit
[1]int e0/0/1
[1-Ethernet0/0/1]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[1-Ethernet0/0/1]int e0/0/2
[1-Ethernet0/0/2]eth
[1-Ethernet0/0/2]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[1-Ethernet0/0/2]int e0/0/3
[1-Ethernet0/0/3]eth
[1-Ethernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[1-Ethernet0/0/3]int e0/0/4
[1-Ethernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[1-Ethernet0/0/4]undo shutdown
Info: Interface Ethernet0/0/4 is not shutdown.
[1-Ethernet0/0/4]quit
[1]vlan batch 2
Info: This operation may take a few seconds. Please wait for a moment…done.
[1]int e0/0/5
[1-Ethernet0/0/5]port link-type access
[1-Ethernet0/0/5]port default vlan 2
[1-Ethernet0/0/5]quit
[1]display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/5 DESI FORWARDING NONE
0 Eth-Trunk1 DESI FORWARDING NONE
[1]display eth-trunk 1
Eth-Trunk1’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: 4

PortName Status Weight
Ethernet0/0/1 Up 1
Ethernet0/0/2 Up 1
Ethernet0/0/3 Up 1
Ethernet0/0/4 Up 1
sw4
undo terminal monitor
Info: Current terminal monitor is off.
system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname 2
[2]user-interface console 0
[2-ui-console0]idle-timeout 0 0
[2-ui-console0]quit
[2]int Eth-Trunk 1
[2-Eth-Trunk1]port link-type trunk
[2-Eth-Trunk1]port trunk allow-pass vlan 2
[2-Eth-Trunk1]quit
[2]int e0/0/1
[2-Ethernet0/0/1]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[2-Ethernet0/0/1]int e0/0/2
[2-Ethernet0/0/2]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[2-Ethernet0/0/2]int e0/0/3
[2-Ethernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[2-Ethernet0/0/3]int e0/0/4
[2-Ethernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[2-Ethernet0/0/4]undo shutdown
Info: Interface Ethernet0/0/4 is not shutdown.
[2-Ethernet0/0/4]quit
[2]vlan batch 2
Info: This operation may take a few seconds. Please wait for a moment…done.
[2]int e0/0/5
[2-Ethernet0/0/5]port hybrid pvid vlan 2
[2-Ethernet0/0/5]port hybrid untagged vlan 2
[2-Ethernet0/0/5]undo shutdown
Info: Interface Ethernet0/0/5 is not shutdown.
[2-Ethernet0/0/5]quit
[2]display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/5 DESI FORWARDING NONE
0 Eth-Trunk1 ROOT FORWARDING NONE
[2]dis eth-trunk 1
Eth-Trunk1’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: 4

PortName Status Weight
Ethernet0/0/1 Up 1
Ethernet0/0/2 Up 1
Ethernet0/0/3 Up 1
Ethernet0/0/4 Up 1
备注
链路捆绑端口范围 2-8 条
应记命令
 [1]int Eth-Trunk 1
[1-Eth-Trunk1]p 
[1-Eth-Trunk1]port link-type trunk  
[1-Eth-Trunk1]port trunk allow-pass vlan 2(自定义,可以修改)
display eth-trunk 1
display stp brief

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值