The following example shows how you can configure a policing filter for an LSP:
- [edit firewall]
- policer police-ct1 {
-
- if-exceeding {
- bandwidth-limit 50m;
- burst-size-limit 1500;
- }
-
- then {
- discard;
- }
- }
- policer police-ct0 {
-
- if-exceeding {
- bandwidth-limit 200m;
- burst-size-limit 1500;
- }
-
- then {
- discard;
- }
- }
- family any {
-
- filter bar {
-
- term discard-ct0 {
-
- then {
- policer police-ct0;
- accept;
- }
- }
- }
-
- term discard-ct1 {
-
- then {
- policer police-ct1;
- accept;
- }
- }
- }