2-123
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
interface port-channel
interface port-channel
Use the interface port-channel global configuration command to access or create the port-channel
logical interface for Layer 2 interfaces. Use the no form of this command to remove the port channel.
interface port-channel port-channel-number
no interface port-channel port-channel-number
Syntax Description
Defaults No port-channel logical interfaces are defined.
Command Modes Global configuration
Command History
Usage Guidelines Only one port channel in a channel group is allowed.
Follow these guidelines when you use the interface port-channel command:
• If you want to use the Cisco Discovery Protocol (CDP), you must configure it only on the physical
interface and not on the port-channel interface.
• On the port-channel interface, if you do not assign a static MAC address or if you assign a static
MAC address and then later remove it, the switch automatically assigns a MAC address to the
interface.
Examples This example shows how to create a port-channel interface with a port-channel number of 5:
Switch(config)# interface port-channel 5
You can verify your settings by entering the show running-config or show etherchannel
channel-group-number detail privileged EXEC command.
Related Commands
port-channel-number Port-channel number. The range is 1 to 6.
Release Modification
12.1(6)EA2 This command was introduced.
Command Description
channel-group Assigns an Ethernet interface to an EtherChannel group.
show etherchannel Displays EtherChannel information for a channel.
show running-config Displays the configuration information running on the switch. For syntax
information, select Cisco IOS Configuration Fundamentals Command
Reference for Release 12.1 > Cisco IOS File Management Commands >
Configuration File Commands.