Configuring EtherChannels
Configuring Channel Groups
Note
•
•
•
To configure channel groups, perform this task for each LAN port:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# no ip address
Step 3
Router(config-if)# channel-protocol (lacp | pagp}
Router(config-if)# no channel-protocol
Step 4
Router(config-if)# channel-group number mode
{active | auto | desirable | on | passive}
Router(config-if)# no channel-group
Step 5
Router(config-if)# lacp port-priority
priority_value
Router(config-if)# no lacp port-priority
Step 6
Router(config-if)# end
Step 7
Router# show running-config interface type
slot/port
Router# show interfaces type
etherchannel
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to configure Fast Ethernet ports 5/6 and 5/7 into port channel 2 with PAgP
mode desirable:
Router# configure terminal
Router(config)# interface range fastethernet 5/6 -7
Router(config-if)# channel-group 2 mode desirable
Router(config-if)# end
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
13-8
When configuring Layer 3 EtherChannels, you must manually create the port channel logical
interface first (see the
"Configuring Port Channel Logical Interfaces for Layer 3 EtherChannels"
section on page
13-7), and then put the Layer 3 LAN ports into the channel group as described in
this section.
When configuring Layer 2 EtherChannels, configure the LAN ports with the channel-group
command as described in this section, which automatically creates the port channel logical interface.
You cannot put Layer 2 LAN ports into a manually created port channel interface.
For Cisco IOS to create port channel interfaces for Layer 2 EtherChannels, the Layer 2 LAN ports
must be connected and functioning.
1
slot/port
1
slot/port
Purpose
Selects a LAN port to configure.
Ensures that there is no IP address assigned to the LAN
port.
(Optional) On the selected LAN port, restricts the
channel-group command to the EtherChannel protocol
configured with the channel-protocol command.
Removes the restriction.
Configures the LAN port in a port channel and specifies
the mode (see
Table 13-1 on page
only the auto and desirable modes. LACP supports only
the active and passive modes.
Removes the LAN port from the channel group.
(Optional for LACP) Valid values are 1 through 65535.
Higher numbers have lower priority. The default is 32768.
Reverts to the default.
Exits configuration mode.
1
Verifies the configuration.
Chapter 13
Configuring EtherChannels
13-3). PAgP supports
78-14099-04