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

Example: Applying a Single-Rate Tricolor Marking Policer to an Interface

Apply the trtcm1-cb policer to an interface:

firewall {
three-color-policer srtcm1 {    # Configure the srtcm1-cb policer.
single-rate {
color-blind;
committed-information-rate 1048576;
committed-burst-size 65536;
excess-burst-size 131072;
}
}
filter fil {    # Configure the fil firewall filter, attaching the srtcm1-cb policer.
term default {
then {
three-color-policer {
single-rate srtcm1-cb;     # The TCM policer must be single-rate.
}
}
}
interfaces {    # Configure the interface, which attaches the fil firewall filter.
so-1/0/0 {
unit 0 {
family inet {
filter {
input fil;
}
}
}
}

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