[Contents] [Prev] [Next] [Index] [Report an Error]


static

Syntax

static {
    defaults {
        
static-options;
    }
    rib-group
group-name;
    route
destination-prefix {
        
next-hop;
        
qualified-next-hop address {
            
metric metric;
            
preference preference;
        }
        
static-options;
    }
}

Hierarchy Level

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

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 statements in the configuration.

Options

defaults—Configure default static route.

route destination-prefix—Destination of the generated route.

next-hop—How to reach the destination.

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.

Usage Guidelines

See Configure Static Routes.

Required Privilege Level

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


[Contents] [Prev] [Next] [Index] [Report an Error]