05-12-2014 02:40 PM - edited 03-04-2019 10:58 PM
If I have a route-map that is configured correctly, shouldn't I see packets and bytes increasing when I do a show route-map command? This is what I see on all my route maps and I wonder if they are even working.
Policy routing matches: 0 packets, 0 bytes
05-12-2014 06:39 PM
What platform is it?> Can you share the config?.
05-13-2014 07:41 AM
Hi thanks for helping out.
This is a 7204, running c7200-adventerprisek9-mz.152-4.M2.bin
Here are the eigrp and bgp sections, I removed a few statements, and also the show route-map commands. The show commands say 0 packets, 0 bytes, so I'm wondering if these route maps are correct?
rtr1#sho run | s r b
router bgp 65002
bgp log-neighbor-changes
...............
..................
redistribute static
redistribute eigrp 1 route-map EIGRP2BGP
rtr1#sho route-map EIGRP2BGP
route-map EIGRP2BGP, deny, sequence 10
Match clauses:
tag 10
Set clauses:
Policy routing matches: 0 packets, 0 bytes
route-map EIGRP2BGP, permit, sequence 20
Match clauses:
ip address (access-lists): ALL
Set clauses:
Policy routing matches: 0 packets, 0 bytes
rtr1#
!!!!!!!!!
rtr1#sho run | s r e
router eigrp 1
................
................
redistribute bgp 65002 route-map BGP2EIGRP
redistribute static metric 1500 0 255 1 1500
passive-interface Loopback0
rtr1#
rtr1#sho route-map BGP2EIGRP
route-map BGP2EIGRP, deny, sequence 5
Match clauses:
ip address prefix-lists: novoip_plist
Set clauses:
Policy routing matches: 0 packets, 0 bytes
route-map BGP2EIGRP, permit, sequence 10
Match clauses:
ip address (access-lists): ALL
Set clauses:
metric 200000 100 255 1 1500
tag 10
Policy routing matches: 0 packets, 0 bytes
rtr1#
05-14-2014 02:16 PM
Hi,
What you see is expected behaviour. packet matches will be seen only when you use it for policy based routing. In this case you use the route-map to match the prefix and redistribute which is at control plane.
-Nagendra
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