rldot1dStpClearPortCounters
HPE-BRIDGEMIBOBJECTS-MIB ·
.1.3.6.1.4.1.11.2.57.2.27
Object
Clear the number of bpdu sent and recieved on specific port, if Value of 0 is specified then clear counters action is applied to all ports, this object behaviors is write-only, when reading this object it will always return 0.
Context
- MIB
- HPE-BRIDGEMIBOBJECTS-MIB
- OID
.1.3.6.1.4.1.11.2.57.2.27- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- rldot1dStp
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 'HPE-BRIDGEMIBOBJECTS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-BRIDGEMIBOBJECTS-MIB::rldot1dStpClearPortCounters.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPE-BRIDGEMIBOBJECTS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPE-BRIDGEMIBOBJECTS-MIB::rldot1dStpClearPortCounters'
Syntax
- Source
- IF-MIBInterfaceIndexOrZero
- Base type
Integer32- Display format
d
Type Description
This textual convention is an extension of the InterfaceIndex convention. The latter defines a greater than zero value used to identify an interface or interface sub-layer in the managed system. This extension permits the additional value of zero. the value zero is object-specific and must therefore be defined as part of the description of any object which uses this syntax. Examples of the usage of zero might include situations where interface was unknown, or when none or all interfaces need to be referenced.
Values & Constraints
Type Constraints
range: 0..2147483647