
30-11
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 30 Configuring EtherChannels
Configuring EtherChannels
This example shows how to assign Gigabit Ethernet interfaces 0/4 and 0/5 as static-access ports in
VLAN 10 to channel 5 with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/4 -5
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode desirable
Switch(config-if-range)# end
Configuring Layer 3 EtherChannels
To configure Layer 3 EtherChannels, you create the port-channel logical interface and then put the
Ethernet interfaces into the port-channel as described in the next two sections.
Creating Port-Channel Logical Interfaces
When configuring Layer 3 EtherChannels, you must manually create the port-channel logical interface
first by using the interface port-channel global configuration command. Then, you put the logical
interface into the channel group by using the channel-group interface configuration command.
Note
To move an IP address from a physical interface to an EtherChannel, you must delete the IP address from
the physical interface before configuring it on the port-channel interface.
Beginning in privileged EXEC mode, follow these steps to create a port-channel interface for a Layer 3
EtherChannel:
To remove the port-channel, use the no interface port-channel port-channel-number global
configuration command.
This example shows how to create the logical port channel (5) and assign 172.10.20.10 as its IP address:
Switch# configure terminal
Switch(config)# interface port-channel 5
Switch(config-if)# no switchport
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface port-channel port-channel-number
Enter interface configuration mode, and create the
port-channel logical interface.
For port-channel-number, the range is 1 to 64.
Step 3
no switchport
Put the interface into Layer 3 mode.
Step 4
ip address ip-address mask
Assign an IP address and subnet mask to the EtherChannel.
Step 5
end
Return to privileged EXEC mode.
Step 6
show etherchannel channel-group-number detail
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Step 8
Assign an Ethernet interface to the Layer 3 EtherChannel.
For more information, see the