myStpPortMstiAdminPathCost
MY-RSTP-MSTP-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.16.3.6.1.3
Object
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. Setting this value to 0 indicates that port's real path cost will be automaticly assigned by system according to duplex and speed of the port.Setting this value to other value and system will assigned this value to the port.
Context
- MIB
- MY-RSTP-MSTP-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.16.3.6.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- myStpPortMstiInstanceEntry
- 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 'MY-RSTP-MSTP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-RSTP-MSTP-MIB::myStpPortMstiAdminPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-RSTP-MSTP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-RSTP-MSTP-MIB::myStpPortMstiAdminPathCost.<myStpMstiInstanceIndex>.<myStpPortMstiIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-RSTP-MSTP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-RSTP-MSTP-MIB::myStpPortMstiAdminPathCost'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of