Example: Configuring a CIR and a PIR on SONET/SDH OC48/STM16 IQE Interfaces
On SONET/SDH OC48/STM16 IQE interfaces, you can configure a CIR (guaranteed rate) and a PIR (shaping rate) on a single logical interface. The configured rates are gathered into a traffic control profile. If you configure a traffic control profile with a CIR (guaranteed rate) only, the PIR (shaping rate) is set to the physical interface (port) rate.
CIR and PIR are not supported at the queue level.
In the following example, logical unit 0
has
a CIR equal to 30 Mbps and a PIR equal to 200 Mbps. Logical
unit 1
has a PIR equal to 300 Mbps. Logical unit 2
has a CIR equal to 100 Mbps and a PIR that is unspecified.
For logical unit 2
, the software gives the PIR the value
of 1 Gbps (equal to the physical interface rate) because the
PIR must be equal to or greater than the CIR.
In this example, bandwidth is shared proportionally to the guaranteed rate because at least one logical interface has a guaranteed rate.
class-of-service { traffic-control-profiles { profile1 { shaping-rate 200m; guaranteed-rate 30m; delay-buffer-rate 150m; scheduler-map sched-map; } profile2 { shaping-rate 300m; delay-buffer-rate 500k; scheduler-map sched-map; } profile3 { guaranteed-rate 100m; scheduler-map sched-map; } } interfaces { se-3/0/0 { unit 0 { output-traffic-control-profile profile1; } unit 1 { output-traffic-control-profile profile2; } unit 2 { output-traffic-control-profile profile3; } } } }