mstpInstancePortRole
QTECH-ALT-MIB ·
.1.3.6.1.4.1.2751.100.2.2.3.1.10
Object
column Enumeration
the port role in the instance
Context
- MIB
- QTECH-ALT-MIB
- OID
.1.3.6.1.4.1.2751.100.2.2.3.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- mstpInstancePortEntry
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 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-ALT-MIB::mstpInstancePortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-ALT-MIB::mstpInstancePortRole.<mstpInstancePortInstanceID>.<mstpInstancePortPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-ALT-MIB::mstpInstancePortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | nonstp |
1 | alternate |
2 | root |
3 | designated |
4 | backup |
5 | master |
6 | disabled |