mstpGenPathCostDefault
FORCE10-MSTP-MIB ·
.1.3.6.1.4.1.6027.20.2.10.18
Object
scalar r/w
Enumeration
(Copied from draft-ietf-bridge-rstpmib-02.txt). The version of the Spanning Tree default Path Costs that are to be used by this Bridge. A value of pathCostDefault8021d1998(1) uses the 16-bit default Path Costs from IEEE Std. 802.1D-1998. A value of pathCostDefault8021t2001(2) uses the 32-bit default Path Costs from IEEE Std. 802.1t.
Context
- MIB
- FORCE10-MSTP-MIB
- OID
.1.3.6.1.4.1.6027.20.2.10.18- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- mstpGen
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 'FORCE10-MSTP-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORCE10-MSTP-MIB::mstpGenPathCostDefault.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FORCE10-MSTP-MIB' -M '/opt/observium/mibs/force10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FORCE10-MSTP-MIB::mstpGenPathCostDefault'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | pathCostDefault8021d1998 |
2 | pathCostDefault8021t2001 |