hwPwStatisticClearAll
HUAWEI-PW-CMD-MIB ·
.1.3.6.1.4.1.2011.5.12.8.1.2.30
Object
scalar r/w
Enumeration
Clear the traffic statistics of all PWs. Options: 1. clear(1) -clear the traffic statistics of all PWs
Context
- MIB
- HUAWEI-PW-CMD-MIB
- OID
.1.3.6.1.4.1.2011.5.12.8.1.2.30- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwPwCmdObjects
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 'HUAWEI-PW-CMD-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PW-CMD-MIB::hwPwStatisticClearAll.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PW-CMD-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PW-CMD-MIB::hwPwStatisticClearAll'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clear |