agentSwitchDhcpOperation
LANCOM-ROUTING-MIB ·
.1.3.6.1.4.1.2356.16.1.2.2.3.1.13
Object
column r/w
Enumeration
Renew or Release the IP Address learned through DHCP. Get on this object always gives none. none means no operation is performed on dhcp.
Context
- MIB
- LANCOM-ROUTING-MIB
- OID
.1.3.6.1.4.1.2356.16.1.2.2.3.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentSwitchIpInterfaceEntry
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 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentSwitchDhcpOperation'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentSwitchDhcpOperation.<agentSwitchIpInterfaceIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-ROUTING-MIB::agentSwitchDhcpOperation'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | renew |
2 | release |
3 | none |