protocols static route <subnet> next-hop <address>
Configures the next hop for a static 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.
- address
- The address of the next-hop router.
- disable
- Disables the static route.
- distance distance
- Sets 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.
- fall-over bfd
- Enables BFD support for fallover.
- interface interface-name
- Specifies the name of the outgoing intrface.
Configuration mode
protocols {
static {
route subnet {
next-hop address {
disable
distance distance
fall-over bfd
interface interface-name
}
}
}
}
Use the set form of this command to configure the next hop for a static route.
Use the delete form of this command to remove the next hop from a static route.
Use the show form of this command to view the next hop for a static route.