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

PBR Issue

can we create route map statement in such a way that it uses multiple default gateways for a particular set of host. If one gateway goes down then traffic automatically redirected to second gateway mentioned in route map on WS-C3560G-48TS-S. Is there any Hardware limitation?


Re: PBR Issue

why not use ip sla with track?

If an ip is unreachable for example, track will take the route off, and inject another route that has a higher admin distance.

Hall of Fame Super Silver

Re: PBR Issue

Hello Wasim,

the question is if the platform supports additional commands and features called verify-availability or tracking.

without this intelligence the times to detect first next-hop failure can be that of the ARP table if all next-hop devices are in the same table.

In old times to make the trick all next-hops had to be in different vlans SVIs and each vlan had to have a single port connected to it that of the gateway.

(the autostate feature tears down an SVI when no L2 port in STP forwarding state exists)



To enable PBR, the switch or stack master must be running the IP services feature set.


To use PBR, you must first enable the routing template by using the sdm prefer routing global configuration command.

New Member

Re: PBR Issue

What if the Ip defined as next hop in route map goes down but still we have configured a default route. Will default route facilitate the traffic defined in match clause?

ip route 10

ip route 15

ip route 20

access-list 10 permit

route-map PROXY permit 10

match ip address 10

set ip next-hop

What if goes down. will the traffic from use first default route of the above configuration?

Hall of Fame Super Silver

Re: PBR Issue

Hello Wasim,

as I wrote in my first post the problem is when all IP next-hops are in the same IP subnet/Vlan like in your example.

In this case without additional features like ip verify-reachability or forms of tracking the local node can realize the next-hop is down after up to 4 hours the time the ARP entry is alive in the ARP table.

To mitigate this you should have the different next-hops in different point-to-point subnets so that the switch can detect the failure of one of them.

Hope to help



Re: PBR Issue

No, PBR won't able to find that next hope is not available and it will still send packets toward interface having IP in the subnet where packets will be dropped. You need PBR with object tracking using command 'set ip next-hop verify-availability'.

set ip next-hop verify-availability track 123

Above command set the next-hop to if object 123 is up. If object 123 is down, then policy routing fails and unicast routing will route the packet. You need to define tracking 123 for this which will monitored availability of next hope

CreatePlease login to create content