Users Guide

Layer 2 Switching Commands 676
console(config-if-Gi1/0/5)# channel-group 1 mode on
The following example shows how port gi1/0/6 is configured to port-channel 2
with LACP (dynamic LAG).
console(config)# interface gigabitethernet 1/0/6
console(config-if-Gi1/0/6)# channel-group 2 mode active
interface port-channel
Use the interface port-channel command in Global Configuration mode to
enter port-channel configuration mode.
Syntax
interface
port-channel port-channel-number
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
Port channel numbers range from 1 to 128 for all switches except the N1500
which supports 64 port channels.
Example
The following example enters the context of port-channel 1.
console(config)# interface port-channel 1
console(config-if-po1)#
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
interface range port-channel {port-channel-range | all}