Route-map "next hop" questions

Unanswered Question
Sep 4th, 2008
User Badges:

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.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Harold Ritter Thu, 09/04/2008 - 07:03
User Badges:
  • Cisco Employee,


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.


Marwan ALshawi Thu, 09/04/2008 - 07:41
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015


this is 5 from :)

dmooreami Thu, 09/04/2008 - 09:25
User Badges:

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


This Discussion