interfaces (Class of Service)
Syntax
interfaces { interface-name { classifiers { dscp (classifier-name | default) { } ieee-802.1 (classifier-name | default) vlan-tag (inner | outer | classifier-name); inet-precedence (rewrite-name | default); } input-scheduler-map map-name; input-shaping-rate rate; irb { unit logical-unit-number { classifiers { type (classifier-name | default); no-default; } rewrite-rules { dscp (rewrite-name | default); dscp-ipv6 (rewrite-name | default); exp (rewrite-name | default)protocol protocol-types; ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner); inet-precedence (rewrite-name | default); } } } member-link-scheduler (replicate | scale); monitoring-profile profile-name shared; rewrite-rules { dscp (rewrite-name | default); ieee-802.1 (rewrite-name | default) vlan-tag (outer); inet-precedence (rewrite-name | default); } } scheduler-map map-name; scheduler-map-chassis map-name; shaping-rate rate; slice slice-name { output-traffic-control-profile profile-name; } unit logical-unit-number { classifiers { type (classifier-name | default) family (mpls | inet); } forwarding-class class-name; fragmentation-map map-name; input-shaping-rate (percent percentage | rate); input-traffic-control-profile profile-name shared-instance instance-name; output-traffic-control-profile profile-name shared-instance instance-name; per-session-scheduler; policy-map policy-map-name; policy-map-marking; rewrite-rules { dscp (rewrite-name | default); dscp-ipv6 (rewrite-name | default); exp (rewrite-name | default) protocol protocol-types; exp-push-push-push default; exp-swap-push-push default; ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner); inet-precedence (rewrite-name | default); } scheduler-map map-name; shaping-rate rate; translation-table (to-dscp-from-dscp | to-dscp-ipv6-from-dscp-ipv6 | to-exp-from-exp | to-inet-precedence-from-inet-precedence) table-name; } } interface-set interface-set-name { excess-bandwidth-share; internal-node; output-traffic-control-profile profile-name; output-traffic-control-profile-remaining profile-name; } }
Hierarchy Level
[edit class-of-service]
Description
Associate class of service (CoS) configuration elements with an interface.
Only devices that support direct port scheduling also support applying a scheduler map directly to an interface. When using hierarchical port scheduling, you cannot apply a scheduler map directly to an interface. Instead, you associate the scheduler map with a traffic control profile and apply the traffic control profile to the interface.
Options
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Interface-set level added in Junos OS Release 8.5.