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

PBR on MSFC

I'm trying to use PBR on a Catalyst 6509 whith MSFC2, with IOS Version 12.1(19)E.

I have defined the following PBR

route-map PBR permit 0

match ip address 102

set ip default next-hop 156.106.131.228

The ACL 102 is as follow:

permit ip 156.106.151.0 0.0.0.255 any log

Which simply states for routing all the source to the next-hop IP instead of the normal gateway.

On the interface, I have defined

interface Vlan114

ip address 156.106.151.1 255.255.255.0

ip ospf authentication-key 7

ip policy route-map PBR

The next hop 156.106.131.228 is directly attached to the router via a Vlan.

When trying to monitor it, I see

"policy rejected, normal forwarding"

Any Ideas ?

Tks,

1 REPLY
Community Member

Re: PBR on MSFC

You have specified "set ip default next-hop 156.106.131.228 " and NOT "set ip next-hop 156.106.131.228 "

The command "set ip default next-hop 156.106.131.228 " means, the router will route the packets to the next hop IP address 156.106.131.228 only if there is no route for it in the IP routing table.

So, in this case, there is a route for the desired destinations in the routing table which is why the normal routing is considered and the PBR is not.

Hope this helps.

Please Rate posts

Cheers

Arav

106
Views
0
Helpful
1
Replies
CreatePlease to create content