Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    static

    Syntax

    static {route destination-prefix {next-hop address;}}

    Hierarchy Level

    [edit services-app-engine virtual-machines instance instance-name routing-options][edit services-app-engine virtual-machines instance instance-name routing-options rib routing-table-name]

    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

     

    Published: 2014-04-04