SOURCECODEBD.NET

Live Experience

Juniper Blackhole Routes / Null0 Routes
 
You don't want to route any traffic to particular networks. This is equvalent as cisco Null0 router. 
Define static routes to these networks that discard the traffic:
 
# set routing-options static route 1.0.0.0/8 discard
# set routing-options static route 2.0.0.0/8 discard
 
Verify that the routes are in the routing table:
 
# run show route
inet.0: 23 destinations, 23 routes (22 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
1.0.0.0/8          *[Static/5] 00:03:41
                      Discard
2.0.0.0/8          *[Static/5] 00:00:02
                      Discard
 
 
You are here: Home / Knowledge Base / Juniper Blackhole Routes / Null0 Routes