Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

route (Access)

date_range 03-Jun-24

Syntax

content_copy zoom_out_map
route prefix {
    metric route-cost;
    next-hop next-hop;
    preference route-distance;
    qualified-next-hop
    tag route-tag;
    tag2 route-tag2;
}

Hierarchy Level

content_copy zoom_out_map
[edit routing-options access]
[edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options access],
[edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options rib routing-table-name access],
[edit dynamic-profiles profile-name routing-options access],
[edit dynamic-profiles profile-name routing-options rib routing-table-name access]

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]. When you use this variable, you must configure it at either of the following hierarchy levels:

    • [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options rib $junos-ipv6-rib access]

    • [edit dynamic-profiles profile-name routing-options rib $junos-ipv6-rib access]

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 9.5.

Support at the [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options access] and [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options rib routing-table-name access] hierarchy levels introduced in Junos OS Release 10.1.

footer-navigation