12-8
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 12 Configuring EtherChannels
Configuring EtherChannels
With Release 12.2(18)SXE and later releases, the
group_number
can be 1 through 256, up to a maximum
of 128 port-channel interfaces. With releases earlier than Release 12.2(18)SXE, the
group_number
can
be 1 through 256, up to a maximum of 64 port-channel interfaces.
This example shows how to create port channel interface 1:
Router#
configure terminal
Router(config)#
interface port-channel 1
Router(config-if)#
ip address 172.32.52.10 255.255.255.0
Router(config-if)#
end
This example shows how to verify the configuration of port channel interface 1:
Router#
show running-config interface port-channel 1
Building configuration...
Current configuration:
!
interface Port-channel1
ip address 172.32.52.10 255.255.255.0
no ip directed-broadcast
end
Router#
Configuring Channel Groups
Note
•
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 12-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.
To configure channel groups, perform this task for each LAN port:
Command
Purpose
Step 1
Router(config)#
interface
type
1
slot/port
Selects a LAN port to configure.
Step 2
Router(config-if)#
no ip address
Ensures that there is no IP address assigned to the LAN
port.
Step 3
Router(config-if)#
channel-protocol
(
lacp
|
pagp
}
(Optional) On the selected LAN port, restricts the
channel-group
command to the EtherChannel protocol
configured with the
channel-protocol
command.
Router(config-if)#
no channel-protocol
Removes the restriction.