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

metric (Dynamic Access-Internal Routes)

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
metric route-cost;

Hierarchy Level

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

Description

Dynamically configure the cost for an access route.

Options

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

  • $junos-framed-route-cost—Cost of an IPv4 access route; the variable is dynamically replaced with the metric value (Subattribute 3) from the RADIUS Framed-Route attribute [22].

  • $junos-framed-route-ipv6-cost—Cost of an IPv6 access route; the variable is dynamically replaced with the metric value (Subattribute 3) 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 the [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.

footer-navigation