All MIBs › MELLANOX-XSTP-MIB › mellanoxXstpPortRole
mellanoxXstpPortRole
Module: MELLANOX-XSTP-MIB
OID (symbolic): MELLANOX-XSTP-MIB::mellanoxXstpPortRole
OID (numeric): 1.3.6.1.4.1.33049.13.1.2.2.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Current Port Role for the Port (i.e., Root, Alternate, Designated, Backup or Disabled which is relevant for PVRST+), for the STI.
What is mellanoxXstpPortRole?
This value reports the spanning-tree role currently assigned to the port -- root, alternate, designated, backup, or disabled -- for the instance. Admins check this to understand each port's function in the current topology, since it directly explains why a port is forwarding or held in reserve as a backup path. For example, a port role of alternate(2) shows that port is blocked but ready to take over instantly if the current root port fails.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.33049.13.1.2.2.1.6 snmpwalk -v2c -c public <target> MELLANOX-XSTP-MIB::mellanoxXstpPortRole
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.33049.13.1.2.2.1.6.1 snmpget -v2c -c public <target> MELLANOX-XSTP-MIB::mellanoxXstpPortRole.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::mellanoxXstpPortRole 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.6 | mellanoxXstpPortRole | MELLANOX-XSTP-MIB |