01-01-2025 03:07 AM
Hi,
I have a PBR configured which works as expected when I generate some traffic, however when I check the show ip route-map, I can't see packets increasing for seq 10 of my route-map
router# show ip route-map
route-map test, deny, sequence 10
match clauses:
ip address (access-lists):100
set clauses:
policy routing matches: 0 packets, 0 bytes
route-map test, permit, sequence 20
match clauses:
set clauses:
ip next-hop 2.2.2.2
policy routing matches: 143 packets, 12368 bytes
#show access-list
extended ip access-list 100
10 permit ip any host 40.10.10.10 (27 matches)
considering that I had some hits on access-list , shouldn't I see packets and bytes increasing for route-map-seq 10?
Thanks
01-04-2025 02:15 AM
that what we try to explain to you from first comment
it not issue of PBR counter it issue of deny you use in first line.
also your PBR is not optimal,
you add more work into CPU of device
instead of routing packet as normal it send to use PBR with no match for forwarding.
Thanks
MHM
01-02-2025 11:05 AM
Well' I am with Mr @Richard Burts statement but that not meaning this need deep dive' so let me friend check it in lab I share result here.
Thanks alot
MHM
01-02-2025 11:08 AM
Hello @MHM Cisco World
Im confident that's what it is doing ..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide