2-121
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch 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. 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
For Layer 2 EtherChannels, you do not have to create a port-channel first before assigning a physical
port to a channel group. Instead, you can use the
channel-group
interface configuration command. It
automatically creates the port-channel when the channel group gets its first physical port. If you create
the port-channel first, the
channel-group-number
can be the same as the
port
-
channel-number,
or you
can use a new number. If you use a new number, the
channel-group
command dynamically creates a
new port channel.
You create Layer 3 port channels by using the
interface port-channel
command followed by the
no
switchport
interface configuration command. You should manually configure the port-channel logical
interface before putting the interface into the channel group.
Only one port channel in a channel group is allowed.
Caution
When using a port-channel interface as a routed port, do not assign Layer 3 addresses on the physical
ports that are assigned to the channel group.
Caution
Do not assign bridge groups on the physical ports in a channel group used as a Layer 3 port-channel
interface because it creates loops. You must also disable spanning tree.
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
port and not on the port-channel.
•
Do not configure a port that is an active member of an EtherChannel as an 802.1x port. If 802.1x is
enabled on a not-yet active port of an EtherChannel, the port does not join the EtherChannel.
port-channel-number
Port-channel number. The range is 1 to12.
Release
Modification
12.1(14)AX
This command was introduced.