3 Replies Latest reply: Aug 21, 2019 3:25 PM by Ing_Percy RSS

    The "ip route-cache cef" command

    Learner

      Hello all,

       

      It's said routers have choices of CEF or fast switching or process switching. On c7200 router, when I issue "ip route-cache cef", it enables both fast switching and CEF. When I issue "no ip route-cache cef", it turns off both. Why?

       

      And when both CEF and fast switching is off, is there a way to verify that it's on process switching?

       

      R4#

      R4#show ip int g0/0

      GigabitEthernet0/0 is up, line protocol is up

        Internet address is 1.1.1.1/24

        Broadcast address is 255.255.255.255

        Address determined by setup command

        MTU is 1500 bytes

        Helper address is not set

        Directed broadcast forwarding is disabled

        Outgoing access list is not set

        Inbound  access list is not set

        Proxy ARP is enabled

        Local Proxy ARP is disabled

        Security level is default

        Split horizon is enabled

        ICMP redirects are always sent

        ICMP unreachables are always sent

        ICMP mask replies are never sent

        IP fast switching is disabled

        IP fast switching on the same interface is disabled

        IP Flow switching is disabled

        IP CEF switching is disabled

        IP Null turbo vector

        IP Null turbo vector

        IP multicast fast switching is disabled

        IP multicast distributed fast switching is disabled

        IP route-cache flags are No CEF

        Router Discovery is disabled

        IP output packet accounting is disabled

        IP access violation accounting is disabled

        TCP/IP header compression is disabled

        RTP/IP header compression is disabled

        Policy routing is disabled

        Network address translation is disabled

        BGP Policy Mapping is disabled

        Input features: MCI Check

        IPv4 WCCP Redirect outbound is disabled

        IPv4 WCCP Redirect inbound is disabled

        IPv4 WCCP Redirect exclude is disabled

      R4#

      R4#conf t

      Enter configuration commands, one per line.  End with CNTL/Z.

      R4(config)#

      R4(config)#int g0/0

      R4(config-if)#

      R4(config-if)#ip cef ?

        accounting  CEF accounting features for interface


      R4(config-if)#ip route-ca

      R4(config-if)#ip route-cache ?

        cef             Enable Cisco Express Forwarding

        flow            Enable Flow fast-switching cache

        policy          Enable fast-switching policy cache for outgoing packets

        same-interface  Enable fast-switching on the same interface

        <cr>


      R4(config-if)#ip route-cache cef

      R4(config-if)#

      R4(config-if)#do show ip int g0/0

      GigabitEthernet0/0 is up, line protocol is up

        Internet address is 1.1.1.1/24

        Broadcast address is 255.255.255.255

        Address determined by setup command

        MTU is 1500 bytes

        Helper address is not set

        Directed broadcast forwarding is disabled

        Outgoing access list is not set

        Inbound  access list is not set

        Proxy ARP is enabled

        Local Proxy ARP is disabled

        Security level is default

        Split horizon is enabled

        ICMP redirects are always sent

        ICMP unreachables are always sent

        ICMP mask replies are never sent

        IP fast switching is enabled

        IP fast switching on the same interface is disabled

        IP Flow switching is disabled

        IP CEF switching is enabled

        IP CEF switching turbo vector

        IP CEF turbo switching turbo vector

        IP multicast fast switching is enabled

        IP multicast distributed fast switching is disabled

        IP route-cache flags are Fast, CEF

        Router Discovery is disabled

        IP output packet accounting is disabled

        IP access violation accounting is disabled

        TCP/IP header compression is disabled

        RTP/IP header compression is disabled

        Policy routing is disabled

        Network address translation is disabled

        BGP Policy Mapping is disabled

        Input features: MCI Check

        IPv4 WCCP Redirect outbound is disabled

        IPv4 WCCP Redirect inbound is disabled

        IPv4 WCCP Redirect exclude is disabled

      R4(config-if)#

      R4#

      *Aug 21 10:14:19.935: %SYS-5-CONFIG_I: Configured from console by console

      R4#