cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
461
Views
0
Helpful
2
Replies

sh ip cef

vsabariraja
Beginner
Beginner

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

1 Accepted Solution

Accepted Solutions

Julio Carvajal
Advisor
Advisor

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

View solution in original post

2 Replies 2

Reza Sharifi
Hall of Fame Expert Hall of Fame Expert
Hall of Fame Expert

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

Julio Carvajal
Advisor
Advisor

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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers