[Contents] [Prev] [Next] [Index] [Report an Error]

Applying a Tricolor Marking Policer to a Firewall Filter

To rate-limit traffic by attaching a tricolor marking policer to a firewall filter, include the three-color-policer statement:

three-color-policer {
(single-rate | two-rate) policer-name;
}

You can include this statement at the following hierarchy levels:

In the family statement, the protocol family can be any, ccc, inet, inet6, mpls, or vpls.

You must identify the referenced policer as a single-rate or two-rate policer, and this statement must match the configured TCM policer. Otherwise, an error message appears in the configuration listing.

For example, if you configure srTCM as a single-rate TCM policer and try to apply it as a two-rate policer, the following message appears:

[edit firewall]
user@host# show three-color-policer srTCM
single-rate {
color-aware;
. . .
}
user@host# show filter TESTER
term A {
then {
three-color-policer {
##
## Warning: Referenced two-rate policer does not exist
##
two-rate srTCM;
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]