[j-nsp] BGP route origination with communities

Mark Johnson juniper-nsp at avensys.net
Sun Aug 15 04:34:52 EDT 2004


Hi,

Switching from Cisco to Juniper and I'm stuggling to originate BGP
routes with community tags. On a Cisco I use:

router bgp 1234
  network 192.168.224.0 mask 255.255.224.0 route-map set-local-community

route-map set-local-community permit 10
 set community AS:180 AS:800

 ip route 192.168.224.0 255.255.224.0 null0 254

And it works like a dream.

What is the best way to replicate this in JunOS keeping in mind that
some routes like this don't have more specifics so adding the community
to a static discard won't work.

Kind regards,

Mark




More information about the juniper-nsp mailing list