23-6
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter23 Configuring Cisco Express Forwarding
CEF Configuration Restrictions

Load Balancing

The Catalyst 4500 series switch supports load balancing for routing packets in the Integrated Switching
Engine hardware. Load balancing is always enabled. It works when multiple routes for the same network
with different next-hop addresses are configured. These routes ca n be configured either statically or
through a routing protocol such as OSPF or EIGRP.
The hardware makes a forwarding decision by using a hardware load sharing hash func tion to compute
a value, based on the source and destination IP addresses and the source and destination TCP port
numbers (if available). This load sharing hash value is then used to select which route to use to forward
the packet. All hardware switching within a particular flow (such as a TCP connection) will be routed to
the same next hop, thereby reducing the chance that packet reorderi ng will occur. Up to eight different
routes for a particular network are supported.

Software Interfaces

Cisco IOS for the Catalyst4500 series switch supports GRE and IP tunnel interfaces that are not part of
the hardware forwarding engine. All packets that flow to or from these i nterfaces must be processed in
software and will have a significantly lower forwarding rate than that of hardware- switched interfaces.
Also, Layer 2 features are not supported on these inte rfaces.
CEF Configuration Restrictions
The Integrated Switching Engine supports only ARPA and ISL/802.1q encapsulation types for Layer 3
switching in hardware. The CPU subsystem supports a number of encapsula tions such as SNAP for
Layer 2 switching that you can use for Layer 3 switching in software.
Configuring CEF
These sections describe how to configure CEF:
Enabling CEF, page 23-6
Configuring Load Balancing for CEF, page 23-7

Enabling CEF

By default, CEF is enabled globally on the Catalyst 4500 series switch. No configuration is required.
To reenable CEF, perform this task:
Command Purpose
Switch(config)# ip cef Enables standard CEF operation.