oaDhcpDefaultGWStatus
OADHCP-SERVER-MIB ·
.1.3.6.1.4.1.6926.1.11.1.6.1.4
Object
A default GW can be added or deleted
Context
- MIB
- OADHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.6926.1.11.1.6.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- oaDhcpDefaultGWEntry
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 'OADHCP-SERVER-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OADHCP-SERVER-MIB::oaDhcpDefaultGWStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OADHCP-SERVER-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OADHCP-SERVER-MIB::oaDhcpDefaultGWStatus.<oaDhcpDefaultGWSubnetIp>.<oaDhcpDefaultGWSubnetMask>.<oaDhcpDefaultGWIp>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OADHCP-SERVER-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OADHCP-SERVER-MIB::oaDhcpDefaultGWStatus'
Syntax
- Source
- EntryStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | valid |
2 | invalid |
3 | insert |