Specifications
2-221
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
interface port-channel
interface port-chan nel
To access or create a port-channel interface, use the interface port-channel command.
interface port-channel channel-group
Syntax Description
Defaults This command has no default settings.
Command Modes Global configura tion mode
Usage Guidelines You do not have to create a port-channel interface before assigning a physical inte rface to a channel
group. A port-channel interface is created automatically when the channel group gets its first physical
interface, if it is not already created.
You can also create the port channels by entering th e interface port-channel command. This will create
a Layer 3 port channel. To change the Layer 3 port cha nnel into a Layer 2 port channe l, use the
switchport command before you assign the physical interfa ces to the channel group. A por t channel
cannot be changed from Layer 3 to Layer 2 or vice versa when it contains membe r ports.
Only one port channel in a channel group is a llowed.
Caution The Layer 3 port-channel interface is the routed interface. Do not enable Layer 3 addresses on the
physical Fast E thernet i nterfaces .
If you want to use CDP, you must configure it only on the physic al Fast Ethernet inter face and not on
the port-channel interface.
Examples This example creates a port-channel interface with a channel-group number of 64:
Switch(config)# interface port-channel 64
Switch(config)#
Related Commands
channel-group Port-channel group number; valid valu es are from 1 to 64.
Command Description
channel-group Assigns and configures an EtherChannel interface to an
EtherChannel group.
show etherchannel Displays EtherChannel information for a channel.