Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CEF creating host route for /24 prefix! Is that normal?


I have a strange CEF behaviour and I need to know if it's normal or not:

This is a subnet of a PE router's loopback interface in the MPLS network. As you see, I have configured the loopback with /24 length intentionally and have received it via ISIS on another PE router.

PE2#sh ip route isis is subnetted, 1 subnets

i L2 [115/30] via, 00:03:51, GigabitEthernet1/0

Now, when I check the CEF, I find that CEF has created a host route for this particular route:

PE2#show ip cef internal, epoch 0, refcount 5, per-destination sharing

  sources: RR


   1 RR source [active source]

    Dependent covered prefix type rr cover

    non-eos chain 18



  path 6673E928, path list 66741244, share 1/1, type recursive, for IPv4, flags doesnt-source-via, cef-internal

  recursive via<nh:>[IPv4:Default], fib 66744B30, 1 terminal fib, v4:Default:

    path 6673E8B8, path list 667411F4, share 1/1, type attached nexthop, for IPv4

      MPLS short path extensions: MOI flags = 0x0 label 18

    nexthop GigabitEthernet1/0 label 18, adjacency IP adj out of GigabitEthernet1/0, addr 657398A0

  output chain: label 18 TAG adj out of GigabitEthernet1/0, addr 65739720

The question, Is this a default behaviour for CEF? and if not, why CEF has done this?

Thank you.

  • MPLS
Cisco Employee

CEF creating host route for /24 prefix! Is that normal?


I believe you have a typo in your show ip cef command: you asked for (which is a particular IP within Try with

show ip cef


show ip cef

Best regards,


New Member

CEF creating host route for /24 prefix! Is that normal?

Hi Peter,

After some investigations and trials, I found that  this is the default CEF behaviour when the /24 prefix in the routing  table contains BGP router-id for MP-BGP peer that advertise VPNv4 route.

So the following conditions must be met for the CEF to, automatically, insert /32 host entry in the CEF table:

1- MP-BGP peering is established over using a router-id that falls into the /24 subnet.

2- VPNv4 routes are received.

Thanks for your help