cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
221
Views
0
Helpful
1
Replies

PBR on MSFC

chzair
Level 1
Level 1

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 1

aravindhs
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco