protocols static table <table> route6 <subnet> blackhole [distance]
Configures a black hole static route in an alternate routing table.
- table table
- Multi-node. An alternate routing table to be used by policy-based routing rules.
- route6 subnet
- Multi-node. An IPv6 static route. The format is a destination subnet of the form IPv6-address/prefix (h:h:h:h:h:h:h:h/x).
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.
Configuration mode
protocols {
static {
table table {
route6 subnet{
blackhole {
distance distance
}
}
}
}
}
Use this command to configure a black hole IPv6 static route in an alternate routing table. A black hole route silently discards packets that are matched.
The alternate routing tables are used with policy-based routing. Refer to Ciena Vyatta Network OS Policy-based Routing Configuration Guide for information on policy-based routing.
Use the set form of this command to configure a black hole IPv6 static route.
Use the delete form of this command to remove a black hole IPv6 static route.
Use the show form of this command to view a black hole IPv6 static route.