LACP configuration settings

任务 Command Example

Setting the LACP mode to active or passive.

lacp模式{主动|被动}

switch(config-lag-if)#lacp mode active

Setting the LACP mode to off.

no lacp mode {active | passive}

switch(config-lag-if)#no lacp mode active

Setting the hash type.

For 6100 and 8400 Switch Series:

lacp hash [l2-src-dst | l3-src-dst | l4-src-dst]

For 8320, 8325, 6200, 6300, and 6400 Switch Series:

hash [l2-src-dst | l3-src-dst]

For 6100 and 8400 Switch Series:

switch(config)#lacp hash l2-src-dst

For 8320, 8325, 6200, 6300, and 6400 Switch Series:

switch(config-lag-if)#hash l2-src-dst

Setting the LACP rate to fast.

lacp rate fast

switch(config)#interface lag 1

switch(config-lag-if)#lacp rate fast

Setting the LACP rate to slow.

lacp rate slow

switch(config)#interface lag 1

switch(config-lag-if)#lacp rate slow

:ying shutdown on the LAG port.

shutdown

switch(config)#interface lag 1

switch(config-lag-if)#shutdown

Resetting every interface in the LAG to the default (up)

没有关闭

switch(config-lag-if)#没有关闭