nsInetMode
NS-ROOT-MIB ·
.1.3.6.1.4.1.5951.4.1.1.70.1.5
Object
column IpAddressMode
This represents the IP address mode
Context
- MIB
- NS-ROOT-MIB
- OID
.1.3.6.1.4.1.5951.4.1.1.70.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- nsInetAddressEntry
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 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NS-ROOT-MIB::nsInetMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NS-ROOT-MIB::nsInetMode.<nsInetAddressType>.<nsInetAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NS-ROOT-MIB::nsInetMode'
Syntax
- Source
- IpAddressMode
- Base type
Enumeration
Values & Constraints
Type Values
1 | active |
2 | passive |