(二层Eth-Trunk接口缺省值) SW1: c #interface Eth-Trunk1port link-type trunkport trunk allow-pass vlan2to3//LACP模式mode lacp-static//基于源IP地址进行负载分担。load-balance src-dst-ip#interface Ethernet0/0/1eth-trunk1#interface Ethernet0/0/4eth-trunk1# SW2: c #interface MEth0/0/1#in...
通过dis eth-trunk 1命令查看,结果表明Eth-Trunk1工作正常。 注释:在默认情况下,Eth-Trunk的工作模式为手工负载分担模式。 3.配置交换机S1和S2之间的Eth-Trunk为Trunk 配置S1和S2大的Eth-Trunk为Trunk并允许VLAN 10和VLAN 20的流量通过,实现两台交换机之间的VLAN通信。 配置交换机S1: 4.配置Eth-Trunk的负载分担...
[S1-Eth-Trunk1]mode lacp-static 工作模式设为静态模式 [S1-Eth-Trunk1]interface g0/0/1 进入配置g0/0/1端口 [S1-GigabitEthernet0/0/1]eth-trunk 1 g0/0/1加入eth trunk 1 [S1-GigabitEthernet0/0/1]interface g0/0/2 进入配置g0/0/2端口 [S1-GigabitEthernet0/0/2]eth-trunk 1 g0/0/2加...
[LSW1]interface Eth-Trunk 1 创建Eth-Trunk 1 [LSW1-Eth-Trunk1]mode lacp-static [LSW1-Eth-Trunk1]trunkport GigabitEthernet 0/0/23 0/0/24 接口添加到Eth-Trunk 1 [LSW1-Eth-Trunk1]port link-type trunk [LSW1-Eth-Trunk1]port trunk allow-pass vlan all [LSW1-Eth-Trunk1]mode lacp-stat...
(1)配置交换机S1 (2)配置交换机S2 (3)通过dis eth-trunk1命令查看负载分担结果 (4)具体负载分担模式介绍如下 det-ip(基于目的IP地址)模式:从目的IP地址、出端口的TCP/UDP端口号中分别选择指定位的3bit数值进行异或运算,根据运算结果选择Eth-Trunk表中对应的出端口。
1.创建聚合组Eth-Trunk1 [Huawei]int Eth-Trunk 1 1. 2.开启LACP模式 [Huawei-Eth-Trunk1]mode lacp-static 1. 3.将聚合组Eth-Trunk1配置为Trunk模式允许相关vlan通过 [Huawei-Eth-Trunk1] port link-type trunk [Huawei-Eth-Trunk1] port trunk allow-pass vlan 10 ...
LSW1的eth trunk 1配置如下: 配置命令如下: [S1]Eth-Trunk1 [S1-Eth-Trunk1]mode lacp-static [S1-Eth-Trunk1]interface g0/0/1 [S1-GigabitEthernet0/0/1]eth-trunk 1 [S1-GigabitEthernet0/0/1]interface g0/0/2 [S1-GigabitEthernet0/0/2]eth-trunk 1 [S1- GigabitEthernet0/0/2]interface ...
eth-trunk 1[S2-GigabitEthernet0/0/9]quit[S2]interface GigabitEthernet 0/0/10[S2-GigabitEthernet0/0/10]eth-trunk 1 6 六、关闭交换机SW1的一个接口验证备份链路功能[S1]interface GigabitEthernet 0/0/9[S1-GigabitEthernet0/0/9]shutdown 注意事项 注意命令的先后顺序,以及输入是否正确 ...
eth-trunk 1 int g0/0/6 eth-trunk 1 int eth-trunk 1 port link-type trunk port trunk allow-pass vlan all int vlan 100 ip add 100.1.1.1 24 int g0/0/1 port link-ty acc port defa vlan 100 int g0/0/2 port link-ty trunk
SW1: <Huawei>sys [Huawei]sysname SW1 [SW1]un in en [SW1]int eth-trunk 1 [SW1-Eth-Trunk1]mode manual load-balance [SW1-Eth-Trunk1]int g0/0/1 [SW1-GigabitEthernet0/0/1]eth-trunk 1 [SW1-GigabitEthernet0/0/1]int g0/0/2 ...