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.
Syntax Description
port-channel-number
Defaults
No port-channel logical interfaces are defined.
Command Modes
Global configuration
Command History
Release
12.1(6)EA2
Usage Guidelines
Only one port channel in a channel group is allowed.
Follow these guidelines when you use the interface port-channel command:
•
•
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
Command
channel-group
show etherchannel
show running-config
Catalyst 2950 Desktop Switch Command Reference
2-66
interface port-channel port-channel-number
no interface port-channel port-channel-number
Port-channel number. The range is 1 to 6.
Modification
This command was first introduced.
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.
Description
Assigns an Ethernet interface to an EtherChannel group.
Displays EtherChannel information for a channel.
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
Chapter 2
Cisco IOS Commands
78-11381-05