Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

preference (Subscriber Management)

Syntax

Hierarchy Level

Description

Dynamically configure the distance for an access route.

Options

route-distance—Either the specific distance you want to assign to the access route or either of the following distance variables:

  • $junos-framed-route-distance—Distance of an IPv4 access route; the variable is dynamically replaced with the preference value (Subattribute 5) from the RADIUS Framed-Route attribute [22].

  • $junos-framed-route-ipv6-distance—Distance of an IPv6 access route; the variable is dynamically replaced with the preference value (Subattribute 5) from the RADIUS Framed-IPv6-Route attribute [99].

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 [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options access route prefix] and [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options rib routing-table-name access route prefix] hierarchy levels introduced in Junos OS Release 10.1.