cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18818
Views
6
Helpful
3
Replies

show route-map

DARYLE DIANIS
Level 1
Level 1

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

 

3 Replies 3

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

What platform is it?> Can you share the config?.

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#

 

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

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:

Review Cisco Networking products for a $25 gift card