31-13
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter31 Configuring EtherChannels 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 fastethernet0/1 -2
Switch(config-if-range)# port-type nni
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 Et herCh an ne ls, y ou cr eat e t he p ort - chan nel l ogic al in ter face an d th en pu t t he
Ethernet ports into the port-channel as described in the next two sections.
Note The switch must be running the metro IP access image to sup por t L ayer 3 po rt s.

Creating Port-Channel Logical Interfaces

When configuring Layer 3 EtherChannels, you should first manually create the port-channel logic al
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.
Note To move an IP address from a physical port to an EtherChannel, you must delete the IP address from the
physical port before configuring it on the port-channel i nte rface .
Beginning in privileged EXEC mode, follow these steps to create a port-channel interface for a Layer 3
EtherChannel. This procedure is required.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface port-channel port-channel-number Specify the port-channel logical interface, and enter interface
configuration mode.
For port-channel-number, the range is 1 to 48.
Step3 no shutdown Enable the port, if necessary. By default, UNIs are disabled,
and NNIs are enabled.
Step4 no switchport Put the interface into Layer 3 mode.
Step5 ip address ip-address mask Assign an IP address and subnet mask to the EtherChannel.