You can configure CoS on a set of static IP demux interfaces. The static IP demux interface represents a subscriber.
Although the interface set is applied at the [edit interfaces] hierarchy level, the CoS parameters for the interface set are defined at the [edit class-of-service interfaces] hierarchy level, usually with the output-traffic control profile statement.
Before you configure CoS on a static subscriber interface:
To configure CoS on a set of static IP demux interfaces:
- class-of-service {
-
- traffic-control-profiles {
-
- voice {
- scheduler-map voice;
- shaping-rate 64k;
- }
-
- video {
- scheduler-map video;
- shaping-rate 5m;
- }
-
- data {
- scheduler-map data;
- shaping-rate 3m;
- }
-
- t2 {
- shaping-rate 7m;
- }
- }
-
- interfaces {
- demux-set1 {
- output-traffic-control-profile T2;
- }
-
- demux-set2 {
- output-traffic-control-profile T2;
- }
-
- demux0 {
-
- unit 0 {
- output-traffic-control-profile Voice;
- }
-
- unit 1 {
- output-traffic-control-profile Video;
- }
-
- unit 2 {
- output-traffic-control-profile Data;
- }
-
- unit 3 {
- output-traffic-control-profile Voice;
- }
-
- unit 4 {
- output-traffic-control-profile Video;
- }
-
- unit 5 {
- output-traffic-control-profile Data;
- }
- }
- }
-
- scheduler-maps {
-
- voice {
- forwarding-class assured-forwarding scheduler s0;
- }
-
- video {
- forwarding-class expedited-forwarding scheduler s0;
- }
-
- data {
- forwarding-class best-effort scheduler s0;
- }
- }
-
- schedulers {
-
- s0 {
- transmit-rate percent 100;
- buffer-size percent 100;
- }
- }