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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

[route-map] what is the difference between "set ip next-hop" and "set next-hop"

Good morning to all,

can you explain me the differences between these commands ?

Can you give me some usage examples ?

Which one do you raccomend ?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

[route-map] what is the difference between "set ip next-hop" and

Hi Luca,

There should be no difference, if you have this option. I do not have it on 12.4(24)T5.

As I see it the "ip" option was introduced to accomodate the "ipv6" option => set ipv6 next-hop.

Dan

3 REPLIES
Cisco Employee

[route-map] what is the difference between "set ip next-hop" and

Hi Luca,

The set next-hop is not available in route-map configuration in recent IOSes. It is possible that it was simply a predecessor of the current set ip next-hop command. So for Policy Based Routing using ordinary route-maps, you do not actually have any alternative, as the only command I saw available in 12.4T IOS was the set ip next-hop.

Best regards,

Peter

[route-map] what is the difference between "set ip next-hop" and

Hi Luca,

There should be no difference, if you have this option. I do not have it on 12.4(24)T5.

As I see it the "ip" option was introduced to accomodate the "ipv6" option => set ipv6 next-hop.

Dan

New Member

[route-map] what is the difference between "set ip next-hop" and

Hi Dan,

i have found it in official guide

and Cisco website too.

340
Views
0
Helpful
3
Replies