The following CoS statements can be configured at the [edit firewall] hierarchy level. This is not a comprehensive list of statements available at the [edit firewall] hierarchy level. Only the statements documented in this manual are listed here. For more information about firewall configuration, see the JUNOS Policy Framework Configuration Guide.
- [edit firewall]
-
three-color-policer policer-name {
-
-
action {
- loss-priority high then discard;
- }
-
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;
- }
-
-
family family-name {
-
-
filter filter-name {
-
-
term term-name {
-
- from {
-
match-conditions;
- }
-
- then {
-
dscp 0;
-
forwarding-class class-name;
-
loss-priority (high | low);
-
virtual-channel virtual-channel-name;
-
-
three-color-policer {
- (single-rate | two-rate) policer-name;
- }
- }
- }
- }
-
-
simple-filter filter-name {
-
-
term term-name {
-
- from {
-
match-conditions;
- }
-
- then {
-
forwarding-class class-name;
-
loss-priority (high | low | medium);
- }
- }
- }
- }
-
-
policer policer-name {
-
logical-bandwidth-policer;
-
-
if-exceeding {
- bandwidth-limit rate;
- bandwidth-percent number;
- burst-size-limit bytes;
- }
-
- then {
-
policer-action;
- }
- }
- }