Navigation
Supported Platforms
Configuring Tricolor Marking
You configure marking policers by defining the policer and multiple levels of PLP for classifiers, rewrite rules, random early detection (RED) drop profiles, and firewall filters. To configure marking policers, include the following statements at the [edit class-of-service] hierarchy level:
[edit class-of-service]tri-color;
classifiers {(dscp | dscp-ipv6 | exp | ieee-802.1 | inet-precedence) classifier-name {import classifier-name | default);forwarding-class class-name {loss-priority (low | medium-low | medium-high | high) code-points [ aliases ] [ bit-patterns ];}}}
rewrite-rules {(dscp | dscp-ipv6 | exp | ieee-802.1 | inet-precedence) rewrite-name {import (rewrite-name | default);forwarding-class class-name {loss-priority (low | medium-low | medium-high | high) code-point (aliases | bit-patterns;}}}
schedulers {scheduler-name {drop-profile-map loss-priority (any | low | medium-low | medium-high | high)protocol any drop-profile profile-name;}}
[edit firewall]policer name {then loss-priority (low | medium-low | medium-high | high);}
three-color-policer policer-name {action {loss-priority high then discard; # Only for IQ2 PICs}logical-interface-policer;single-rate {(color-aware | color-blind);committed-information-rate bps;committed-burst-size bytes;excess-burst-size bytes;}two-rate {(color-aware | color-blind);committed-information-rate bps;committed-burst-size bytes;peak-information-rate bps;peak-burst-size bytes;}}
filter filter-name {<family family> {term rule-name {then {three-color-policer (single-rate | two-rate) policer-name;}}}}