Cannot apply a policy-map on interface because of Flowspec IOS XR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 :
- Labels:
-
Other Network Security Topics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2023 02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2023 02:53 AM
No solution on the post unfortunately.
Thanks
