configuration mode. To enable CEF operation on an interface after the CEF operation has been disabled, use the ip route-cache cef command in interface configuration mode. The ip route-cache cef command does not have any parameters. Figure shows the command syntax for the ip cef and ip route-cache cef commands. Figure describes considerations for using the ip cef [distributed] parameter. You can display entries in the FIB or display a summary of the FIB with the show ip cef command in user EXEC or privileged EXEC mode. Figure shows an example of this show command. The show ip cef command has several parameters as described in Figure . show ip cef [unresolved | summary]
show ip cef [network [mask [longer-prefixes]]] [detail]
show ip cef [type number] [detail]


Content 4.3 Implementing Frame Mode MPLS 4.3.3 Configuring MPLS on a Frame Mode Interface MPLS is enabled on an interface as a step in implementing frame mode MPLS. Figure shows some of the considerations when enabling frame mode MPLS, including choosing between protocols.Cisco routers can use one or both of two protocols at this point: MPLS support is enabled by default in Cisco routers. However, if it becomes necessary to re-enable it, then the mpls ip command must be executed in global configuration mode. The mpls ip command can also be configured on an interface as shown in Figure . Note
Enabling MPLS forwarding of IP packets for the platform does not enable it for a platform interface. For a given interface to perform dynamic label switching, this switching function must be enabled for the interface and for the platform. MPLS can be disabled using the no mpls ip interface configuration command. You must configure MPLS by using the mpls ip command in interface configuration mode on every frame mode interface that will participate in MPLS. After enabling MPLS on the interface, you must select the label distribution protocol by using the mpls label protocol command in interface configuration mode. Depending on the Cisco IOS version, when issuing a show running-config command, the mpls ldp commands appear as tag-switching commands. The default MPLS label distribution protocol changes from TDP to LDP. If no protocol is explicitly configured by the mpls label protocol command, LDP is now the default label distribution protocol. You can save the LDP configuration commands by using the mpls ip form of the command rather than the tag-switching form. Commands were previously saved using the tag-switching form of the command for backward compatibility. To enable label switching of IP version 4 (IPv4) packets on an interface, use the mpls ip command in interface configuration mode. The mpls ip command does not have any parameters. This command starts LDP on all interfaces on a Cisco router. To select TDP, you must use the mpls label protocol tdp command, globally or for each interface. By default, label switching of IPv4 packets is disabled on an interface. To select which label distribution protocol is used on an interface, use the mpls label protocol command in interface configuration mode: mpls label protocol [tdp | ldp | both] Figure describes the parameters for the mpls label protocol command. LDP is the default protocol on Cisco IOS software Release 12.4(3) and later. In older releases, TDP was the default protocol. Note
For backward compatibility, the mpls syntax will be entered as tag-switching syntax in the configuration by the Cisco IOS software. Configuring MPLS on a Frame Mode Interface
Figure shows an example of enabling MPLS on an Edge LSR. The configuration includes an access control list (ACL) that denies any attempt to establish an LDP session from an interface that is not enabled for MPLS. In the example in the figure, Router A has “NoLDP” ACL on Serial 3/1 interface, which is not enabled for MPLS. You must globally enable CEF switching, which automatically enables CEF on all interfaces that support this form of switching. Note
CEF is not supported on logical interfaces, such as loopback interfaces. Non-backbone (non-MPLS) interfaces have an input ACL that denies TCP sessions on the well-known port number 711 (TDP uses TCP port 711). If you are using LDP, filter on UDP port 646 (LDP uses UDP port 646). Using this ACL is a precaution; without the mpls ip command on the interface, LDP cannot be established on Serial 3/1. Configuring TDP and LDP
Figure shows how to combine Cisco routers with equipment of other vendors that can require the use of both TDP and LDP to be used. TDP can be replaced by LDP on point-to-point interfaces. However, you can also use both protocols on shared media if some devices do not support TDP. Label switching is independent of the distribution protocol, so there should be no problem in mixing the two protocols. TDP and LDP function in a similar way, and both populate the LIB table.
Content 4.3 Implementing Frame Mode MPLS 4.3.4 Configuring the MTU Size in Label Switching The MTU size is configured in label switching as a step in implementing frame mode MPLS as shown in Figure . This is an optional step that changes the maximum size of labeled packets. Because of the additional label header, the MTU on LAN interfaces should be increased in order to prevent IP fragmentation. The MPLS MTU size has to be increased on all routers that are attached to a LAN segment. The default MTU size on the LAN segments is 1500 bytes. The size of the MPLS MTU depends on the application you are running with MPLS. When you are using pure MPLS in the backbone, MTU size increases for one label header only to 1504 bytes. When you are implementing MPLS VPN, MTU size has to increase for two label headers to 1508 bytes. When you are implementing MPLS VPN with Traffic Engineering, the MTU size should increase for three label headers to 1512 bytes. One way of preventing labeled packets from exceeding the maximum size (and fragmenting as a result) is to increase the MTU size of labeled packets for all segments in the label switched path (LSP) tunnel. The problem of packets exceeding the maximum size will typically occur on LAN switches, where it is more likely that a device does not support oversized packets (also called jumbo