ipagentIpNetMask

ASANTE-SWITCH-MIB · .1.3.6.1.4.1.298.1.1.5.1.2

Object

scalar mandatory r/w RFC1155-SMIIpAddress
The ipagent's administrative IP subnet mask.
The current operational IP subnet mask can be
obtained from ipAdEntMask in the ipAddrTable.
This parameter will take effect only after a
agent restart or agent reset.  This parameter
will always be updated in the EEPROM.

Context

MIB
ASANTE-SWITCH-MIB
OID
.1.3.6.1.4.1.298.1.1.5.1.2
Type
scalar
Access
readwrite
Status
mandatory
Parent
ipagentProtocol

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASANTE-SWITCH-MIB::ipagentIpNetMask.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASANTE-SWITCH-MIB::ipagentIpNetMask'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4