logicalInterfaceNetmask
NETAPP-MIB ·
.1.3.6.1.4.1.789.1.22.4.1.12
Object
column SNMPv2-SMIIpAddress
The netmask assigned to the interface. This field only displays ipv4 netmasks correctly. Ipv6 netmasks will display as 0.0.0.0. Refer to the logicalInterfaceAddressString field for the netmask length of an ipv6 interface.
Context
- MIB
- NETAPP-MIB
- OID
.1.3.6.1.4.1.789.1.22.4.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- logicalInterfaceEntry
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 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::logicalInterfaceNetmask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::logicalInterfaceNetmask.<logicalInterfaceServer>.<logicalInterfaceVif>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETAPP-MIB::logicalInterfaceNetmask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4