stpPortHelloTime
DES-1210-28ME-B3 ·
.1.3.6.1.4.1.171.10.75.15.3.6.2.1.11
Object
The amount of time between the transmission of Configuration bridge PDUs by this node in units of hundredths of a second.
Context
- MIB
- DES-1210-28ME-B3
- OID
.1.3.6.1.4.1.171.10.75.15.3.6.2.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpPortEntry
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 'DES-1210-28ME-B3' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES-1210-28ME-B3::stpPortHelloTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES-1210-28ME-B3' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES-1210-28ME-B3::stpPortHelloTime.<stpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES-1210-28ME-B3' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES-1210-28ME-B3::stpPortHelloTime'
Syntax
- Source
- Timeout
- Base type
Integer32- Display format
d4
Type Description
A STP timer in units of 1/100 seconds
To convert a Timeout value into a value in units of
1/256 seconds, the following algorithm should be used:
b = floor( (n * 256) / 100)
where:
floor = quotient [ignore remainder]
n is the value in 1/100 second units
b is the value in 1/256 second units
To convert the value from 1/256 second units back to
1/100 seconds, the following algorithm should be used:
n = ceiling( (b * 100) / 256)
where:
ceiling = quotient [if remainder is 0], or
quotient + 1 [if remainder is non-zero]
n is the value in 1/100 second units
b is the value in 1/256 second units
Note: it is important that the arithmetic operations are
done in the order specified (i.e., multiply first, divide
second).
Values & Constraints
Object Constraints
range: 100-1000