juniIpAdEntNetMask
Juniper-IP-MIB ·
.1.3.6.1.4.1.4874.2.2.12.1.2.2.1.3
Object
The IP subnet mask associated with the IP address of this entry. The
network and host bit fields of the mask are filled with 1's and 0's,
respectively.
If this entry represents an unnumbered IP interface, this object should
have a value of all ones.
Context
- MIB
- Juniper-IP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.12.1.2.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- juniIpAddrEntry
- Groups
- 4
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-IP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-IP-MIB::juniIpAdEntNetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-IP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-IP-MIB::juniIpAdEntNetMask.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-IP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-IP-MIB::juniIpAdEntNetMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4