907
Configuring IP Unicast Routing
Configuring Protocol-Independent Features
CEF is enabled globally by default. If for some reason it is disabled, you can re-enable it by using the
ip cef
global
configuration command.
The default configuration is CEF enabled on all Layer 3 interfaces. Entering the
no ip route-cache cef
interface
configuration command disables CEF for traffic that is being forwarded by software. This command does not affect the
hardware forwarding path. Disabling CEF and using the
debug ip packet detail
privileged EXEC command can be useful
to debug software-forwarded traffic. To enable CEF on an interface for the software-forwarding path, use the
ip
route-cache cef
interface configuration command.
Caution:
Although the no ip route-cache cef interface configuration command to disable CEF on an interface is
visible in the CLI, we strongly recommend that you do not disable CEF on interfaces except for debugging purposes.
BEFORE YOU BEGIN
Cisco Express Forwarding requires a software image that includes Cisco Express Forwarding and IP routing enabled
on the switch.
If you enable Cisco Express Forwarding and then create an access list that uses the log keyword, the packets that
match the access list are not Cisco Express Forwarding switched. They are process switched. Logging disables
Cisco Express Forwarding.
DETAILED STEPS
EXAMPLE
Switch(config)#
ip cef
Switch(config)#
interface ethernet 0
Switch(config-if)#
ip route
-
cache cef
Switch(config-if)#
end
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
ip cef
Enable CEF operation.
3.
interface
interface-id
Enter interface configuration mode, and specify the
Layer 3 interface to configure.
4.
no shutdown
Enable the interface if necessary. By default, UNIs and
ENIs are disabled and NNIs are enabled.
5.
ip route
-
cache cef
Enable CEF on the interface for software-forwarded
traffic.
6.
end
Return to privileged EXEC mode.
7.
show ip cef
Display the CEF status on all interfaces.
8.
show cef linecard
[
detail
]
Display CEF-related interface information.
9.
show cef interface
[
interface-id
]
Display detailed CEF information for all interfaces or the
specified interface.
10.
show adjacency
Display CEF adjacency table information.
11.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...