mac
Commands for Port Channel
135
8.5 lacp timeout
Command: lacp timeout {short | long}
no lacp timeout
Function: Set the timeout mode of LACP protocol.
Parameters: The timeout mode includes long and short.
Command mode: Port Mode
Default: Long.
Usage Guide: Set the timeout mode of LACP protocol.
Example: Set the timeout mode as short in LACP protocol.
Switch(Config-If-Ethernet1/1)#lacp timeout short
8.6 load-balance
Command: load-balance {src-mac | dst-mac | dst-src-mac | src-ip | dst-ip |
dst-src-ip}
Function: Set load-balance mode for port-group.
Parameter: src-mac performs load-balance according to the source MAC
dst-mac performs load-balance according to the destination MAC
dst-src-mac performs load-balance according to the source and destination
MAC
src-ip performs load-balance according to the source IP
dst-ip performs load-balance according to the destination IP
dst-src-ip performs load-balance according to the destination and source IP
Command mode: Aggregation port mode.
Default: Perform load-balance according to the source and destination MAC.
Usage Guide: Use port-channel to implement load-balance, user can configure the
load-balance mode according to the requirements. If the specific load-balance mode of
the command line is different with the current load-balance mode of port-group, then
modify the load-balance of port-group as the specific load-balance of command line;
otherwise return a message to notice that the current mode is already configured.
Example: Set load-balance mode of port-group.
Switch(config)#interface port-channel 1
Switch(Config-If-Port-Channel1)#load-balance src-mac










