configIpAddressMode
ACKSYS-MIB ·
.1.3.6.1.4.1.28097.8.1.1.1.3
Object
column r/w
Enumeration
Ip address protocol of this subnet
Context
- MIB
- ACKSYS-MIB
- OID
.1.3.6.1.4.1.28097.8.1.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- configIpSubnetEntry
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 'ACKSYS-MIB' -M '/opt/observium/mibs/acksys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACKSYS-MIB::configIpAddressMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ACKSYS-MIB' -M '/opt/observium/mibs/acksys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACKSYS-MIB::configIpAddressMode.<configIpSubnetName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ACKSYS-MIB' -M '/opt/observium/mibs/acksys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ACKSYS-MIB::configIpAddressMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | dhcp |
3 | none |
4 | vrrp |