屏幕截图 2021-08-02 150158.png

交换机1-sw1的配置:

sysname sw1
#
interface Eth-Trunk1
 mode lacp-static 
 load-balance src-dst-mac
 max active-linknumber 2
#
interface GigabitEthernet0/0/3
 shutdown
 eth-trunk 1
#
interface GigabitEthernet0/0/4
 eth-trunk 1
#
interface GigabitEthernet0/0/5
 eth-trunk 1
#

交换机2-sw2的配置:

#
sysname sw2

# 

interface Eth-Trunk1
mode lacp-static
max active-linknumber 2

# 

interface GigabitEthernet0/0/3
eth-trunk 1

# 

interface GigabitEthernet0/0/4
eth-trunk 1

# 

interface GigabitEthernet0/0/5
eth-trunk 1

# 

路由器1-R1的配置:

sysname R1interface Eth-Trunk1
undo portswitch
ip address 200.1.1.1 255.255.255.0
load-balance dst-ipinterface GigabitEthernet0/0/0
eth-trunk 1interface GigabitEthernet0/0/1
eth-trunk 1interface GigabitEthernet0/0/2
ip address 192.168.1.254 255.255.255.0ip route-static 0.0.0.0 0.0.0.0 200.1.1.2

路由器2-R2的配置:

interface Eth-Trunk1
undo portswitch
ip address 200.1.1.2 255.255.255.0
load-balance dst-ipsysname R2interface GigabitEthernet0/0/0
eth-trunk 1interface GigabitEthernet0/0/1
eth-trunk 1interface GigabitEthernet0/0/2
ip address 192.168.2.254 255.255.255.0ip route-static 0.0.0.0 0.0.0.0 200.1.1.1

注释:

1、dis eth-trunk1
2、dis interface trunk 1
3、dis port vlan
4、备份测试和负载测试
5、ping包连通性测试
6、trunkport GigabitEthernet 0/0/1

最后修改:2023 年 05 月 02 日
如果觉得我的文章对你有用,请随意赞赏