tnPtpPortDSConfigClearMsgCounter
TROPIC-PTP-MIB ·
.1.3.6.1.4.1.7483.2.2.4.9.1.3.2.1.30
Object
Clears the Message Counter of the PTP port. The 32-bit
value is defined as below:
+----------+----------------------------+
| 32 11 | 10 1 |
+----------+----------------------------+
| reserved | message type and direction |
+----------+----------------------------+
Bit 1 to bit 10 for type and direction of the message
counter to be cleared. Set one or more bits to 1 to
clear specified message counters.
bit 1 - AnnounceTx
bit 2 - AnnounceRx
bit 3 - SyncTx
bit 4 - SyncRx
bit 5 - DelayReqTx
bit 6 - DelayReqRx
bit 7 - DelayRespTx
bit 8 - DelayRespRx
bit 9 - FollowUpTx
bit 10 - FollowUpRx
Other bits (bit 11 to bit 32) are reserved for future,
and suggest to be 0.
Context
- MIB
- TROPIC-PTP-MIB
- OID
.1.3.6.1.4.1.7483.2.2.4.9.1.3.2.1.30- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tnPtpPortDSConfigEntry
- Groups
- 1
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 'TROPIC-PTP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TROPIC-PTP-MIB::tnPtpPortDSConfigClearMsgCounter'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TROPIC-PTP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TROPIC-PTP-MIB::tnPtpPortDSConfigClearMsgCounter.<tnPtpClockIndex>.<tnPtpPortDSPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TROPIC-PTP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TROPIC-PTP-MIB::tnPtpPortDSConfigClearMsgCounter'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of