optixMSTPMstiPortRole
OPTIX-PKT-MSTP-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.40.6.7.1.3
Object
column Enumeration
This object indicates the MTSP MSTI port role. 0: root, 1: designated, 2: alternate, 3: backup, 4: master, 5: disabled
Context
- MIB
- OPTIX-PKT-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.40.6.7.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- optixMSTPMstiPortEntry
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 'OPTIX-PKT-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-MSTP-MIB::optixMSTPMstiPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-MSTP-MIB::optixMSTPMstiPortRole.<optixMSTPPortGroupId>.<optixMSTPMstiID>.<optixLogBoardId>.<optixLogSubCardId>.<optixEtyPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-MSTP-MIB::optixMSTPMstiPortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | root |
1 | designated |
2 | alternate |
3 | backup |
4 | master |
5 | disabled |