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. And see here for current known issues.

New Member

Route-map "next hop" questions

Needing to set some "next-hop" statements with a route map. These will be applied to Vlan24 interface (10.122.24.1/23).

I want to split outbound (0.0.0.0) Internet access for Vlan24 across two endpoints based on the workstaton subnet. No issues doing that.

But my question is do I have to specify a "next-hop" if I want the traffic specifed in "route-map internet permit 11" to use Vlan24 for its "next hop"?

Will not having any statement allow match traffic to continue to use Vlan24 interface as before? Or must I have a "set ip next-hop 10.122.24.1" so traffic will continue to use 24.1 for "next hop".

interface Vlan24

ip address 10.122.24.1 255.255.254.0

ip policy route-map internet

route-map internet permit 11

match ip address 11

!

route-map internet permit 12

match ip address 12

set ip next-hop 10.122.100.20

!

What I would really like to do is just direct all unknown traffic to 10.122.100.20 and to allow specified hosts to continue to use 10.122.24.1 as their default gateway and let the swtich route them as normal. But I don't think this is possible.

Switch is 6513 hybrid-mode running 12.2(17d)SXB11 on the Sup32.

Thanks

thanks

3 REPLIES
Cisco Employee

Re: Route-map "next hop" questions

Doug,

You could simply remove instance number 11 and traffic not matching instance 12 would be routed according to the default gateway installed in the RIB.

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Re: Route-map "next hop" questions

hi HAROLD

this is 5 from :)

New Member

Re: Route-map "next hop" questions

To do what I want should have "set default ip next-hop, not "set ip next-hop".

This will only send unknown traffic to the "next-hop" if there are not explicit routes for it in the router.

The "set ip next-hop" will send all traffic to the next hop, not unknow traffic. A great way to overload a router with unnecessary traffic. :)

254
Views
5
Helpful
3
Replies