|
|
2
Use the channel-group command to assign and configure an EtherChannel interface to an EtherChannel group. Use the no form of this command to remove the channel-group configuration from the interface.
channel-group port-channel-number mode {on | auto [non-silent] | desirable [non-silent]}
Syntax Description
port-channel-number Keyword and variable to specify the port-channel group number; valid values are from 1 to 256. mode Keyword to specify the EtherChannel mode of the interface. on Keyword to force the port to channel without PAgP. auto Keyword to place a port into a passive negotiating state, in which the port responds to PAgP packets it receives but does not initiate PAgP packet negotiation. non-silent (Optional) Keyword used with the auto or desirable mode when traffic is expected from the other device. desirable Keyword to place a port into an active negotiating state, in which the port initiates negotiations with other ports by sending PAgP packets.
Defaults
The default is no channel groups are assigned.
Command Modes
Interface configuration mode.
Usage Guidelines
You do not have to create a port-channel interface before assigning a physical interface 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 do not have to disable the IP address that is assigned to a physical interface that is part of a channel-group, but it is highly recommended.
You can create both Layer 2 and Layer 3 port-channels by entering the interface port-channel command or, when the channel-group gets its first physical interface assignment. The port-channels are not created at runtime or dynamically.
Any configuration or attribute changes you make to the port-channel interface are propagated to all interfaces within the same channel-group as the port-channel (for example, configuration changes are also propagated to the physical interfaces that are not part of the port-channel, but are part of the channel-group).
With the on mode, a usable EtherChannel exists only when a port group in on mode is connected to another port group in on mode.
![]() |
Caution Do not enable Layer 3 addresses on the physical EtherChannel interfaces. Do not assign bridge groups on the physical EtherChannel interfaces because it creates loops. |
Examples
This example shows how to add EtherChannel interface 1/0 to the EtherChannel group specified by port-channel 1:
Router(config-if)#channel-group 1 mode onRouter(config-if)#
Related Commands
interface port-channel
show interfaces port-channel (refer to Cisco IOS documentation)
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Jul 20 15:35:24 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.