Configuring EtherChannels
This example shows how to configure an EtherChannel. It assigns two ports as static-access ports in
VLAN 10 to channel 5 with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode desirable non-silent
Switch(config-if-range)# end
This example shows how to configure an EtherChannel. It assigns two ports as static-access ports in
VLAN 10 to channel 5 with the LACP mode active:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode active
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 ports into the port-channel as described in the next two sections.
Creating Port-Channel Logical Interfaces
When configuring Layer 3 EtherChannels, you should first manually create the port-channel logical
interface 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.
To move an IP address from a physical port to an EtherChannel, you must delete the IP address from the
Note
physical port 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. This procedure is required.
Command
Step 1
configure terminal
Step 2
interface port-channel port-channel-number
Step 3
ip address ip-address mask
Step 4
end
Step 5
show etherchannel channel-group-number detail
Step 6
copy running-config startup-config
Step 7
Cisco ME 3800X and 3600X Switch Software Configuration Guide
28-12
Purpose
Enter global configuration mode.
Specify the port-channel logical interface, and enter interface
configuration mode.
For port-channel-number, the range is 1 to 26.
Assign an IP address and subnet mask to the EtherChannel.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Assign an Ethernet port to the Layer 3 EtherChannel. For
more information, see the
Interfaces" section on page
Chapter 28
Configuring EtherChannels
"Configuring the Physical
28-13.
OL-23400-01
Need help?
Do you have a question about the 3845 - Security Bundle Router and is the answer not in the manual?
Questions and answers