[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cisco-nsp
Subject:    Re: [c-nsp] match community support in PBR
From:       Chris Mason <chris () noodles ! org ! uk>
Date:       2010-07-28 16:16:44
Message-ID: AANLkTikAqRaReiq3pigKLZO_VPPuSzEf23JG8Ae0QVH7 () mail ! gmail ! com
[Download RAW message or body]

> Does PBR supports match community in route-map? If yes which IOS release?

Matching a community through PBR can be achieved through QPPB.
You would have to use a table-map under BGP to assign an IP Prec value in CEF.

route-map TABLE-MAP permit 10
 match community QPPB-COMMUNITY
 set ip precedence priority
!
route-map TABLE-MAP permit 20
 set ip precedence routine
!

You would then use PBR to match the IP Prec value:

ip access-list extended IPP-1
 permit ip any any precedence priority
!

route-map PBR permit 10
 match ip address IPP-1
 set ip next-hop x.x.x.x
!

You would need to apply "bgp-policy destination ip-prec-map" to allow
CEF to mark your traffic based on the IP Prec values in CEF.
You haven't mentioned what platform you are wanting to do this on?

Hope that helps,
Chris
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic