The tricolor marking and policer are applied on the ingress Gigabit Ethernet interface. Incoming packets are metered. Packets that do not exceed the CIR are marked with low loss priority. Packets that exceed the CIR but do not exceed the PIR are marked with medium-high loss priority. Packets that exceed the PIR are marked with high loss priority.
- interfaces {
-
- ge-1/2/1 {
-
- unit 0 {
-
- family inet {
-
- filter {
- input trtcm-filter;
- }
- }
- }
- }
- }
- firewall {
-
- three-color-policer trtcm1 {
-
- two-rate {
- color-aware;
- committed-information-rate 100m;
- committed-burst-size 65536;
- peak-information-rate 200m;
- peak-burst-size 131072;
- }
- }
-
- filter trtcm-filter {
-
- term one {
-
- then {
-
- three-color-policer {
- two-rate trtcm1;
- }
- }
- }
- }
- }