Related Documentation
- M Series
- rib
- routing-options
- MX Series
- rib
- routing-options
- T Series
- rib
- routing-options
- VSE Series Devices
- rib
- routing-options
static
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 14.1.
Description
Configure static routes to be installed in the routing table. You can specify any number of routes within a single static statement.
Options
route destination-prefix | — | Configure individual static routes. destination-prefix/prefix-length—destination-prefix is the network portion of the IP address, and prefix-length is the destination prefix length. When you configure an individual static route in the route part of the static statement, specify the destination of the route (in route destination-prefix) in one of the following ways: network/mask-length, where network is the network portion of the IP address and mask-length is the destination prefix length. default if this is the default route to the destination. This is equivalent to specifying an IP address of 0.0.0.0/0. |
next-hop address | — | Next-hop routing device. Specify using an IPv4 address. |
route | — | Static route. |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Related Documentation
- M Series
- rib
- routing-options
- MX Series
- rib
- routing-options
- T Series
- rib
- routing-options
- VSE Series Devices
- rib
- routing-options