xstInstancePortAdminPathCost
ECS4810-12M-MIB ·
.1.3.6.1.4.1.259.10.1.11.1.5.6.5.1.13
Object
column r/w
Integer32
The admin value of the MST internal pathcost, in the range of 1 to 200000000. This parameter is used to determine the best path between devices. Therefore, lower values should be assigned to ports attached to faster media, and higher values assigned to ports with slower media. (Path cost takes precedence over port priority).
Context
- MIB
- ECS4810-12M-MIB
- OID
.1.3.6.1.4.1.259.10.1.11.1.5.6.5.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- xstInstancePortEntry
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 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::xstInstancePortAdminPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::xstInstancePortAdminPathCost.<xstInstanceCfgIndex>.<dot1dStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4810-12M-MIB::xstInstancePortAdminPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-200000000