protocols static table <table> route <subnet> next-hop <address>
Configures the next hop for a static route in an alternate routing table.
- table table
- Multi-node. An alternate routing table to be used by policy-based routing rules.
- route subnet
- Multi-node. Defines a static route. The format is a destination subnet of the form address/prefix (x.x.x.x/x).
You can define multiple static routes by creating multiple route configuration nodes.
- next-hop address
- The address of the next-hop router.
- disable
- Disables the static route.
- distance distance
- The next-hop 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 {
table table {
route subnet {
next-hop address {
disable
distance distance
}
}
}
}
}
Use this command to configure static routes in an alternate routing table. 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 the next hop for a route in an alternate routing table.
Use the delete form of this command to remove the next hop from a static route in an alternate routing table.
Use the show form of this command to view the next hop for a static route in an alternate routing table.