Etherchannel 配置

端口聚合协议(PAgP)--------思科私有

和链路聚合控制协议(LACP)---------IEEE 802.3ad

wKiom1S_0WfD_7z_AABokc5EeIA512.jpg

PAgP模式

desirable:主动询问对端是否参与

Auto:被动等待对端

SW1
SW2
channel establishment
on on

yes

auto/desirable
desirable

yes

on/auto/desirable
no configured
no
on
desirable
no
auto/on
auto
no


LACP模式

Active:主动询问另一端是否能参与

Passive:被动等候另一端

SW1 SW2 channel establishment
on on yes
acitve/passive active

yes

on/active/passive
no configured
no
on
active no
passive/on
passive
no


基于LACP配置ehterchannel

SW1

S1(config)#interface range fa0/1-2

S1(config-if-range)#channel-group 1 mode active

S1(config-if-range)#interface port-channel 1

S1(config-if)#switchport trunk encapsulation dot1q

S1(config-if)#switchport mode trunk

S1(config-if)#switchport trunk allowed vlan all


SW2

S2(config)#interface range fa0/1-2

S2(config-if-range)#channel-group 1 mode active

S2(config-if-range)#interface port-channel 1

S2(config-if)#switchport trunk encapsulation dot1q

S2(config-if)#switchport mode trunk

S2(config-if)#switchport trunk allowed vlan all


验证

wKioL1S_0J3gzzCfAAFFUHDcQLk508.jpg


wKiom1S_0E_wSf6hAAGXKKsY11s682.jpg


wKiom1S_0ROBFPVcAAHVM5v36Mo955.jpg

你可能感兴趣的:(链路聚合,etherchannel)