hwdot1dStpDiameter

HUAWEI-RSTP-EXT-MIB · .1.3.6.1.4.1.2011.5.21.1.3

Object

scalar r/w Integer32
Configuring Diameter of the Switched Network,
Switched network is a loop-free tree structure in which any                              
two PCs are connected by a series of bridges. 
Network diameter refers to the path with the most bridges. 
It is denoted by the number of bridges on the path.

Context

MIB
HUAWEI-RSTP-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.21.1.3
Type
scalar
Access
readwrite
Status
current
Parent
hwRstpMibObject

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RSTP-EXT-MIB::hwdot1dStpDiameter.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-RSTP-EXT-MIB::hwdot1dStpDiameter'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-7