swL2PortCtrlCleanStatCounter
DHS3226-MIB ·
.1.3.6.1.4.1.171.11.36.2.6.2.1.5
Object
column r/w
Enumeration
As the object is set to active, the statistic counters of this port will be cleared. If set to normal, do nothing.
Context
- MIB
- DHS3226-MIB
- OID
.1.3.6.1.4.1.171.11.36.2.6.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2PortCtrlEntry
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 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHS3226-MIB::swL2PortCtrlCleanStatCounter'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHS3226-MIB::swL2PortCtrlCleanStatCounter.<swL2PortCtrlPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHS3226-MIB::swL2PortCtrlCleanStatCounter'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | active |