Users Guide
configuration becomes the common speed of the port channel. If the other interfaces configured in that
port channel are configured with a different speed, the system disables them.
Configuration Tasks for Port Channel Interfaces
To configure a port channel (LAG), use the commands similar to those found in physical interfaces. By
default, no port channels are configured in the startup configuration.
These are the mandatory and optional configuration tasks:
• Creating a Port Channel (mandatory)
• Adding a Physical Interface to a Port Channel (mandatory)
• Reassigning an Interface to a New Port Channel (optional)
• Configuring the Minimum Oper Up Links in a Port Channel (optional)
• Adding or Removing a Port Channel from a VLAN (optional)
• Assigning an IP Address to a Port Channel (optional)
• Deleting or Disabling a Port Channel (optional)
• Load Balancing Through Port Channels (optional)
Creating a Port Channel
You can create up to 128 port channels with 16 port members per group on the switch.
To configure a port channel, use the following commands.
1. Create a port channel.
CONFIGURATION mode
interface port-channel id-number
2. Ensure that the port channel is active.
INTERFACE PORT-CHANNEL mode
no shutdown
After you enable the port channel, you can place it in Layer 2 or Layer 3 mode. To place the port channel
in Layer 2 mode use the switchport command, or configure and IP address to place the port channel in
Layer 3 mode.
NOTE: L3 is not supported on port extender (PE) ports or on port-channels when they have PE
ports as members.
You can configure a port channel as you would a physical interface by enabling or configuring protocols
or assigning access control lists.
Adding a Physical Interface to a Port Channel
The physical interfaces in a port channel can be on any line card in the chassis, but must be the same
physical type.
You can add any physical interface to a port channel if the interface configuration is minimal. You can
configure only the following commands on an interface if it is a member of a port channel:
• description
• shutdown/no shutdown
480
Interfaces