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

cef pbr and show ip cef

Krasnoperov
Level 1
Level 1

Hello, can anyone explain this situation for me?

I have a router ISR 2 3945(IOS 15.0), and I have PBR on some interface, I know that from 12.0 IOS release PBR is cef swiched (not process swiched), when look into cef table with show ip cef, I dont see any records related to my PBR, for example

route-map XXX, permit, sequence 10

  Match clauses:

    ip address (access-lists): XXX

  Set clauses:

    ip next-hop 1.1.1.1

access-lists XXX

Extended IP access list XXX

    10 permit ip any host 212.192.128.32 (11 matches)

but when I do show ip cef, I see only defaul gateway record

sh ip cef 212.192.128.32

0.0.0.0/0

  nexthop 2.2.2.2 GigabitEthernet0/1.202

Is that means it PBR not cef swiched ?

thanks

3 Replies 3

ajay chauhan
Level 7
Level 7

Hi,

Its CEF switched only but whatever you are seeing is just the global table of cef. no extra configuration is required for CEF based PBR as soon as you configure PBR its on.

Thanks

Ajay

hi,

is there any method to view not only global cef table, but also a cef table for PBR

Hi,

AFAIK, PBR doesnt create a seperate cef table. It's all in the global cef table Seperate cef tables are created when you have seperate instances of the routing table which are called VRF's but is not related to PBR.

If you want to know whether your PBR is working. just check " sh ip access-lists" and check for the hits in the ACL you are using for the PBR policy which you are already seeing. If you want to know wheter your PBR is being cef switched then check the IOS verion you are running via the software feature navigator.

HTH

Kishore

Review Cisco Networking products for a $25 gift card