26-14
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL_28731-01
Chapter 26 Configuring EtherChannel and Link State Tracking
Configuring EtherChannel
1 0005.9a39.7a80 to 0005.9a39.7a81 2.1 12.1(12r)EW 12.1(13)EW(0.26) Ok
2 0002.fd80.f530 to 0002.fd80.f55f 0.1 Ok
3 0009.7c45.67c0 to 0009.7c45.67ef 1.6 Ok
4 0009.7c45.4a80 to 0009.7c45.4aaf 1.6 Ok
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:
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.