Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    metric (Dynamic Access-Internal Routes)

    Syntax

    metric route-cost;

    Hierarchy Level

    [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]

    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.

    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.

    Published: 2013-08-27