what Steve said about the unit is correct, i did a quick test in my VMX no commit errors.
root@PE2# show | compare
[edit interfaces]
+ ge-0/0/1 {
+ unit 0 {
+ layer2-policer {
+ input-policer test;
+ }
+ family inet {
+ address 1.1.1.1/30;
+ }
+ }
+ }
[edit]
+ firewall {
+ policer test {
+ logical-interface-policer;
+ if-exceeding {
+ bandwidth-limit 100m;
+ burst-size-limit 1m;
+ }
+ then discard;
+ }
+ }
of course there is a big difference between a J series and an MX, and our version is also quite distant from each other, if you keep getting the errors that might be a limitation of your hardware/software
------------------------------
GABRIEL FLORES
------------------------------