ANNOUNCEMENT - The community will be down for maintenace this Thursday August 13 from 12:00 AM PT to 02:00 AM PT. As a precaution save your work.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
147
Views
0
Helpful
1
Replies
Highlighted
Beginner

IOS-XR BNG PBR or ABF?

Hello, i have doing a POD of one ASR9001 for BNG deployment, i need to route some traffic  to one ASR1001-X for CGNAT and some traffic bypass the CGNAT...

 

Reading the documentation i see about PBR and ABF, on IOS-XE i have ussed PBR, but on IOS-XR what is the best recommendation  to apply to BNG PPPOE deployment?

 

below my config of PBR and ABF

 

 

ipv4 access-list ABF_CGNAT
10 permit ipv4 100.64.0.0/12 172.16.0.0/12 default nexthop1 ipv4 10.22.1.1
100 permit ipv4 100.64.0.0/12 any nexthop1 ipv4 172.16.222.2
!
ipv4 access-list PBR_CGNAT
10 deny ipv4 100.64.0.0/12 172.16.0.0/12
20 deny ipv4 100.64.0.0/12 172.16.0.0/12
100 permit ipv4 100.64.0.0/12 any

class-map type traffic match-any PBR_CLASS
match access-group ipv4 PBR_CGNAT
end-class-map

policy-map type pbr POLICY_PBR
class type traffic PBR_CLASS
redirect ipv4 nexthop 172.16.222.2

dynamic-template
type ppp PPPOE_TEMPLATE

!ipv4 access-group ABF_CGNAT ingress OR
!service-policy type pbr POLICY_PBR

1 REPLY 1
Highlighted
Beginner

Re: IOS-XR BNG PBR or ABF?

Hi

I am not sure about the detail of operations in ABF and PBR but I think ABF is better since it has more options since you can employ IP SLA and Tracking objects with it. Personally I prefer ABF.

Anyway Maybe I am wrong..

Cheers

Content for Community-Ad