Configuring Traffic Policing in Layer 2 VPNs
You can use policing to control the amount of traffic flowing over the interfaces servicing a Layer 2 VPN. If policing is disabled on an interface, all the available bandwidth on a Layer 2 VPN tunnel can be used by a single CCC or TCC interface.
For information on how to configure traffic policers, see the Routing Policies, Firewall Filters, and Traffic Policers User Guide.
To enable Layer 2 VPN policing on an interface, include
the policer
statement:
policer { input policer-template-name; output policer-template-name; }
If you configure CCC encapsulation, you can include the policer
statement at the following hierarchy levels:
[edit interfaces interface-name unit logical-unit-number family ccc]
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family ccc]
If you configure TCC encapsulation, you can include the policer
statement at the following hierarchy levels:
[edit interfaces interface-name unit logical-unit-number family tcc]
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family tcc]
For information about how to configure the encapsulation type, see Configuring the Encapsulation Type.