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

sh ip cef

What are different types of entries and their meaning in the "Next hop" field from the "sh ip cef" command

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions

sh ip cef

Hello Sabari,

Prefix: The longest match for a specific subnet or IP address. ( Could be a host or a network, this is what makes the difference from the routing table and the forwarding information table because you seldom see host Ip's on the routing table unless configured or advertised) This will provide a better performance at the time to do a route lookup.

Next hop:  1-Attached: Directly connected

                2- x.x.x.x : Ip address of the next hop Ip address

                3-Receive: No next hop defined so need to be sent to the Router Engine (RE) for further lookup

Hope this could help

Julio

Remember to rate all the helpful posts

Julio

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
2 REPLIES
VIP Super Bronze

sh ip cef

Have a look at the command reference guide, it has explanation for each keyword:

http://www.cisco.com/en/US/docs/ios/12_3/switch/command/reference/swi_s2.html#wp1076661

HTH

sh ip cef

Hello Sabari,

Prefix: The longest match for a specific subnet or IP address. ( Could be a host or a network, this is what makes the difference from the routing table and the forwarding information table because you seldom see host Ip's on the routing table unless configured or advertised) This will provide a better performance at the time to do a route lookup.

Next hop:  1-Attached: Directly connected

                2- x.x.x.x : Ip address of the next hop Ip address

                3-Receive: No next hop defined so need to be sent to the Router Engine (RE) for further lookup

Hope this could help

Julio

Remember to rate all the helpful posts

Julio

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
277
Views
0
Helpful
2
Replies
CreatePlease to create content