jnxIpv4AdEntNetMask
JUNIPER-IPv4-MIB ·
.1.3.6.1.4.1.2636.3.12.1.1.1.3
Object
column SNMPv2-SMIIpAddress
The subnet mask associated with the IP address of this entry. The value of the mask is an IP address with all the network bits set to 1 and all the hosts bits set to 0.
Context
- MIB
- JUNIPER-IPv4-MIB
- OID
.1.3.6.1.4.1.2636.3.12.1.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- jnxIpv4AddrEntry
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-IPv4-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JUNIPER-IPv4-MIB::jnxIpv4AdEntNetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'JUNIPER-IPv4-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JUNIPER-IPv4-MIB::jnxIpv4AdEntNetMask.<jnxIpv4AdEntIfIndex>.<jnxIpv4AdEntAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JUNIPER-IPv4-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JUNIPER-IPv4-MIB::jnxIpv4AdEntNetMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4