hwdot1sMstiDesignatedCost
HUAWEI-LswMSTP-MIB ·
.1.3.6.1.4.1.2011.2.23.1.14.20.1.6
Object
column SNMPv2-SMIInteger32
The path cost of the Designated Port of the segment connected to this port. This value is compared to the Root Path Cost field in received bridge PDUs.
Context
- MIB
- HUAWEI-LswMSTP-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.14.20.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwdot1sPortEntry
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 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswMSTP-MIB::hwdot1sMstiDesignatedCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswMSTP-MIB::hwdot1sMstiDesignatedCost.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswMSTP-MIB::hwdot1sMstiDesignatedCost'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647