ipv4InterfaceEnableStatus
IP-MIB ·
.1.3.6.1.2.1.4.28.1.3
Object
column r/w
Enumeration
The indication of whether IPv4 is enabled (up) or disabled (down) on this interface. This object does not affect the state of the interface itself, only its connection to an IPv4 stack. The IF-MIB should be used to control the state of the interface.
Context
- MIB
- IP-MIB
- OID
.1.3.6.1.2.1.4.28.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipv4InterfaceEntry
- Groups
- 1
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 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MIB::ipv4InterfaceEnableStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MIB::ipv4InterfaceEnableStatus.<ipv4InterfaceIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-MIB::ipv4InterfaceEnableStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |
Conformance
Member of
Compliance refinements
ipMIBCompliance2
readonly
An agent is not required to provide write access to this
object.
object.