I'm not sure I understand the question entirely, but there are fundamental differences in the commands here:
1) set ip next-hop <--- This will look at the next-hop address you specify. If that next-hop is in the routing-table, the packet is policy routed to that next-hop. 2) set ip default next-hop <--- This will look at the destination IP address in the header. If you have a route to the destination in your routing table the packet is NOT policy routed. If you don't have a route to the destination, then you are routed to the next-hop specified. The logic is different, and the two commands are looking at different fields. The first looks at next-hop and the second looks at the destination IP address to make decisions. HTH On Sun, Jan 24, 2010 at 1:32 PM, Nadeem Rafi <[email protected]> wrote: > Route-map Policy_routing > match ip address FROM_X_TO_Y permit 10 > set ip next hope ABC > set ip next-hope verify-availability > set ip default next-hope XYZ > how this will work? I know if cdp cannot verify reachability of next > hope then set ip next-hope ABC will not work. But why set ip default will > work? > Sorry for such basic question... > Best Regards, > Nadeem rafi > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > -- Regards, Joe Astorino CCIE #24347 (R&S) Sr. Technical Instructor - IPexpert Mailto: [email protected] Telephone: +1.810.326.1444 Live Assistance, Please visit: www.ipexpert.com/chat eFax: +1.810.454.0130 IPexpert is a premier provider of Classroom and Self-Study Cisco CCNA (R&S, Voice & Security), CCNP, CCVP, CCSP and CCIE (R&S, Voice, Security & Service Provider) Certification Training with locations throughout the United States, Europe and Australia. Be sure to check out our online communities at www.ipexpert.com/communities and our public website at www.ipexpert.com _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
