etsysMstpPortAdminPathCost
ENTERASYS-MSTP-MIB ·
.1.3.6.1.4.1.5624.1.2.28.1.3.1.1.4
Object
column r/w
Unsigned32
The administratively assigned value for the contribution
of this port to the path cost of paths towards the root
of the corresponding Spanning Tree instance.
Writing a value of '0' assigns the automatically calculated
default Path Cost value to the port for this instance. If
the default Path Cost is being used, this object returns
'0' when read.
This complements the object etsysMstpPortOperPathCost,
which returns the operational value of the path cost.
Context
- MIB
- ENTERASYS-MSTP-MIB
- OID
.1.3.6.1.4.1.5624.1.2.28.1.3.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- etsysMstpPortEntry
- Groups
- 1
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 'ENTERASYS-MSTP-MIB' -M '/opt/observium/mibs/enterasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ENTERASYS-MSTP-MIB::etsysMstpPortAdminPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ENTERASYS-MSTP-MIB' -M '/opt/observium/mibs/enterasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ENTERASYS-MSTP-MIB::etsysMstpPortAdminPathCost.<etsysMstpMstId>.<etsysMstpPortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ENTERASYS-MSTP-MIB' -M '/opt/observium/mibs/enterasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ENTERASYS-MSTP-MIB::etsysMstpPortAdminPathCost'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-200000000
Conformance
Member of