I have a firewall counter on a Juniper MX router (set firewall filter myfilter term myterm then count mycounter) and want to poll its packet/byte count via SNMP. I searched for an OID but I'm unable to find one. Is it possible at all to poll firewall filter counters via SNMP and if so which MIB/OID do I use?

1 Answer 1


Yes, this data is populated in the Firewall MIB

  • . contains your counters
  • . contains your filter names
  • . contains your counter names

show firewall filter RE-FILTER | match mgmt_ntp
mgmt_ntp 199728 2628

% snmpbulkwalk jnpr .|grep mgmt_ntp
. = STRING: "mgmt_ntp"

% snmpbulkwalk jnpr .
. = Counter64: 199728

More information on juniper.net

  • Don't know how I missed that in the first place. Thanks. Commented Jun 17, 2013 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.