Technical Documentation

[edit class-of-service] Hierarchy Level

class-of-service {adaptive-shapers {adaptive-shaper-name {trigger type shaping-rate (bps | percent percentage);}}classifiers {type classifier-name {forwarding-class class-name {loss-priority (high | low | medium-high | medium-low) code-points [ aliases bits ];}import (classifier-name | default);}}code-point-aliases {(dscp | dscp-ipv6 | exp | ieee-802.1 | inet-precedence) {alias-name bits;}}drop-profiles {profile-name {fill-level percentage drop-probability percentage;interpolate {drop-probability value;fill-level value;}}}fabric {scheduler-map {priority (high | low) scheduler scheduler-name;}}forwarding-class-map {map-name {class class-name queue-num queue-number <restricted-queue queue-number>;}}forwarding-classes {class class-name queue-num queue-number priority (high | low);queue queue-number class-name priority (high | low);}forwarding-policy {class class-name {classification-override {forwarding-class class-name;}}next-hop-map map-name {forwarding-class class-name {discard;lsp-next-hop [ lsp-regular-expressions ];next-hop [ next-hop-names ];non-lsp-next-hop;}}}fragmentation-maps {map-name {forwarding-class class-name {drop-timeout milliseconds;fragment-threshold bytes;multilink-class number;no-fragmentation;}}}host-outbound-traffic {dscp-code-point value;forwarding-class class-name;translation-table to-802.1p-from-dscp table-name;}interfaces {... the interfaces subhierarchy appears after the main [edit class-of-service] hierarchy ...}loss-priority-maps {frame-relay-de (map-name | default) {loss-priority level code-points [ 0 1 ];}}restricted-queues {forwarding-class class-name queue queue-number;}rewrite-rules {(dscp | dscp-ipv6 | exp |frame-relay-de | ieee-802.1 | inet-precedence) rewrite-rule {forwarding-class class-name {loss-priority level code-point (alias | bits);}import (rewrite-rule | default);}}routing-instances routing-instance-name {classifiers {dscp (classifier-name | default);dscp-ipv6 (classifier-name | default);exp (classifier-name | default);ieee-208.1 (classifier-name | default | encapsulated | vlan-tag);}}scheduler-maps {map-name {forwarding-class class-name scheduler scheduler-name;}}schedulers {scheduler-name {buffer-size (exact | percent percentage | remainder | temporal microseconds);drop-profile-map loss-priority (any | high | low | medium-high | medium-low) protocol (any | non-tcp | tcp) drop-profile profile-name;excess-priority (high | low | medium-high | medium-low));excess-rate percent percentage;priority (high | low | medium-high | medium-low | strict-high);shaping-rate (bps | percent percentage);transmit-rate (bps | percent percentage | remainder) <exact | rate-limit>;}}traceoptions {file <filename> <files number> <match regular-expression> <size maximum-file-size> <world-readable | no-world-readable>;flag flag;no-remote-trace;}traffic-control-profiles {profile-name {delay-buffer-rate (bps | percent percentage);excess-rate (percent percentage | proportion value);guaranteed-rate (bps | percent percentage) <burst-size bytes>;overhead-accounting (frame-mode | cell-mode) <bytes byte-value>;scheduler-map map-name;shaping-rate (bps | percent percentage) <burst-size bytes>;}}translation-table {to-802.1p-from-dscp table-name {to-code-point 3-bit-pattern from-code-points [ 6-bit-patterns ];}to-dscp-from-dscp table-name {to-code-point 6-bit-pattern from-code-points [ 6-bit-patterns ];}to-dscp-ipv6-from-dscp-ipv6 table-name {to-code-point 6-bit-pattern from-code-points [ 6-bit-patterns ];}to-exp-from-exp table-name {to-code-point 3-bit-pattern from-code-points [ 3-bit-patterns ];}to-inet-precedence-from-inet-precedence table-name {to-code-point 3-bit-pattern from-code-points [ 3-bit-patterns ];}}tri-color;}  class-of-service {interfaces {interface-name {excess-bandwith-share (equal | proportional value);input-excess-bandwith-share (equal | proportional value);input-scheduler-map map-name;input-shaping-rate bps;input-traffic-control-profile profile-name;input-traffic-control-profile-remaining profile-name;output-forwarding-class-map map-name;output-traffic-control-profile profile-name;output-traffic-control-profile-remaining profile-name;scheduler-map map-name;scheduler-map-chassis map-name;shaping-rate bps;unit logical-unit-number {adaptive-shaper adaptive-shaper-name;classifiers {dscp (classifier-name | default) {family [ inet mpls ];}dscp-ipv6 (classifier-name | default) {family [ inet mpls ];}exp (classifier-name | default);ieee-208.1 (classifier-name | default)  <vlan-tag (inner | outer)>;ieee-208.1ad (classifier-name | default);inet-precedence (classifier-name | default);}forwarding-class class-name;fragmentation-map map-name;input-scheduler-map map-name;input-shaping-rate bps;input-traffic-control-profile profile-name shared-instance instance-name;loss-priority-maps {(map-name | default);}output-forwarding-class-map map-name;output-traffic-control-profile profile-name shared-instance instance-name;per-session-scheduler;rewrite-rules {dscp (rule-name | default) <protocol mpls>;dscp-ipv6 (rule-name | default);exp (rule-name | default) <protocol [ mpls-any | mpls-inet-both | mpls-inet-both-non-vpn ]>;exp-push-push-push default;exp-swap-push-push default;frame-relay-de (rewrite-name | default);ieee-802.1 (rewrite-name | default) <vlan-tag (outer | outer-and-inner)>;ieee-802.1ad (rewrite-name | default) <vlan-tag (outer | outer-and-inner)>;inet-precedence (rewrite-name | default) <protocol mpls>;}scheduler-map map-name;shaping-rate bps;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-bandwith-share (equal | proportional value);input-excess-bandwith-share (equal | proportional value);input-traffic-control-profile profile-name;input-traffic-control-profile-remaining profile-name;internal-node;output-traffic-control-profile profile-name;output-traffic-control-profile-remaining profile-name;}}}

Published: 2010-04-28