Cisco 3560x-24p 参考指南
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
2-208
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
interface port-channel
interface port-channel
Use the interface port-channel global configuration command on the switch stack or on a standalone
switch to access or create the port-channel logical interface. Use the no form of this command to remove
the port-channel.
switch 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 interface 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 interface when the channel group gets 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.
physical port to a channel group. Instead, you can use the channel-group interface configuration
command. It automatically creates the port-channel interface when the channel group gets 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.
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.
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.
interface because it creates loops. You must also disable spanning tree.
port-channel-number
Port-channel number. The range is 1 to 48.
Release
Modification
12.2(53)SE2
This command was introduced.