staticLeasesDelete
MX-DHCP-MIB ·
.0.1900.1.800.1.300
Object
column r/w
Enumeration
Delete
Deletes a static lease from the table.
Context
- MIB
- MX-DHCP-MIB
- OID
.0.1900.1.800.1.300- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- staticLeasesEntry
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 'MX-DHCP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-DHCP-MIB::staticLeasesDelete'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-DHCP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-DHCP-MIB::staticLeasesDelete.<staticLeasesMacAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-DHCP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-DHCP-MIB::staticLeasesDelete'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noOp |
10 | delete |