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

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 (

I want to split outbound ( 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" so traffic will continue to use 24.1 for "next hop".

interface Vlan24

ip address

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


What I would really like to do is just direct all unknown traffic to and to allow specified hosts to continue to use 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.



Cisco Employee

Re: Route-map "next hop" questions


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.


Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
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

Re: Route-map "next hop" questions


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. :)