Hello,
Currently I'm running a multihome BGP setup with a stacked EX4200 chassi.
The BGP sessions and such are working fine, but now I would like to be able to push BGP null routes / blackholing.
So I got in touch with the providers and while one is taking some time, the other has supplied me with session details towards an EBGP peer.
So according to the documentation, I assigned a separate IP to the lo0 interface:
lo0 {
unit 0 {
family inet {
address a.a.a.a/32;
}}}
Next I created a new BGP group:
protocols {
bgp {
local-as MyAS;
group Provider-Black {
type external;
multihop;
local-address a.a.a.a;
authentication-key ## SECRET-DATA
export export_null;
peer-as ProviderAS;
local-as MyAS;
neighbor b.b.b.b;
}}}}
I then went ahead and created the policy statemend and prefix list:
prefix-list export-null {
c.c.c.c/32;
}
policy-statement export_null {
term eBGP-NullAnnounce {
from {
prefix-list export-null;
}
then accept;
}
term default_allow {
then reject;
}
}
The problem is, that nothing is being exported this way, when I swap the accept and reject of the policy statement, all known routes are being advertised and nulled - so my match rule doesn't work I'd assume.
I tried changing the matching condition to the below but it made no difference:
policy-statement export_null {
term eBGP-NullAnnounce {
from {
route-filter d.d.d.d/32 exact;
}
then accept;
}
term default_allow {
then reject;
}
}
i would appreciate any help you could provide as I'm totally lost at this point seen to the export rules, and no this provider cannot provide any tags for some kind of community approach.