22-14
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 22 Configuring EtherChannel and Link State Tracking
Configuring EtherChannel
This example shows how to verify the configuration:
Switch# show lacp sys-id
23456,0050.3e8d.6400
Switch#
The system priority is displayed first, followed by the MAC address of the switch.
Configuring EtherChannel Load Balancing
Note Load balancing can only be configured globally. As a result, all channels (manually configured, PagP,
or LACP) use the same load-balancing method.
To configure EtherChannel load balancing, perform this task:
The load-balancing keywords indicate these values:
src-mac—Source MAC addresses
dst-mac—Destination MAC addresses
src-dst-mac—Source and destination MAC addresses
src-ip—Source IP addresses
dst-ip—Destination IP addresses
src-dst-ip—Source and destination IP addresses (Default)
src-port—Source Layer 4 port
dst-port—Destination Layer 4 port
src-dst-port—Source and destination Layer 4 port
This example shows how to configure EtherChannel to use source and destination IP addresses:
Switch# configure terminal
Switch(config)# port-channel load-balance src-dst-ip
Switch(config)# end
Switch#
This example shows how to verify the configuration:
Switch# show etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-dst-ip
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source XOR Destination MAC address
IPv4: Source XOR Destination IP address
Command Purpose
Step 1 Switch(config)# [no] port-channel load-balance
{src-mac | dst-mac | src-dst-mac | src-ip |
dst-ip | src-dst-ip | src-port | dst-port |
src-dst-port}
Configures EtherChannel load balancing.
Use the no keyword to return EtherChannel load
balancing to the default configuration.
Step 2 Switch(config)# end Exits configuration mode.
Step 3 Switch# show etherchannel load-balance Verifies the configuration.