Is traffic from specified source hitting my PBR?

I am trying to determine if a policy based routing rule is being hit.

ip access-list send-to-pbr
  10 remark Send traffic for PBR logic
  20 permit ip address group voodoo1 any
  30 permit ip address group voodoo2 any

route-map internet-pbr deny 10
  match ip address bypass-pbr
route-map internet-pbr permit 20
  match ip address send-to-pbr
set ip next-hop 172.16.1.1

Should show access-list send-to-pbr display hits occasioned by the pbr?
Should I be able to see this with show route-map internet-pbr?

I tried the latter and get an error message about stats not being enabled.
sho route-map internet-pbr pbr-statistics
% PBR statistics is not enabled for given route-map
LVL 2
amigan_99Network EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
Issue command route-map internet-pbr pbr-statistics  to start gather statistics.
After that sho route-map internet-pbr pbr-statistics will show statistics.

To check PBR you can also debug ip policy:
debug ip policy

Is policy applied to proper interface in proper direction?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sandeep GuptaConsultantCommented:
you can run and see hits

show ip access-list send-to-pbr
show route-map internet-pbr
0
JustInCaseCommented:
@Gupta
Neither show ip access-list, nor show route-map commands will show hits when used with PBR.
0
amigan_99Network EngineerAuthor Commented:
Thanks much Predrag.
0
JustInCaseCommented:
You're welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.