Example
The following example shows how port 1/g5 is configured to port-channel number 1 without
LACP .
console(config)# interface ethernet 1/g5
console(config-if-1/g5)# channel-group 1 mode on
interface port-channel
Use the interface port-channel command in Global Configuration mode to configure a
port-channel type and enter port-channel configuration mode.
Syntax
port-channel-number
interface port-channel
port-channel-number — A valid port-channel trunk index.
•
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example enters the context of port-channel number 1.
console(config)# interface port-channel 1
console(config-if-ch1)#
interface range port-channel
Use the interface range port-channel command in Global Configuration mode to execute a
command on multiple port channels at the same time.
Syntax
port-channel-range
interface range port-channel {
|all}
376
Port Channel Commands