聚合链路PAGP

聚合链路:

聚合链路协议:
PAGP(端口聚合和协议)
cisco专有
LACP(链路聚合协议)
公共标准
PAGP协商规律: desirable表示主动协商 ,Auto表示被动协商,on表示强制端口不使用PAGP或LACP进行协商来形成 EtherChannel。(是表示可以建立隧道,否则反之)
模式
on
desirable
auto
auto
LACP协商规律: ative表示主动协商 ,Passive表示被动协商,on表示强制端口不使用PAGP进行协商来形成 EtherChannel。(是表示可以建立隧道,否则反之)
ative
passive
passive

display: inline-block; " alt="" src="file:///C:/Users/lovexm/AppData/Local/youdao/ynote/images/EDAE3BC1B3A146C6A2704DEE0912EBF6/FE886E26DC7C4916A5BE182106CD3347.jpg">

下面我就用PAGP协议配置:


display: inline-block; " alt="" src="file:///C:/Users/lovexm/AppData/Local/youdao/ynote/images/EDAE3BC1B3A146C6A2704DEE0912EBF6/FE886E26DC7C4916A5BE182106CD3347.jpg">

SW1(config)# int range f0/1 -2
SW1(config-if-range)#channel-protocol pagp //指定通道的协议类型
SW1(config-if-range)# channel-group 1 mode desirable //创建port-channel端口,并为端口定义模式
SW1(config)# int port-channel 1 //进入通道1
SW1(config-if)#switchport trunk encapsulation dot1q
SW1(config-if)#switchport mode trunk
SW2(config)# int range f0/1 -2
SW2(config-if-range)#channel-protocol pagp //指定通道的协议类型
SW2(config-if-range)# channel-group 1 mode desirable //创建port-channel借口,并为端口定义模式
SW2(config)# int port-channel 1 //进入通道1
SW2(config-if)#switchport trunk encapsulation dot1q
SW2(config-if)#switchport mode trunk
其他的协议大致也是这样配置的。
几种查看命令:
show etherchannel port-channel //查看etherchannel 的工作状态
show etherchannel summary //查看etherchannel的汇总信息

相关文章

迭代器模式(Iterator)迭代器模式(Iterator)[Cursor]意图...
高性能IO模型浅析服务器端编程经常需要构造高性能的IO模型,...
策略模式(Strategy)策略模式(Strategy)[Policy]意图:定...
访问者模式(Visitor)访问者模式(Visitor)意图:表示一个...
命令模式(Command)命令模式(Command)[Action/Transactio...
生成器模式(Builder)生成器模式(Builder)意图:将一个对...