protocols static route <subnet> blackhole <distance>
Configures a black hole static route.
- route subnet
- Multi-node. A static route. The format is a destination subnet of the form address/prefix (x.x.x.xlx).
You can define multiple static routes by creating multiple route configuration nodes.
- blackhole
- A destination router that is offline and cannot receive traffic or provide messages to the source of the traffic.
- distance distance
- The black hole distance for this route. Routes with a smaller distance are selected before those with a larger distance. The distance ranges from 1 through 255. The default distance is 1.
Configuration mode
protocols {
static {
route subnet {
blackhole {
distance distance
}
}
}
}
A black hole static route is a route for which the system silently discards packets that are matched.
Use the set form of this command to configure a black hole static route.
Use the delete form of this command to remove a black hole static route.
Use the show form of this command to view a black hole static route.