Specifications

2-239
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ip cef load-sharing algorithm
ip cef load-sharing alg orithm
To configure the load-sharing hash function so that the source TCP/UDP port, the destination TCP/UDP
port, or both ports can be included in the hash in addition to the source and destination IP addresses, use
the ip cef load-sharing algorithm command. To revert back to the default, which does not include the
ports, use the no form of this command.
ip cef load-sharing algorithm {include-ports {source source | destination dest} | original |
tunnel | universal}
no ip cef load-sharing algorithm {include-ports {source source | destination dest} | original |
tunnel | universal}
Syntax Description
Defaults Default load-sharing algorithm is disabled.
Note This option does not include the source or destination port in the load-balancing hash.
Command Modes Global configura tion mode
Usage Guidelines The original algorithm, tunnel algorithm, and universal algo rithm are routed through the ha rdware. For
software-routed packets, the algorithms are handled by the software. The include-ports option does not
apply to the software-switched traffic.
Examples This example shows how to configure the IP CEF load- sharing algorithm t hat includes Layer 4 ports :
Switch(config)# ip cef load-sharing algorithm include-ports
Switch(config)#
include-ports Specifies the algorithm that includes the Layer 4 ports.
source source Specifies the source port in the load-balancing hash functions.
destination dest Specifies the destination port in the load-balancing hash. Uses the source and
destination in hash functions.
original Specifies the original algorithm; not recommended.
tunnel Specifies the algorithm for use in tunnel-only environments.
universal Specifies the default Cisco IOS load-sharing algorithm.