Configuring Input Shaping Rates for Both Physical and Logical Interfaces
You can apply input shaping rates to both the physical interface and its logical interfaces. The rate specified at the physical level is distributed among the logical interfaces based on their input shaping-rate ratio.
To configure an input shaper on the physical interface:
Specify the phyiscal interface and associated shaping rate.
[edit] user@host# edit class-of-service interfaces interface-name user@host# set input-shaping-rate rate
To configure an input shaper on the logical interface:
Specify the physical and logical interface names and associated shaping rate.
[edit] user@host# edit class-of-service interfaces interface-name unit logical-unit-number user@host# set input-shaping-rate (percent percentage | rate)
For each logical interface, you can specify a percentage of the physical rate or an actual rate. The Junos OS software converts actual rates into percentages of the physical rate.