Specifications

IP Switching Commands
ip cef load-sharing algorithm
ISW-39
Cisco IOS IP Switching Command Reference
May 2008
ip cef load-sharing algorithm
To select a Cisco Express Forwarding (CEF) load-balancing algorithm, use the ip cef load-sharing
algorithm command in global configuration mode. To return to the default universal load-balancing
algorithm, use the no form of this command.
ip cef load-sharing algorithm {original | tunnel [id] | universal [id] | include-ports {source [id]
| [destination] [id] | source [id] destination [id]}}
no ip cef load-sharing algorithm
Syntax Description
Command Default The universal load-balancing algorithm is selected. If you do not configure the fixed identifier for a
load-balancing algorithm, the router automatically generates a unique ID.
Command Modes Global configuration
Command History
original Sets the load-balancing algorithm to the original algorithm based on a
source and destination hash.
tunnel Sets the load-balancing algorithm for use in tunnel environments or in
environments where there are only a few IP source and destination
address pairs.
id (Optional) Fixed identifier.
universal Sets the load-balancing algorithm to the universal algorithm that uses
a source and destination and an ID hash.
include-ports source Sets the load-balancing algorithm to the include-ports algorithm that
uses a Layer 4 source port.
include-ports destination Sets the load-balancing algorithm to the include-ports algorithm that
uses a Layer 4 destination port.
include-ports source
destination
Sets the load balancing algorithm to the include-ports algorithm that
uses Layer 4 source and destination ports.
Release Modification
12.0(12)S This command was introduced.
12.1(5)T This command was integrated into Cisco IOS Release 12.1(5)T.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.4(11)T The include-ports source, include-ports destination, and the
include-ports source destination keywords were added for the command.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
in a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.