165
3. Enter port-channel configuration mode.
Command Explanation
Global Mode
interface port-channel <port-channel-number>
Enters port-channel
configuration mode.
5.2.2 Command for port channel
5.2.2.1 debug lacp
Command:debug lacp
no debug lacp
Function:
Enables the LACP debug function: “
no debug lacp”
command disables this
debug function
.
Command mode:
Admin Mode
Default:
LACP debug information is disabled by default.
Usage Guide:
Use this command to enable LACP debugging so that LACP packet
processing information can be displayed.
Example:
Enable LACP debug.
Switch#
debug lacp
5.2.2.2 port-group
Command:port-group <port-group-number> [load-balance { src-mac|dst-mac |
dst-src-mac | src-ip| dst-ip|dst-src-ip}]
no port-group <port-group-number> [load-balance]
Function:
Creates a port group and sets the load balance method for that group. If no
method is specified, the default load balance method is used. The “
no port-group
<port-group-number> [load-balance]
” command deletes that group or restores the
default load balance setting. Enter “load-balance” for restoring default load balance,
Command Explanation
Interface Mode
port-group
<port-group-number> mode
{active|passive|on}
no port-group <port-group-number>
Adds ports to the port group
and sets their mode.