2 二、进入CRT之后,连接到交换机,配置交换机信息(个人喜欢简打命令,没有补全命令,希望见谅)<Huawei>sysEnter system view, return user view with Ctrl+Z.[Huawei]sys sw1<Huawei>sysEnter system view, return user view with Ctrl+Z.[Huawei]sys sw2 3 三、配置基本的eth-trunk(创建eth-trunk)[S1]...
#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#interface Eth-Trunk1port link-type trunk...
[S1-Eth-Trunk1]port link-type trunk [S1-Eth-Trunk1]port trunk allow-pass vlan 10 100 [S1-Eth-Trunk1]load-balance src-dst-mac [S1-Eth-Trunk1]quit S2 [S2]interface Eth-trunk 1 [S2-Eth-Trunk1]trunkport g 0/0/1 to 0/0/2 Info: This operation may take a few seconds. Please w...
在系统视图下,创建一个Eth-Trunk接口;输入命令mode manual load-balance,指定为手工负载分担模式;在进入相应的接口后,再将该接口加入到聚合接口Eth-Trunk 1 上。 [Huawei]int Eth-Trunk 1[Huawei-Eth-Trunk1]mode manual load-balance[Huawei]int g0/0/1[Huawei-GigabitEthernet0/0/1]Eth-Trunk 1 例配置两个...
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 ...
ip route-static 192.168.50.0 255.255.255.0 101.1.1.1 ip route-static 0.0.0.0 0 12.1.1.2 acl number 2000 rule permit source 192.168.10.0 0.0.0.255 rule permit source 192.168.20.0 0.0.0.255 rule permit source 192.168.30.0 0.0.0.255 rule permit source 192.168.40.0 0.0.0.255 ...
Interface eth-trunk 1 Port link-type trunk Port trunk allow-pass vlan 10 20 30 5、 配置生成树协议 将LSW5、LSW8设置为根桥 在LSW5(LSW8同理) Stp enable Stp mode stp 6、 静态路由 在LSW5中 Vlan 1 Qu Interface vlanif 1 Ip address 172.16.1.1 24 ...
基础接口IP已经配置完成 1、配置eth-trunk和vlan,以SW2为例,SW3、SW4、SW5类似。 接入层交换机配置 SW2配置 #创建vlan vlan batch1020999#配置Eth-Trunk interface Eth-Trunk2 port link-type trunk port trunk allow-pass vlan1020999stp instance0cost10000mode lacp-static#端口加入eth-trunk ...
(1)配置交换机S1 (2)配置交换机S2 (3)通过dis eth-trunk1命令查看负载分担结果 (4)具体负载分担模式介绍如下 det-ip(基于目的IP地址)模式:从目的IP地址、出端口的TCP/UDP端口号中分别选择指定位的3bit数值进行异或运算,根据运算结果选择Eth-Trunk表中对应的出端口。