11-24-2021
08:26 AM
- last edited on
11-25-2021
09:26 PM
by
Translator
Hello Everyone,
On a Cisco ASR1001 device I cannot attach a route-map (with match tag) to a BGP neighbor. I know in most IOS releases we cannot use tags with BGP, and communities should be used instead. But it would be much easier to find an IOS release which supports tagging. The question is whether such an ASR IOS exists where I could use tagging.
My current IOS: System image file is "bootflash:/asr1001x-universalk9.16.12.05.SPA.bin
Config is the following:
asr1001(config)#router bgp 10
asr1001(config-router)# neighbor 1.1.1.1 route-map RM_TAG out
% "RM_TAG" used as BGP outbound route-map, tag match not supported
% not supported match will behave as route-map with no match
route-map RM_TAG deny 5
match tag 300
!
route-map RM_TAG permit 10
match ip address prefix-list PL_XY
set metric 200
!
route-map RM_TAG deny 20
Thanks in advance,
Gergely Racz
Solved! Go to Solution.
11-24-2021 11:18 AM
Hi @Gergely Racz ,
This restriction has been there since day 1 and is still there in the latest IOS or IOS-XE versions. There are ways to handle this though. You can generate a community based on the tag, when you originate the route in BGP (either using a redistribute or network statement) and match on that community in the outbound route-map.
Regards,
11-24-2021 08:52 AM
follow
11-24-2021 11:18 AM
Hi @Gergely Racz ,
This restriction has been there since day 1 and is still there in the latest IOS or IOS-XE versions. There are ways to handle this though. You can generate a community based on the tag, when you originate the route in BGP (either using a redistribute or network statement) and match on that community in the outbound route-map.
Regards,
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