route-map match community is not working #16773
-
I have a setup where routes are exported by setting community in bgp and I want them to import only routes containing the same community string to a specific VRF.
I can see that in default vrf the community string is carried but when the route-map is applied, the routes are not getting matched.
We can see that only local route is present but not the route 192.168.200.0/24 which have the community 100:200.
I am not sure if community is broken or we need to add some other configuration to make the community match criteria work. Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
match community
expects a community-list, not the direct community. https://docs.frrouting.org/en/stable-10.1/routemap.html#clicmd-match-community-COMMUNITY_LIST-exact-match-any