interface port-channel
To access or create a port channel, use the
interface port-channel
command in global configuration mode.
Use the
no
form of this command to remove the port channel.
interface port-channel port-channel-number
no interface port-channel
Syntax Description
Channel group number. The range is 1 to 128.
port-channel-number
Command Default
No port channel logical interfaces are defined.
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Cisco IOS XE 3.2SE
Usage Guidelines
For Layer 2 EtherChannels, you do not have to create a port-channel interface before assigning physical ports
to a channel group. Instead, you can use the
channel-group
interface configuration command, which
automatically creates the port-channel interface when the channel group obtains its first physical port. If you
create the port-channel interface 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.
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.
Caution
Follow these guidelines when you use the
interface port-channel
command:
Layer 2/3 Command Reference, Cisco IOS XE Release 3E (Cisco WLC 5700 Series)
OL-32323-01
27
Layer 2/3 Commands
interface port-channel