static

Syntax

static {defaults {static-options;}rib-group group-name;route destination-prefix {bfd-liveness-detection {authentication {algorithm algorithm-name;key-chain key-chain-name;loose-check;}detection-time {threshold milliseconds;}local-address ip-address;minimum-interval milliseconds;minimum-receive-interval milliseconds;minimum-receive-ttl number;multiplier number;neighbor address;no-adaptation;transmit-interval {threshold milliseconds;minimum-interval milliseconds;}version (1 | automatic);}next-hop address;next-hop options;qualified-next-hop address {metric metric;preference preference;}static-options;}}

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options],[edit logical-systems logical-system-name routing-options],[edit logical-systems logical-system-name routing-options rib routing-table-name],[edit routing-instances routing-instance-name routing-options],[edit routing-options],[edit routing-options rib routing-table-name]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Support for BFD authentication introduced in Junos 9.6.

Support for BFD authentication introduced in Junos 9.6 for EX Series switches.

Description

Configure static routes to be installed in the routing table. You can specify any number of routes within a single static statement, and you can specify any number of static options in the configuration.

Options

defaults—Specify global static route options. These options only set default attributes inherited by all newly created static routes. These are treated as global defaults and apply to all the static routes you configure in the static statement. This part of the static statement is optional.

route destination-prefix—Destination of the static route.

next-hop options—Additional information for how to manage forwarding of packets to the next hop.

static-options—(Optional under route) Additional information about static routes, which is included with the route when it is installed in the routing table.

You can specify one or more of the following in static-options. Each of the options is explained separately.

The remaining statements are explained separately.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Related Topics