Procedure
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 1
Enables CEF operation on a non-stacking switch.ip cef
Step 2
Example:
Device(config)# ip cef
Go to Step 4.
Enables CEF operation on a active switch.ip cef distributed
Example:
Device(config)# ip cef distributed
Step 3
Enters interface configuration mode, and
specifies the Layer 3 interface to configure.
interface interface-id
Example:
Device(config)# interface
gigabitethernet 1/0/1
Step 4
Enables CEF on the interface for
software-forwarded traffic.
ip route-cache cef
Example:
Device(config-if)# ip route-cache cef
Step 5
Returns to privileged EXEC mode.end
Example:
Device(config-if)# end
Step 6
Displays the CEF status on all interfaces.show ip cef
Example:
Device# show ip cef
Step 7
(Optional) Displays CEF-related interface
information on a non-stacking switch.
show cef linecard [detail]
Example:
Device# show cef linecard detail
Step 8
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
181
Configuring IP Unicast Routing
Distributed Cisco Express Forwarding