juniSnmpIntfCompMask
Juniper-SNMP-MIB ·
.1.3.6.1.4.1.4874.2.2.16.1.1.3.6.1.3
Object
column r/w
OctetString
This object governs which interface types are visible to SNMP
management clients. The object is a variable length octet string that
is interpreted as a bit mask. Each bit respresents a specific Juniper
interface type that can be included or excluded in the standard
interface tables.
For each bit position in each octet of the string, a '1' or '0'
indicates the corresponding interface type is either filtered
(compressed) from the interface MIB tables, or included respectively.
Individual bit definitions follow the JuniIfType convention defined in
the Juniper-UNI-IF-MIB. For example, ip(0) and ppp(1) correspond to bit
definitions 0 and 1 respectively.
In each octet, bit 0 is least significant, bit 7 most significant.
Context
- MIB
- Juniper-SNMP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.16.1.1.3.6.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- juniSnmpIntfCompEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpIntfCompMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpIntfCompMask.<juniSnmpIntfCompTableType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-SNMP-MIB::juniSnmpIntfCompMask'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 5-16
Conformance
Member of