[rbak-nsp] Outbound community list

Wojciech Wrona w0jtas at w0jtas.com
Fri Jul 5 10:00:44 EDT 2019


Hi,
I'm having trouble with assigning outbound community to routes 
advertised to our peers. There is no problem when i assign an inbound 
route-map and set community for matched prefixes. But when i use 
outbound one it simply does not work.

Example:

route-map globalTransit_advertised permit 10
   match ip address prefix-list peerings_advertised
   set as-path prepend 49743 49743
   set community 62081:30600
  route-map globalTransit_advertised permit 20
   match community-list bgpClients
   set as-path prepend 49743 49743
   set community 62081:30600

This route-map is attached to a neighbor like this:

  neighbor a.b.c.d external
     remote-as yyyyy
     description xxxxx
     next-hop-self
     address-family ipv4 unicast
       route-map upstreams_accepted in
       route-map globalTransit_advertised out


Match is working properly becouse only matched routes are advertised but 
community is not added to them.

What am i doing wrong ?

Thanks in advance
Best regards,
-- 
Wojciech Wrona



More information about the redback-nsp mailing list