This is an old revision of the document!
BGP on Juniper (JunOS)
http://www.juniper.net/techpubs/software/nog/nog-mpls/html/config-mpls12.html http://www.space.net/~gert/RIPE/ipv6-filters.html
See also:
Powerful BGP commands
What do we advertice to our neighbor
show route advertising-protocol bgp <IP>
What do we get from our neighbor
show route receive-protocol bgp <IP>
Exporting
policy-statement foobar-export {
term foobar {
from {
route-filter x.x.x.0/24 exact accept;
}
}
term rest {
then reject;
}
}
Remember, that you need to have something in the routing table!
routing-options:
static {
route x.x.x.0/24 discard metric 100;
...
}
protocol {
bgp {
group uplink {
type external;
description foobar_uplink;
export foobar-export;
neighbor 193.138.33.109 {
peer-as 5435;
}
}
}
Remember to also filter the import or your can be flooded

