2009.12--EtherChannel

兩臺交換機之間是否形成EtherChannel也可以用協議自動協商。目前有兩個協商協議:PAGP和LACP,前者是CISCO專有的協議,而LACP是公共的標準。
 
LACP協商的規律
                ON      active      passive
ON           √            ×               ×
active       ×           √               √
passive    ×           √                ×
 
PAGP協商的規律
               ON      Desirable     auto
ON           √            ×                ×
desirable ×            √                √
auto         ×            √                ×
 
要想把接口配置爲PAGP 的desirable 模式使用命令:“channel-group 1 mode desirable”;
要想把接口配置爲PAGP 的auto 模式使用命令:“channel-group 1 mode auto”;
要想把接口配置爲LACP 的active 模式使用命令:“channel-group 1 mode active”;
要想把接口配置爲LACP 的passive 模式使用命令:“channel-group 1 mode passive”。
 
端口通道負載均衡  port-channel load-balance
sw1(config)#port-channel load-balance ?
  dst-ip       Dst IP Addr
  dst-mac      Dst Mac Addr
  src-dst-ip   Src XOR Dst IP Addr
  src-dst-mac  Src XOR Dst Mac Addr
  src-ip       Src IP Addr
  src-mac      Src Mac Addr
 
 
sw1#show etherchannel summary
Flags:  D - down        P - in port-channel
        I - stand-alone s - suspended
        R - Layer3      S - Layer2
        U - in use
Group Port-channel  Ports
-----+------------+-----------------------------------------------------------
1     Po1(SD)     Fa0/0(s)   Fa0/1(s) 
 
 
sw1#show etherchannel load-balance
 Po1 ---> Source XOR Destination IP address
 
備註:
1、以太網通道最多可以捆綁8條物理鏈路
2、捆綁遵循以下規則:
       (1)相同VLAN
       (2)端口中繼模式
       (3)相同speed和duplex
 
 
 
 
 
 
 
 
 
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章