Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Rotue Map

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

3 REPLIES
Hall of Fame Super Silver

Re: Rotue Map

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

New Member

Re: Rotue Map

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

Hall of Fame Super Silver

Re: Rotue Map

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

160
Views
0
Helpful
3
Replies
CreatePlease to create content