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:
See Configuring a Subscriber Interface Using a Set of Static IP Demux Interfaces.
To configure CoS on a set of static IP demux interfaces:
- [edit]
- class-of-service {
-
- interfaces {
-
- interface-set demux-set1 {
- output-traffic-control-profile t2;
- }
-
- interface-set 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;
- }
- }
- }