Setting a Global Adjustment Factor per DSL Subscriber Line for ANCP Agent-Reported Traffic Rates
The ANCP agent always reports both upstream and downstream rates to AAA. When a DSLAM calculates the data rate on the subscriber local loop, it ignores the additional headers on the DSL line that are associated with the overhead of the access mode (ATM or Ethernet). When the ANCP agent reports the net upstream data rate or the net downstream data rate, it includes the headers in its calculation and reports a slightly higher value than that calculated by the DSLAM; this is the unadjusted data rate.
The ANCP agent can optionally report adjusted data rates to AAA. Configure the agent to adjust the traffic rate to account for the header overhead by specifying an adjustment factor for one or more DSL line types. The adjustment factor is a percentage that is applied to the total downstream and upstream data rates reported by the ANCP agent. The adjustment factor applies globally for all subscribers of that DSL line type. By default, the ANCP agent applies an adjustment factor of 100 percent to all DSL lines, meaning that no adjustment is made. The ANCP agent simply passes on the DSL line rates that include the header information.
These adjustment factors affect only the rates reported to AAA. The ANCP agent reports downstream data rates to CoS only when you include the qos-adjust statement at the [edit protocols ancp] hierarchy level.
Starting in Junos OS Release 17.4R1, the previously supported qos-adjust-line-type rate adjustment statements at the [edit protocols ancp] hierarchy level are deprecated. They are replaced by the line-type-total-adjust options for the access-line statement at the [edit system] hierarchy level. The ANCP agent ignores the deprecated statements if they are present. This means that when you upgrade from Junos OS Release 17.3 or earlier with an existing rate adjustment configuration, you must reconfigure your adjustment with the access-line statement.
To apply a global adjustment factor for DSL subscriber lines to be reported to AAA:
Specify the adjustment factor percentage for the desired subscriber line.
In Junos OS Release 17.3 or earlier:[edit protocols ancp]user@host# set qos-adjust-adsl percentageuser@host# set qos-adjust-adsl2 percentageuser@host# set qos-adjust-adsl2-plus percentageuser@host# set qos-adjust-other percentageuser@host# set qos-adjust-sdsl percentageuser@host# set qos-adjust-vdsl percentageuser@host# setqos-adjust-vdsl2 percentage
In Junos OS Release 17.4 or later:[edit system access-line]user@host# set adsl-total-adjust percentageuser@host# set adsl2-total-adjust percentageuser@host# set adsl2-plus-total-adjust percentageuser@host# set other-total-adjust percentageuser@host# set sdsl-total-adjust percentageuser@host# set vdsl-total-adjust percentageuser@host# set vdsl2-total-adjust percentage