# Adjusting the Data Rate Reported by ANCP for DSL Lines

When a DSLAM calculates the data rate, it ignores additional headers on the DSL line. When ANCP reports the upstream data rate (L2C Type 4 Sub-type 129) or the downstream data rate (L2C Type 4 Sub-type 130), it includes the headers in its calculation and therefore reports a slightly higher value. This discrepancy causes the QoS shaping rate to be slightly higher than the actual rate.

You can use the adjustment-factor command to set a percentage value ANCP applies to the data rate to generate a more accurate value that is reported to AAA whenever AAA requests the data rate from ANCP.

ANCP does not report the calculated data rate to RADIUS or to L2TP.

adjustment-factor

- Use to configure a QoS adjustment factor that is applied to the upstream data rate and downstream data rate reported by ANCP for a DSL type. The adjustment factor is used to generate an accurate QoS shaping rate.
- The factor is applied for all subscribers that use the specified DSL line type
- Example
  host1(config-l2c)#adjustment-factor adsl1 45 host1(config-l2c)#adjustment-factor adsl2 55 host1(config-l2c)#adjustment-factor adsl2+ 67 host1(config-l2c)#adjustment-factor vdsl 91 host1(config-l2c)#adjustment-factor vdsl2 55 host1(config-l2c)#adjustment-factor sds 12
- Use the no version to restore the default condition, wherein no adjustment factor is applied to the ANCP-reported value. This command has the same effect as applying an adjustment factor of 100 to a DSL line type.
- See adjustment-factor.