Hello,


I am having trouble to perform policy based routing on IOS-XR. My needs are if 
I am accessing my network the traffic goes to the default nexthop else the 
traffic is routed to another router x.x.x.x. 


On IOS I had the following configuration:


ip access-list extended internal


 permit ip 10.0.0.0 0.0.255.255 10.0.0.0 0.0.255.255


ip access-list extended external
 permit ip 10.0.0.0 0.0.255.255 any


route-map internet permit 10
 match ip address internal
route-map internet permit 20
 match ip address external


 set ip next-hop x.x.x.x


On ingress interfaces I applied "ip policy route-map internet” and it was 
working fine. 


On IOS-XR 4.2 I tried to use ABF as suggested by cisco and it is not working. 
Configuration used:


ipv4 access-list internet
 10 permit ipv4 10.0.0.0/16 10.0.0.0/16 default
  20 permit ipv4 10.0.0.0/16 any nexthop1 ipv4 x.x.x.x


Int gi0/2/0/1
ipv4 access-group internet ingress


Can someone help please?


Thanks.


Regards,
Alex
                                          
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to