I am receiving BGP routes, and want to set OSPF tags on them, based on BGP standard community. However in my test lab 2 communities are untagged (18.104.22.168 and 22.214.171.124) and one is community tagged in BGP (126.96.36.199).
The first route-map line should match the 144:200 tag in 188.8.131.52 and set OSPF tag of 190. However it seems to ignore the match community and all routes with/without community match route-map TEST permit 10, and all have tag 190 set on them.
Is this a bug?
Should this work?
Am I doing something wrong?
Thanks in advance.
router ospf 1
redistribute bgp 3246 subnets route-map TEST
network 184.108.40.206 0.0.0.0 area 0
network 192.168.13.1 0.0.0.0 area 0
router bgp 3246
neighbor 220.127.116.11 remote-as 65021
neighbor 18.104.22.168 send-community
ip community-list 90 permit 144:190
ip community-list 91 permit 144:200
route-map TEST permit 10
match community 91
set metric 3
set tag 190
route-map TEST permit 20
match community 90
set tag 190
route-map TEST permit 30
song#sh ip bgp
BGP table version is 4, local router ID is 192.168.13.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 22.214.171.124/24 126.96.36.199 0 65021 12641 i
*> 188.8.131.52/24 184.108.40.206 0 65021 12641 i
*> 220.127.116.11 18.104.22.168 0 65021 12641 i
song#sh ip bgp 22.214.171.124
BGP routing table entry for 126.96.36.199/24, version 4
Paths: (1 available, best #1)
Not advertised to any peer
188.8.131.52 from 184.108.40.206 (220.127.116.11)
Just like you said all three routes are matched against your 1st route map statement, sets a metric of 3 and sets a route tag of 190 and redistributed into OSPF.
Based on that it appears all 3 routes are matching the community list 91. Can you add the global config command 'ip bgp-community new-format' and do a sh ip bgp 18.104.22.168 for the router to display the community in new format and that would help us verify the above assumption
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...