All MIBs › MELLANOX-XSTP-MIB › mellanoxXstpPortPathCost
mellanoxXstpPortPathCost
Module: MELLANOX-XSTP-MIB
OID (symbolic): MELLANOX-XSTP-MIB::mellanoxXstpPortPathCost
OID (numeric): 1.3.6.1.4.1.33049.13.1.2.2.1.5
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: Port path cost for the STI.
What is mellanoxXstpPortPathCost?
This is the spanning-tree cost assigned to this port for the given instance, used in calculating the shortest path to the root bridge. Admins adjust it to influence which link spanning tree prefers, typically setting a lower cost on higher-bandwidth links so traffic favors the faster path. For example, a 10-Gbps uplink might be assigned a path cost of 2000 while a 1-Gbps backup link is assigned 20000, ensuring the faster link is preferred.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.33049.13.1.2.2.1.5 snmpwalk -v2c -c public <target> MELLANOX-XSTP-MIB::mellanoxXstpPortPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.33049.13.1.2.2.1.5.1 snmpget -v2c -c public <target> MELLANOX-XSTP-MIB::mellanoxXstpPortPathCost.1
Start monitoring Mellanox Technologies switch (MSTP/PVRST+ spanning tree) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MELLANOX-XSTP-MIB::mellanoxXstpPortPathCost OID value, configure state conditions and alerts, and monitor any Mellanox Technologies switch (MSTP/PVRST+ spanning tree) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.33049 | mellanox | MELLANOX-MIB |
| 1.3.6.1.4.1.33049.13 | mellanoxXstp | MELLANOX-SMI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.33049.13.1 | mellanoxXstpMib | MELLANOX-XSTP-MIB |
| 1.3.6.1.4.1.33049.13.1.2 | mellanoxXstpObjects | MELLANOX-XSTP-MIB |
| 1.3.6.1.4.1.33049.13.1.2.2 | mellanoxXstpPortTable | MELLANOX-XSTP-MIB |
| 1.3.6.1.4.1.33049.13.1.2.2.1 | mellanoxXstpPortEntry | MELLANOX-XSTP-MIB |
| 1.3.6.1.4.1.33049.13.1.2.2.1.5 | mellanoxXstpPortPathCost | MELLANOX-XSTP-MIB |