cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
456
Views
0
Helpful
3
Replies

Rotue Map

bava_ccna
Level 1
Level 1

What is the difference between the command set ip next-hop & set ip default next-hop in policay routing..

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Bava,

set ip next-hop diverts traffic regardless of current IP routing table.

set ip default next-hop first looks at the IP routing table if an entry exists for packet destination normal destination routing takes place, if no specific route for packet destination exists the packet is sent to the specified next-hop.

Hope to help

Giuseppe

Thanks Qiuslar,

Now if i have a default route in my routing table will the packet reach destination via default route or else is there any specific route needed for the destination in order to avoid looking Route map ip default next-hop..

thanks in advance

Hello Bava,

see

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_pi2.html#wp1012080

specific route is not a default route, if a specific route for the destination is missing set ip default next-hop sends the packet to the next-hop.

the default route is not considered a specific route.

Hope to help

Giuseppe

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:

Review Cisco Networking products for a $25 gift card