dhcpRelayCounterReset
SUPERMICRO-DHCP-RLY-MIB ·
.1.3.6.1.4.1.10876.101.1.24.1.17
Object
scalar r/w
Enumeration
This object is used to reset the statistics counters. When set to set(1), statistics counters will be cleared. When set to notset(2), no action will take place.
Context
- MIB
- SUPERMICRO-DHCP-RLY-MIB
- OID
.1.3.6.1.4.1.10876.101.1.24.1.17- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dhcpRelay
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SUPERMICRO-DHCP-RLY-MIB' -M '/opt/observium/mibs/supermicro:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SUPERMICRO-DHCP-RLY-MIB::dhcpRelayCounterReset.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SUPERMICRO-DHCP-RLY-MIB' -M '/opt/observium/mibs/supermicro:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SUPERMICRO-DHCP-RLY-MIB::dhcpRelayCounterReset'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | set |
2 | notset |