cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
416
Views
0
Helpful
3
Replies

Policy-Based Routing Question

msrohman
Level 1
Level 1

Hi all,

I applied a basic policy-map to a 6513 L3 switch today. I'm routing two users over another path for User-Acceptance-Testing. The policy map works. The users were able to trace-route to the destination. The source IP addresses in the access-list are getting routed using the next-hop in the route-map statement.

However, I don't see any counters increasing when I perform a 'show route-map' command. Am I missing something?

The config and show command is below:

route-map fact-set-test-user permit 10

match ip address 101

set ip next-hop 172.30.1.2

access-list 101 permit ip host 172.30.20.3 164.55.2.0 0.0.0.255

access-list 101 permit ip host 172.30.20.3 164.55.3.0 0.0.0.255

access-list 101 permit ip host 172.30.20.60 164.55.2.0 0.0.0.255

access-list 101 permit ip host 172.30.20.60 164.55.3.0 0.0.0.255

access-list 101 permit ip host 172.30.20.3 164.55.4.0 0.0.0.255

access-list 101 permit ip host 172.30.20.60 164.55.4.0 0.0.0.255

interface Vlan8

ip policy route-map fact-set-test-user

MSFC1#sh route-map

route-map fact-set-test-user, permit, sequence 10

Match clauses:

ip address (access-lists): 101

Set clauses:

ip next-hop 172.30.1.2

Policy routing matches: 0 packets, 0 bytes

Thanks for your help

-Mike

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Mike

An educated guess would be that PBR is performed in hardware on the 6500 ie. it is done by the PFC (Policy Feature Card). Because it is done in hardware the counters are not incremented.

This is definitely the case for acl's performed in hardware ie. no counters incremented so it would seem logical that is what is happening here.

Jon

Do you hit counts on the ACL's? If so than that should tell you that your PBR is matching and working.

kishan1984
Level 1
Level 1

In tracert output did you see the hop 172.30.1.2 set by you,if yes than it is working fine,and counters are not incrementing because it will increase only if processed by switch/Router cpu.

Review Cisco Networking products for a $25 gift card