[Juniper] Warning: ‘policer’ is deprecated
Posted by a. Rahman Isnaini r. Sutan on August 14th, 2008
=======================
Juniper Config Manager [Here..]
=======================
Though it doesn’t show the policer command under filter directory.
I am still forcing this to be set & to ensure everything works.
Unfortunately I have this error :
filter CUST-A {
policer SHAPE-CUSTOMER A { ## Warning: ‘policer’ is deprecated
if-exceeding {
bandwidth-limit 3m;
burst-size-limit 256k;
}
then discard;
}
term CUST-A-TRAFFIC {
then {
policer SHAPE-CUSTOMER-A; ## ‘SHAPE-BNA’ is not defined
count BNA-TRAFFIC;
}
}
}
Why ?
Newer version of Juniper OS (above commands valid for 5.0), policer should be under firewall.
Or the same level as filter & re-configure your policer under firewall should be fine.
a. rahman isnaini r.sutan


