2013年8月22日 星期四

port channel , channel group

------------------
基本上只要這樣設定
config t
int g1/0/1
channel-group 1 mode active

int g1/0/2
channel-group 1 mode active

int port-channel 1
設定/功能如一般port



--------------------
L3 switch

config t
int g1/0/1
switch mode access
channel-group 2 mode active

int g1/0/2
switch mode access
channel-group 2 mode active
------
interface GigabitEthernet1/0/17,20
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1,17
 switchport mode trunk
 channel-group 3 mode active

-----------------------

Switch(config-if)#channel-group 1 mode ?

  active         Enable LACP unconditionally
  auto           Enable PAgP only if a PAgP device is detected
  desirable    Enable PAgP unconditionally
  on              Enable Etherchannel only
  passive      Enable LACP only if a LACP device is detected
-----------------------

switch(config)# lacp system-priority 32768

Configures the system priority for use with LACP. Valid values are 1 through 65535, and higher numbers have lower priority. The default value is 32768.

------------------------
switch(config-if)# lacp port-priority priority

Configures the port priority for use with LACP. Valid values are 1 through 65535, and higher numbers have lower priority. The default value is 32768.

------------------------

沒有留言: