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 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
physical port before configuring it on the port-channel interface.
Note
Beginning in privileged EXEC mode, follow these steps to create a port-channel interface for a Layer 3
EtherChannel. This procedure is required.
SUMMARY STEPS
1.
configure terminal
2.
interface port-channel port-channel-number
3.
no switchport
4.
ip address ip-address mask
5.
end
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the port-channel logical interface, and enters
interface configuration mode.
interface port-channel port-channel-number
Example:
Switch(config)# interface port-channel 5
Step 2
For port-channel-number, the range is 1 to 48.
Puts the interface into Layer 3 mode.no switchport
Example:
Switch(config-if)# no switchport
Step 3
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
126 OL-29424-01
Configuring EtherChannels
Configuring Layer 3 EtherChannels