01-03-2023 02:09 AM
Hi
I need to apply a policy on my router interface to change the next-hop for some packet source IPs so it could be redirected to a specific transit. I applied a Policy-map PBR on an ingress interface on Cisco XR ASR9000 but the commit does not work and here is the log :
01-03-2023 02:29 AM - edited 01-03-2023 08:13 PM
That’s an useful feature because we can develop a program executed on the router itself to convert the flowspec rules received into configuration line. That’s exactly what the bgpfs2acl script is doing.
01-03-2023 02:40 AM
01-03-2023 02:52 AM
Hi
Here is the interface config :
interface Bundle-Ether2.10
description Server: VLAN10 - Interco Public_Network_and_Transit9
ipv4 mtu 1500
ipv4 address 10.10.10.1 255.255.255.192
encapsulation dot1q 10
ex
And here is the policy-map
policy-map type pbr PM_IP_SFR_Sortie_NAT
class type traffic CM_IP_SFR_Sortie_NAT
redirect ipv4 nexthop x.x.x.x
ex
!
01-03-2023 02:40 AM
- Review this thread : https://community.cisco.com/t5/routing/got-error-when-applying-pbr-on-asr9010/td-p/4076635
M.
01-03-2023 02:53 AM
No solution on the post unfortunately.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide