nnMstPortPathCost
NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB ·
.1.3.6.1.4.1.45.5.5.1.4.1.2
Object
column r/w
Integer32
The contribution of this port to the path cost of paths towards the MSTI Root which include this port.
Context
- MIB
- NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB
- OID
.1.3.6.1.4.1.45.5.5.1.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nnMstPortEntry
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 'NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB::nnMstPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB::nnMstPortPathCost.<nnMstPort>.<nnMstBridgeInstance>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NORTEL-NETWORKS-MULTIPLE-SPANNING-TREE-MIB::nnMstPortPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-200000000