CoS Traffic Shaping Predefined Variables for Dynamic Interface Sets
To control bandwidth at a household level in a subscriber access network, you can apply RADIUS CoS traffic-shaping attributes to a dynamic interface set and its member subscriber sessions when the member sessions are authenticated. The dynamic interface set, which represents the household level in a subscriber access network, can be either a dynamic agent-circuit-identifier (ACI) interface set or a non-ACI–based dynamic interface set. The subscriber sessions belonging to the interface set can be dynamic VLAN, DHCP, or PPPoE subscriber interfaces.
To apply RADIUS CoS traffic-shaping attributes to both the dynamic interface set and its member subscriber sessions, you must configure two traffic-control profiles in the dynamic profile for the subscriber interface: one traffic-control profile for the “parent” dynamic interface set, and a second traffic-control profile for the dynamic subscriber interfaces. RADIUS tag values for the Junos OS CoS traffic-shaping predefined variables used in these traffic-control-profiles must be in the 100s range, as described in Table 1.
To accommodate this feature, the set of existing $junos-cos-parameter
predefined dynamic variables for traffic
shaping have been duplicated and assigned a tag value in the 100s
range, as listed in Table 1. The tag value is the only difference between the existing
predefined dynamic variables and the predefined dynamic variables
that you must use with this feature.
For example, the existing $junos-cos-shaping-rate
predefined variable is assigned RADIUS vendor ID 4874, attribute
number 108, and tag value 2. To apply RADIUS CoS traffic-shaping attributes
to the dynamic interface set and its member subscriber sessions, you
must instead use the $junos-cos-shaping-rate
predefined
variable that is assigned RADIUS vendor ID 4874, attribute number
108, and tag value 102.
Table 1 describes the Junos OS predefined dynamic variables and RADIUS tag values that you can use in a dynamic profile to apply RADIUS CoS traffic-shaping attributes to the dynamic interface set and its member subscriber sessions. The table lists the predefined dynamic variables in ascending order by tag value.
All of the predefined variables listed in Table 1 use RADIUS vendor ID 4874 and RADIUS attribute value 108.
Predefined Variable |
RADIUS Tag Value |
Description |
---|---|---|
$junos-cos-scheduler-map |
101 |
Scheduler-map name configured in a traffic-control profile in a dynamic profile. |
$junos-cos-shaping-rate |
102 |
Shaping rate configured in a traffic-control profile in a dynamic profile. Represents the maximum bandwidth of a CoS scheduler node. |
$junos-cos-guaranteed-rate |
103 |
Guaranteed rate configured in a traffic-control profile in a dynamic profile. Represents the minimum bandwidth of a CoS scheduler node. |
$junos-cos-delay-buffer-rate |
104 |
Delay-buffer rate configured in a traffic-control profile in a dynamic profile. |
$junos-cos-excess-rate |
105 |
Excess rate configured in a traffic-control profile in a dynamic profile; scheduler weighting when operating in the excess region between the guranteed rate and the shaping rate. Note:
Do not configure the $junos-cos-excess-rate variable when either the $junos-cos-excess-rate-high variable or the $junos-cos-excess-rate-low variable is configured. |
$junos-cos-traffic-control-profile |
106 |
Traffic-control profile configured in a dynamic profile for subscriber access. |
$junos-cos-shaping-mode |
107 |
Overhead-accounting mode configured in a traffic-control profile in a dynamic profile to shape downstream ATM traffic based on either frames (frame-mode) or cells (cell-mode). |
$junos-cos-byte-adjust |
108 |
Byte adjustment value for the cell or frame shaping mode configured in a traffic-control profile in a dynamic profile. Note:
Do not configure the $junos-cos-byte-adjust variable when either the $junos-cos-byte-adjust-frame variable or the $junos-cos-byte-adjust-cell variable is configured. |
$junos-cos-adjust-minimum |
109 |
Minimum adjusted shaping rate configured in a traffic-control profile for a dynamic subscriber interface. Specifying this variable in a traffic-control profile for a dynamic interface set has no effect. |
$junos-cos-excess-rate-high |
110 |
Shaping rate configured for excess high-priority traffic in a traffic-control profile in a dynamic profile. Note:
Do not configure the $junos-cos-excess-rate-high variable when the $junos-cos-excess-rate variable is configured. |
$junos-cos-excess-rate-low |
111 |
Shaping rate configured for excess low-priority traffic in a traffic-control profile in a dynamic profile. Note:
Do not configure the $junos-cos-excess-rate-low variable when the $junos-cos-excess-rate variable is configured. |
$junos-cos-shaping-rate-burst |
112 |
Burst size for the shaping rate configured in a traffic-control profile in a dynamic profile. |
$junos-cos-guaranteed-rate-burst |
113 |
Burst size for the guaranteed rate configured in a traffic-control profile in a dynamic profile. |
$junos-cos-byte-adjust-frame |
114 |
Overhead bytes when downstream ATM traffic is in frame-mode. Note:
Do not configure the $junos-cos-byte-adjust-frame variable when the $junos-cos-byte-adjust variable is configured. |
$junos-cos-byte-adjust-cell |
115 |
Overhead bytes when downstream ATM traffic is in cell-mode. Note:
Do not configure the $junos-cos-byte-adjust-cell variable when the $junos-cos-byte-adjust variable is configured. |
$junos-cos-shaping-rate-priority-high |
116 |
Shaping rate configured for high-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-priority-high-burst |
117 |
Shaping rate burst size configured for high-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-priority-medium |
118 |
Shaping rate configured for medium-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-priority-medium-burst |
119 |
Shaping rate burst size configured for medium-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-priority-low |
120 |
Shaping rate configured for low-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-priority-low-burst |
121 |
Shaping rate burst size configured for low-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-excess-high |
122 |
Shaping rate configured for excess high-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-excess-high-burst |
123 |
Shaping rate burst size configured for excess high-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-excess-low |
124 |
Shaping rate configured for excess low-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |
$junos-cos-shaping-rate-excess-low-burst |
125 |
Shaping rate burst size configured for excess low-priority traffic in a traffic-control profile for a dynamic interface set or dynamic ACI interface set at a household level. Specifying this variable in a traffic-control profile for a dynamic subscriber interface is prohibited. |