Port Channel Commands
port-channel load-balance
port-channel load-balance
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Example
The following example forces gi 1 to join the port channel 1 without a LACP
operation:
switchxxxxxx(config)# interface gi1
switchxxxxxx(config-if)# channel-group 1 mode on
To configure the load-balancing policy for a port channel, use the port-channel
load-balance Global Configuration mode command.
Syntax
port-channel load-balance {src-dst-mac | src-dst-mac-ip}
Parameters
src-dst-mac —Specifies that the port channel load-balancing is based on
•
the source and destination MAC addresses for all packets.
src-dst-mac-ip —Specifies that the port channel load-balancing is based
•
on the destination IP addresses, source IP addresses, destination MAC
addresses, and source MAC addresses for all packets.
Default Configuration
The default option is src-dst-mac.
Command Mode
Global Configuration mode
User Guidelines
In the src-dst-mac-ip port channel load-balancing policy, fragmented packets may
be reordered.
Example
switchxxxxxx(config)# port-channel load-balance src-dst-mac
26
370