prConPortStpAdminPathCost
A3COM0420-SWITCH-EXTENSIONS ·
.1.3.6.1.4.1.43.10.34.2.1.1.15
Object
column mandatory
r/w
Integer32
The administratively assigned value of the path cost for this port. The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN. This is similar to the dot1dStpPortPathCost MIB item, except that writing a value of '0' assigns the port to use the automatically calculated default Path Cost value. If the default Path Cost is being used, this item returns '0'.
Context
- MIB
- A3COM0420-SWITCH-EXTENSIONS
- OID
.1.3.6.1.4.1.43.10.34.2.1.1.15- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- prConfigPortEntry
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 'A3COM0420-SWITCH-EXTENSIONS' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'A3COM0420-SWITCH-EXTENSIONS::prConPortStpAdminPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'A3COM0420-SWITCH-EXTENSIONS' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'A3COM0420-SWITCH-EXTENSIONS::prConPortStpAdminPathCost.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'A3COM0420-SWITCH-EXTENSIONS' -M '/opt/observium/mibs/a3com:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'A3COM0420-SWITCH-EXTENSIONS::prConPortStpAdminPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-200000000