Home » Uncategorized » JunOS Firewall Counter OIDs

In this MIB the index is based on SnmpAdminString where each word is
prefixed with its length, and each word is in ASCII decimal format.

You can try walking these OIDs:

jnxFWCounterPacketCount = '.1.3.6.1.4.1.2636.3.5.2.1.4'
jnxFWCounterByteCount = '.1.3.6.1.4.1.2636.3.5.2.1.5'
jnxDCUCounterPacketCount = '.1.3.6.1.4.1.2636.3.6.2.1.4'
jnxDCUCounterByteCount = '.1.3.6.1.4.1.2636.3.6.2.1.5'
jnxSCUCounterPacketCount = '.1.3.6.1.4.1.2636.3.16.1.1.1.4'
jnxSCUCounterByteCount = '.1.3.6.1.4.1.2636.3.16.1.1.1.5'
jnxFWCounterByteCount.10.65.98.105.108.105.54.45.111.117.116.12.105.112.118.
54.45.99.111.117.110.116.101.114.2 = 17295214115130

To decode, eg:

Word 0  :  10 chars, which are:    65.98.105.108.105.54.45.111.117.116
Word 1  :  12 chars, which are:    105.112.118 <...> .110.116.101.114
Word 2  :  '2'

This translates to:

A.b.i.l.i.6.-.o.u.t             ie:     Abili6-out, which is the name of our
FWF.
i.p.v.6.-.c.o.u.n.t.e.r ie:     ipv6-counter

Via CLI:

@mx1.foo.br.re0> show firewall filter Abili6-out

Filter: Abili6-out
Counters:
Name                                                Bytes
Packets
ipv6-counter                               17296383155024
10223184319