Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Related Documentation




    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.


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


    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

    next-hop address

    Next-hop routing device. Specify using an IPv4 address.


    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