4
Command Line Interface
Syntax
interface range
Parameters
• port-channel-range — List of valid port-channels to add. Separate
nonconsecutive port-channels with a comma and no spaces. A hyphen
designates a range of port-channels.
•
— All valid port-channels.
all
Default Setting
This command has no default configuration.
Command Mode
Global Configuration mode
Command Usage
Commands under the interface range context are executed independently on
each interface in the range.
Example
The following example groups port-channels 1, 2 and 6 to receive the same
command.
Console(config)#
Related Commands
show interfaces port-channel
channel-group
The
channel-group
port with a port-channel. To remove a port from a port-channel, use the
this command.
Syntax
channel-group
no channel-group
Parameters
• port-channel_number — Specifies the number of the valid port-channel for
the current port to join.
•
— Forces the port to join a channel without an LACP operation.
on
•
— Allows the port to join a channel as a result of an LACP operation.
auto
Default Setting
The port is not assigned to a port-channel.
Command Mode
Interface Configuration (Ethernet) mode
456
{port-channel-range |
port-channel
interface range port-channel
Interface Configuration (Ethernet) mode command associates a
port-channel-number
}
all
1-2,6
{
|
}
mode
on
auto
form of
no