predefined-variable-defaults (Dynamic Client Profiles)
Syntax
predefined-variable-defaults { cos-excess-rate <percent percentage> <proportion number>; cos-excess-rate-low <percent percentage> <proportion number>; cos-excess-rate-high <percent percentage> <proportion number>; cos-scheduler-bs <percent percentage> <temporal microseconds>; cos-scheduler-shaping-rate <percent percentage> <rate bps>; cos-scheduler-tx <percent percentage> <rate bps>; predefined-variable default-value; }
Hierarchy Level
[edit dynamic-profiles profile-name]
Description
Configure default values for the predefined variables that are configured in a dynamic client profile. These default values are used when RADIUS does not supply a value. Omit the predefined variable prefix, $junos-, when you configure a default. Most predefined variables support only a single default value; these predefined variables are not listed separately here. The listed predefined variables support default values for two attributes; for these you can specify the default value for either attribute or for both attributes.
Not all predefined variables support default values. For a list of predefined variables and options for which you can configure default values, see Junos OS Predefined Variables That Correspond to RADIUS Attributes and VSAs
Defining default values for these predefined variables enables you to determine whether to source values locally from the profile instead of only from RADIUS. This enables you to use RADIUS as a way to selectively override predefined variable values, instead of being the sole source of those values.
The proportion
option provides greater granularity
than the percent
option, enabling you to specify the equivalent
of a tenth of a percent. Configuring proportion 121
applies
a value equivalent to 12.1 percent, which you cannot achieve with
the percent
option.
Do not use this statement in a dynamic service profile.
Options
cos-excess-rate percent percentage | Specify the percentage of excess bandwidth to share from all traffic.
|
cos-excess-rate proportion number | Specify the proportion of excess bandwidth to share from all traffic.
|
cos-excess-rate-low percent percentage | Specify the percentage of excess bandwidth to share from low-priority traffic.
|
cos-excess-rate-low proportion number | Specify the proportion of excess bandwidth to share from low-priority traffic.
|
cos-excess-rate-high percent percentage | Specify the percentage of excess bandwidth to share from high-priority traffic.
|
cos-excess-rate-high proportion number | Specify the proportion of excess bandwidth to share from high-priority traffic.
|
cos-scheduler-bs percent percentage | Specify the buffer size as a percentage of the total buffer.
|
cos-scheduler-bs temporal microseconds | Specify the temporal value that determines the buffer size. The temporal value multiplied by the logical interface speed determines the size.
|
cos-scheduler-shaping-rate percent number | Specify the shaping rate as a percentage of the available interface bandwidth.
|
cos-scheduler-shaping-rate rate bps | Specify the shaping rate in bits per second.
|
cos-scheduler-tx percent number | Specify the transmit rate as a percentage of the total available bandwidth.
|
cos-scheduler-tx rate bps | Specify the transmit rate in bits per second.
|
default-value
—Default
value that you want to assign to the predefined variable. Use this
for predefined variables that support only a single value.
predefined-variable
—Name
of the Junos OS predefined variable to which you want to assign a
default value. Do not include the $junos-
prefix.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.2.
Support for the $junos-interface-mtu predefined variable (interface-mtu
) introduced in Junos OS Release 18.1R1 on MX
Series.