Administrator Guide

Layer 2 Switching Commands 647
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
User Guidelines
Port channel numbers range from 1 to 128.
Example
The following example enters the context of port-channel 1.
2CSNXXX_SWUM204.book Page 647 Monday, January 25, 2016 1:25 PM