juniSnmpIntfCompRestricted
Juniper-SNMP-MIB ·
.1.3.6.1.4.1.4874.2.2.16.1.1.3.4
Object
This object governs which interface instances appear to SNMP management
clients that use the standard ifTable, ifXTable and ifStackTable. The
control is based on a set of interface restrictions defined by
JuniSnmpInterfaceModeRestrictedMask.
For each bit position in each octet of the string, a '1' or '0' controls
whether an interface instance that matches the restriction is removed or
included in the standard interface MIB tables. For example, setting the
value of this object to 1 will remove all interface instances with an
ifAdminStatus of down(2).
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.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- juniSnmpInterfaceCompress
- Groups
- 4
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::juniSnmpIntfCompRestricted.0'
More examples
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::juniSnmpIntfCompRestricted'
Syntax
- Source
- JuniSnmpIntfCompRestrictedMask
- Base type
OctetString
Type Description
This octet string is interpreted as a bit mask, in which each bit
corresponds to an interface restriction.
The DESCRIPTION clause of a MIB object having this SYNTAX should specify
the semantics of bit values '1' and '0'.
Bit definitions are as follows, where bit 31 is the most significant bit
of the first octet, and bit 0 is the least significant bit of the fourth
octet:
Bit interface restriction
----- -----------------------------------------------
0 ifAdminStatus Down
1-31 Undefined.
Values & Constraints
Type Constraints
range: 4