36-16
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter36 Configuring EtherChannels and Link-State Tracking
Configuring EtherChannels
Beginning in privileged EXEC mode, follow these steps to create a port-channel interface for a Layer 3
EtherChannel. This procedure is required.
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
Switch(config-if)# ip address 172.10.20.10 255.255.255.0
Switch(config-if)# end
Configuring the Physical Interfaces
Beginning in privileged EXEC mode, follow these steps to assign an Ethernet port to a Layer3
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 switchport Put the interface into Layer 3 mode.
Step4 ip address ip-address mask Assign an IP address and subnet mask to the EtherChannel.
Step5 end Return to privileged EXEC mode.
Step6 show etherchannel channel-group-number detail Verify your entries.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Step8 Assign an Ethernet port to the Layer 3 EtherChannel. For
more information, see the “Configuring the Physical
Interfaces” section on page 36-16.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify a physical port, and enter interface configuration mode.
Valid interfaces include physical ports.
For a PAgP EtherChannel, you can configure up to eight ports of
the same type and speed for the same group.
For a LACP EtherChannel, you can configure up to 16 Ethernet
ports of the same type. Up to eight ports can be active, and up to
eight ports can be in standby mode.
Step3 no ip address Ensure that there is no IP address assigned to the physical port.
Step4 no switchport Put the port into Layer 3 mode.