Technical Documentation

class-of-service

Syntax

class-of-service {
classifiers {
(dscp | ieee-802.1 | inet-precedence) classifier-name {
import (classifier-name | default);
forwarding-class class-name {
loss-priority level {
code-points [ aliases ] [ 6 bit-patterns ];
}
}
}
}
code-point-aliases {
(dscp | ieee-802.1 | inet-precedence) {
alias-name bits;
}
}
forwarding-classes {
class class-name queue-num queue-number;
}
interfaces {
interface-name {
scheduler-map map-name;
unit logical-unit-number {
forwarding-class class-name;
classifiers {
(dscp | ieee-802.1 | inet-precedence) (classifier-name | default);
}
}
}
}
multi-destination {
family {
ethernet {
broadcast forwarding-class-name;
}
inet {
classifiers {
(dscp | ieee-802.1 | inet-precedence) classifier-name;
}
}
}
scheduler-map map-name;
}
rewrite-rules {
(dscp | ieee-802.1 | inet-precedence) rewrite-name {
import (rewrite-name | default);
forwarding-class class-name {
loss-priority priority code-point (alias | bits);
}
}
}
scheduler-maps {
map-name {
forwarding-class class-name scheduler scheduler-name;
}
}
schedulers {
scheduler-name {
buffer-size (percent percentage | remainder);
drop-profile-map loss-priority loss-priority protocol protocol drop-profile profile-name;
priority priority;
shaping-rate (rate | percent percentage);
transmit-rate (rate | percent percentage | remainder);
}
}
}

Hierarchy Level

[edit]

Release Information

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Option multi-destination introduced in JUNOS Release 9.5 for EX Series switches.

Description

Configure class-of-service parameters on EX Series switches.

The remaining statements are explained separately.

Default

If you do not configure any CoS features, the default CoS settings are used.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.


Published: 2009-07-22