Supported Platforms
Setting a Recommended Shaping Rate for Traffic on ANCP Interfaces
When the access node sends information about the downstream and upstream calculated traffic rates for an interface, those values are used to shape the traffic sent to the interface so that it matches the subscriber local loop speed. You can specify recommended values that are used when the router does not receive this information from the access node. In this event, these recommended values are used as the default values for the following Juniper VSAs:
- Downstream-Calculated-Qos-Rate (IANA 4871, 26–141)—Conveys the transmit speed, which is the recommended traffic value in bits per second used for downstream traffic for an ANCP interface.
- Upstream-Calculated-Qos-Rate (IANA 4874, 26-142)—Conveys the receive speed, which is the recommended traffic value in bits per second used for upstream traffic for an ANCP interface.
You can configure the recommended rates either on static VLAN and VLAN demux interfaces, or you can specify them in a dynamic profile for dynamic VLAN and VLAN demux interfaces or interface sets.
To configure recommended traffic shaping values for a static interface:
- Set the rate in bits per second for downstream traffic
for the interface.[edit interfaces interface-name unit logical-unit-number advisory-options]user@host# set downstream-rate rate
- Set the rate in bits per second for upstream traffic for
the interface.[edit interfaces interface-name unit logical-unit-number advisory-options]user@host# set upstream-rate rate
For example, to set the recommended downstream rate to 16 Mbps and the recommended upstream rate to 1 Mbps on VLAN demux interface demux0.10301:
To configure recommended traffic shaping values for a dynamic interface:
- Set the rate in bits per second for downstream traffic
in the dynamic profile.[edit dynamic-profiles profile-name interfaces $junos-interface-ifd-name unit $junos-interface-unit advisory-options]user@host# set downstream-rate rate
- Set the rate in bits per second for upstream traffic in
the dynamic profile.[edit dynamic-profiles profile-name interfaces $junos-interface-ifd-name unit $junos-interface-unit advisory-options]user@host# set upstream-rate rate
For example, to configure the dynamic profile ancp-dyn-vlan2 to set the recommended downstream rate to 10 Mbps and the recommended upstream rate to 1 Mbps on all interfaces in the dynamically created interface set:
To configure recommended traffic shaping values for a dynamic interface set:
- Set the rate in bits per second for downstream traffic
in the dynamic profile.[edit dynamic-profiles profile-name interfaces interface-set $junos-interface-set-name interface $junos-interface-ifd-name advisory-options]user@host# set downstream-rate rate
- Set the rate in bits per second for upstream traffic in
the dynamic profile.[edit dynamic-profiles profile-name interfaces interface-set $junos-interface-set-name interface $junos-interface-ifd-name advisory-options]user@host# set upstream-rate rate
For example, to configure the dynamic profile ancp-dyn-vlan1 to set the recommended downstream rate to 12 Mbps and the recommended upstream rate to 2 Mbps on all interfaces in the dynamically created interface set: