hm2AgentStpMstAutoPortPathCost
HM2-PLATFORM-SWITCHING-MIB ·
.1.3.6.1.4.1.248.12.1.2.15.11.1.253
Object
column Enumeration
The Spanning Tree auto port path cost of a given instance. If the value is true, the port path cost will be calculated depending on link speed corresponding to the recommendation specified in IEEE 802.1s Table 13-2 which varies depending upon link speed.
Context
- MIB
- HM2-PLATFORM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.248.12.1.2.15.11.1.253- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2AgentStpMstPortEntry
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 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpMstAutoPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpMstAutoPortPathCost.<hm2AgentStpMstId>.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpMstAutoPortPathCost'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | false |
1 | true |