方法/步骤 1 一、搭建本次实验的环境和拓扑、以及ip地址本次采用的华为交换机S5700系列的交换机,用的CRT连接到交换机的,关于CRT的经验下次出一个 2 二、进入CRT之后,连接到交换机,配置交换机信息(个人喜欢简打命令,没有补全命令,希望见谅)<Huawei>sysEnter system view, return user view with Ctrl+Z.[...
src-dst-ip:基于源IP地址与目的IP地址进行负载分担。(三层Eth-Trunk接口缺省值,在此可不配置) src-dst-mac:基于源MAC地址与目的MAC地址进行负载分担。(二层Eth-Trunk接口缺省值) SW1: c #interface Eth-Trunk1port link-type trunkport trunk allow-pass vlan2to3//LACP模式mode lacp-static//基于源IP地址...
port link-type trunk port trunk allow-pass vlan1020999stp instance0cost10000mode lacp-static#端口加入eth-trunk2 interface GigabitEthernet0/0/1eth-trunk2#其他eth-trunk配置类似 配置用户网关 #SW1interfaceVlanif10 ip address192.168.10.1255.255.255.0#三层交换机和路由器对接interfaceGigabitEthernet0/0/24...
[Huawei-Eth-Trunk1]port trunk allow-pass vlan 10 1. 2. 3. 4. 5. 查看方法和LSW1一样,这样就配置好了手动的聚合。 配置完成后,即使中间有一条链路断开,设备都可以检测到这一点,并不会使数据传输失败,数据会从没有断开的链路传输。 连通性测试 在两台交换机中创建vlan 10 并给vlan 10 配置ip,交换...
1、eth-trunk配置: LSW1: sy un in en (关闭信息提示) interface Eth-Trunk1 port link-type trunk port trunk allow-pass vlan 2 to 4094 trunkport g 0/0/1 to 0/0/3 加入端口 LSW2: sy un in en (关闭信息提示) interface Eth-Trunk1 ...
(1)配置交换机S1 (2)配置交换机S2 (3)通过dis eth-trunk1命令查看负载分担结果 (4)具体负载分担模式介绍如下 det-ip(基于目的IP地址)模式:从目的IP地址、出端口的TCP/UDP端口号中分别选择指定位的3bit数值进行异或运算,根据运算结果选择Eth-Trunk表中对应的出端口。
1.配置基本的eth-trunk(创建eth-trunk)并且配置eth-trunk的工作模式为lacp 3.指定聚合端口的链路类型并允许指定的vlan数据通过 3.将交换机的端口加入到eth-trunk接口里 4.将pc加入到VLAN并连接交换机 设置好PC IP后测试 总指令列表 [sw2]Vlan 10 [sw2]Eth-Trunk 1 ...
配置静态路由 [LSW2]ip route-static 0.0.0.0 0.0.0.0 192.168.200.1 [LSW2]ip route-static 0.0.0.0 0.0.0.0 192.168.100.1 [LSW2]interface Eth-Trunk 1 创建Eth-Trunk 1 [LSW2-Eth-Trunk1]trunkport GigabitEthernet 0/0/23 0/0/24 接口添加到Eth-Trunk 1 [LSW2-Eth-Trunk1]...
# 父接口配置链路聚合 子接口配置ip地址 interface Eth-Trunk7 undo portswitch mode lacp-static lacp preempt enable max active-linknumber 2 lacp preempt delay 10 # interface Eth-Trunk7.1 dot1q termination vid 200 ip address 10.100.200.254 255.255.255.0 ...