unit (Dynamic Traffic Shaping)
Syntax
unit logical-unit-number { classifiers { type (classifier-name | default); } output-traffic-control-profile (profile-name | $junos-cos-traffic-control-profile); report-ingress-shaping-rate bps; rewrite-rules { dscp (rewrite-name | default); dscp-ipv6 (rewrite-name | default); ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner); inet-precedence (rewrite-name | default); } } }
Hierarchy Level
[edit dynamic-profiles profile-name class-of-service interfaces interface-name], [edit dynamic-profiles profile-name interfaces interface-set interface-set-name interface interface-name]
Description
Configure a logical interface on the physical device. You must configure a logical interface to be able to use the physical device.
Options
logical-unit-number
—One of the following options:
$junos-underlying-interface-unit
—For static VLANs, the unit number variable. The static unit number variable is dynamically replaced with the client unit number when the client session begins. The client unit number is specified by the DHCP when it accesses the subscriber network.$junos-interface-unit
—For dynamic demux and dynamic PPPoE interfaces, the unit number variable. The static unit number variable is dynamically replaced with the client unit number when the client session begins. The client unit number is specified by the DHCP or PPP when it accesses the subscriber network.value—Specific unit number of the interface you want to assign to the dynamic-profile
Range: 0 through 16385. For demux and PPPoE interfaces, the unit numbers can range from 0 through 1,073,741,823.
The remaining statements are explained separately. The classifiers
, output-traffic-control-profile
, and rewrite-rules
statements are not supported for interface sets.
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 9.2.
Support at the [edit dynamic-profiles profile-name class-of-service interfaces interface-set interface-set-name]
hierarchy level introduced in Junos OS Release 10.4.