Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

route (Access)

Syntax

route prefix {next-hop next-hop;metric route-cost;preference route-distance;tag route-tag;}

Hierarchy Level

[edit dynamic-profiles routing-options access]

Release Information

Statement introduced in Junos OS Release 9.5.

Description

Dynamically configure the parameters for access routes.

Options

prefix—Either the specific route prefix that you want to assign to the access route or one of the following route prefix variables.

  • For IPv4 access routes, use the variable, $junos-framed-route-ip-address-prefix. The route prefix variable is dynamically replaced with the value in Framed-Route RADIUS attribute [22].
  • For IPv6 access routes, use the variable, $junos-framed-route-ipv6-address-prefix. The variable is dynamically replaced with the value in Framed-IPv6-Route RADIUS attribute [99].

    Note: The metric and preference statements are not supported when you specify the IPv6 route prefix variable.

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.

Published: 2012-11-29

Supported Platforms

Published: 2012-11-29