hwAclBasicCountClear
HUAWEI-DSLAM-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.4.1.11
Object
column r/w
Enumeration
Clears the statistics of packets that match the basic ACL rule.
Options:
1. cleared(1) -clear the statistics of packets that match the basic ACL rules
2. nouse(2) -indicates no operation
To clear the statistics of packets that match the basic ACL rules,
set hwAclBasicCountClear to cleared(1) and hwAclBasicRowStatus to createAndGo(4).
When this leaf is queried, the value is fixed to cleared(1).
Context
- MIB
- HUAWEI-DSLAM-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.4.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclBasicRuleEntry
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 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclBasicCountClear'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclBasicCountClear.<hwAclBasicAclNum>.<hwAclBasicSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-ACL-MIB::hwAclBasicCountClear'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | cleared |
2 | nouse |