amigan_99
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@Gupta
Neither show ip access-list, nor show route-map commands will show hits when used with PBR.
Neither show ip access-list, nor show route-map commands will show hits when used with PBR.
ASKER
Thanks much Predrag.
You're welcome.
show ip access-list send-to-pbr
show route-map internet-pbr