HCIA-以太网聚合实验

实验拓扑:

2b67244cf8646e11736c5332c38f4f9

实验配置:

手工模式:

SW1:

interface Eth-Trunk 1

mode manual load-balance

interface g0/0/1

eth-trunk 1

interface Eth-Trunk 1

trunkport g 0/0/2 to 0/0/3

SW2:

interface Eth-Trunk 1

mode manual load-balance

trunkport g 0/0/1 to 0/0/3

lacp模式:

SW1:

interface Eth-Trunk 1

undo trunkport g 0/0/1 to 0/0/3

mode lacp

trunkport g 0/0/1 to 0/0/3

q

lacp pri 100

interface Eth-Trunk 1

max active-linknumber 2

least active-linknumber 2

lacp pri 40000

lacp preempt enable(设置完优先级后再开启,不然无法生效)

SW2:

interface Eth-Trunk 1

undo trunkport g 0/0/1 to 0/0/3

mode lacp

trunkport g 0/0/1 to 0/0/3

max active-linknumber 2

least active-linknumber 2

lacp pri 40000

lacp preempt enable

模拟链路断掉:

int g0/0/3

shutdown

修改负载分担模式:

interface Eth-Trunk 1

load-balance dst-ip

实验结果验证:

f0c8ca9ee43a5d0db7326d4c5905d66

b07cf6b6b7ba42b3cb9b50e21be9e53

daeaa7d18459532fbc1329ab1994691

155510cba2037fe193e4f9b7feceb6e

posted @ 2025-08-01 14:18  快乐小狗小杰  阅读(13)  评论(0)    收藏  举报