stpHelloTime
DGS-1210-24-AX ·
.1.3.6.1.4.1.171.10.76.10.6.1.12
Object
scalar Timeout
The amount of time between the transmission of Configuration bridge PDUs by this node on any port when it is the root of the spanning tree or trying to become so, in units of hundredths of a second. The interval between periodic transmissions of Configuration Messages by Designated Ports (Table 17-1).
Context
- MIB
- DGS-1210-24-AX
- OID
.1.3.6.1.4.1.171.10.76.10.6.1.12- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- stpGlobal
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 'DGS-1210-24-AX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-24-AX::stpHelloTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-1210-24-AX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-1210-24-AX::stpHelloTime'
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
No enumerated values or constraints recorded.