MELLANOX-XSTP-MIB :: mellanoxXstpPortPathCost

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.33049mellanoxMELLANOX-MIB
1.3.6.1.4.1.33049.13mellanoxXstpMELLANOX-SMI-MIB
Numeric OIDNameModule
1.3.6.1.4.1.33049.13.1mellanoxXstpMibMELLANOX-XSTP-MIB
1.3.6.1.4.1.33049.13.1.2mellanoxXstpObjectsMELLANOX-XSTP-MIB
1.3.6.1.4.1.33049.13.1.2.2mellanoxXstpPortTableMELLANOX-XSTP-MIB
1.3.6.1.4.1.33049.13.1.2.2.1mellanoxXstpPortEntryMELLANOX-XSTP-MIB
1.3.6.1.4.1.33049.13.1.2.2.1.5mellanoxXstpPortPathCostMELLANOX-XSTP-MIB