ipeCfgDhcpMainServerEnable
IPE-DHCP-MAIN-MIB ·
.1.3.6.1.4.1.119.2.3.69.5.3.13.2.1.3
Object
Enable/Disable this DHCP server/relay agent.
disable : DHCP server/relay agent is disabled
enable : DHCP server/relay agent is enabled
Context
- MIB
- IPE-DHCP-MAIN-MIB
- OID
.1.3.6.1.4.1.119.2.3.69.5.3.13.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipeCfgDhcpMainServerEntry
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 'IPE-DHCP-MAIN-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPE-DHCP-MAIN-MIB::ipeCfgDhcpMainServerEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPE-DHCP-MAIN-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPE-DHCP-MAIN-MIB::ipeCfgDhcpMainServerEnable.<ipeCfgDhcpMainServerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPE-DHCP-MAIN-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPE-DHCP-MAIN-MIB::ipeCfgDhcpMainServerEnable'
Syntax
- Source
- EnableDisableValue
- Base type
Enumeration
Values & Constraints
Type Values
0 | invalid |
1 | disable |
2 | enable |