电脑计算机论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 460|回复: 0

链路聚合 manual和LACP-static模式举例

[复制链接]
admin 发表于 2022-10-13 20:24:00 | 显示全部楼层 |阅读模式
一、手动链路聚合
实验1:
1.png
手动链路聚合
[SW1]INT Eth-Trunk 1
[SW1-Eth-Trunk1]trunkport G 0/0/1
[SW1-Eth-Trunk1]trunkport G 0/0/2
[SW1-Eth-Trunk1]trunkport G 0/0/3

手动链路聚合
[SW2]INT Eth-Trunk 1
[SW2-Eth-Trunk1]trunkport G 0/0/1
[SW2-Eth-Trunk1]trunkport G 0/0/2
[SW2-Eth-Trunk1]trunkport G 0/0/3

实验2:

二、动态链路聚合LACP
2.png
SW3]INT Eth-Trunk 1
[SW3-Eth-Trunk1]mode lacp-static
[SW3-Eth-Trunk1]trunkport G 0/0/1
[SW3-Eth-Trunk1]trunkport G 0/0/2
[SW3-Eth-Trunk1]trunkport G 0/0/3

SW4]INT Eth-Trunk 1
[SW4-Eth-Trunk1]mode lacp-static
[SW4-Eth-Trunk1]trunkport G 0/0/1
[SW4-Eth-Trunk1]trunkport G 0/0/2
[SW4-Eth-Trunk1]trunkport G 0/0/3

lacp
1、要求:
可以两条链路工作,另一条链路备份
LACP 优先级最小的sw为主交换机。

[SW3]lacp priority 0 //优先级设置
[SW3-Eth-Trunk1]max active-linknumber 2 // 最大链条为可激活链路数两条链路

2、要求:
做备份的链路是g0/0/1

接口下,LACP优先级最大的,会优先成为备份的接口

SW3-GigabitEthernet0/0/1]lacp priority 60000
[SW3-Eth-Trunk1]lacp preempt enable //开启抢占机制
[SW3-Eth-Trunk1]lacp preempt delay 10 //抢占延时 10 s


您需要登录后才可以回帖 登录 | 注册

本版积分规则


QQ|手机版|小黑屋|电脑计算机论坛 ( 京ICP备2022023538号-1 )

GMT+8, 2024-5-5 23:20 , Processed in 0.078193 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表