ptpClearStatistics
FS-SWITCH-MIB ·
.1.3.6.1.4.1.27975.85.1.23
Object
Clear all statistics for the ptp. 0 mean clear all ptp interface statistics.
Context
- MIB
- FS-SWITCH-MIB
- OID
.1.3.6.1.4.1.27975.85.1.23- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ptpGlobalInfo
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 'FS-SWITCH-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-SWITCH-MIB::ptpClearStatistics.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-SWITCH-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-SWITCH-MIB::ptpClearStatistics'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |
Type Constraints
range: -2147483648..2147483647