标签:etherchannel 链路聚合
端口聚合协议(PAgP)--------思科私有
和链路聚合控制协议(LACP)---------IEEE 802.3ad
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
验证
本文出自 “小li同学” 博客,请务必保留此出处http://ljclee.blog.51cto.com/9538192/1606829
标签:etherchannel 链路聚合
原文地址:http://ljclee.blog.51cto.com/9538192/1606829