This example shows how you could configure automatic policing for LSPs. It shows automatic policing configured for a multiclass LSP with class types ct0, ct1, ct2, and ct3 configured.
- [edit protocols mpls]
- diffserv-te {
- bandwidth-model extended-mam;
- }
- auto-policing {
- class ct1 loss-priority-low;
- class ct0 loss-priority-high;
- class ct2 drop;
- class ct3 loss-priority-low;
- }
- traffic-engineering bgp-igp;
- label-switched-path sample-lsp {
- to 3.3.3.3;
-
- bandwidth {
- ct0 11;
- ct1 1;
- ct2 1;
- ct3 1;
- }
- }
- interface fxp0.0 {
- disable;
- }
- interface t1-0/5/3.0;
- interface t1-0/5/4.0;