[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Class of Service

To configure Diffserv-aware traffic engineering, you must also configure class of service. The following example illustrates a class-of-service configuration that would allocate 25 percent of the link bandwidth to each class:

class-of-service {
interfaces {
all {
scheduler-map simple-map;
}
}
scheduler-maps {
simple-map {
forwarding-class assured-forwarding scheduler simple_sched;
forwarding-class best-effort scheduler simple_sched;
forwarding-class network-control scheduler simple_sched;
forwarding-class expedited-forwarding scheduler simple_sched;
}
}
schedulers {
simple-sched {
transmit-rate percent 25;
buffer-size percent 25;
}
}
}

For more information on how to configure class of service, see the JUNOS Class of Service Configuration Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]