pvxMSTPXstPortRole
PACKET-VX-BRIDGE-MIB ·
.1.3.6.1.4.1.18070.2.2.1.14.1.16.1.8
Object
column Enumeration
The role of the participating port.
Context
- MIB
- PACKET-VX-BRIDGE-MIB
- OID
.1.3.6.1.4.1.18070.2.2.1.14.1.16.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- pvxMSTPXstPortEntry
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 'PACKET-VX-BRIDGE-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKET-VX-BRIDGE-MIB::pvxMSTPXstPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PACKET-VX-BRIDGE-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKET-VX-BRIDGE-MIB::pvxMSTPXstPortRole.<pvxMSTPXstPortSwitchIdx>.<pvxMSTPXstPortShelfIdx>.<pvxMSTPXstPortSlotIdx>.<pvxMSTPXstPortTypeIdx>.<pvxMSTPXstPortInstIdx>.<pvxMSTPXstPortIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PACKET-VX-BRIDGE-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PACKET-VX-BRIDGE-MIB::pvxMSTPXstPortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | alternate |
3 | backup |
4 | root |
5 | designated |
6 | master |
7 | nonSTP |