CLI Guide

Layer 2 Switching Commands 683
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
This command has no user guidelines.
Example
The following example shows how port gi1/0/5 is configured in port-channel 1
without LACP
(static LAG)
.
console(config)# interface gigabitethernet 1/0/5
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