链路聚合
目的
1、理解链路聚合
2、会配置(LACP)
实现方式
1、在思科设备
-
私有的PAgP
2、标准的
-
基于802.3ad的LACP
3、链路聚合的模式
-
active (LACP的主动模式)
-
passive (LACP被动模式)
-
auto (PAgP主动模式)
-
desirable (PAgP被动模式)
-
on (以太网通道)
二、基于IEEELACP
1、交互信息
-
本端和对端系统优先级、
-
本端和对端系统ID、
-
本端和对端的端口操作key、
-
本端和对端的端口优先级、
-
本端和对端的端口ID、
-
本端和对端的端口状态
2、配置
-
指定汇聚协议
-
需要先进入端口(如果只有一个端口,就直接进入一个端口,如果多个端口,就进入范围端口)
-
channel-protocol lacp
-
-
指定聚合模式
channel-group 1 mode active
-
将聚合通道配置为trunk
int prot-channel 1 sw mo tr
-
示例:
en
conf t
int range f0/1-2
channel-protocol lacp
channel-group 1 mode active
exit
int port-channel 1
sw mode trunk