optixMSTPCistPortRole
OPTIX-PKT-MSTP-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.40.6.3.1.2
Object
column Enumeration
This object indicates the MTSP CIST 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.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- optixMSTPCistEntry
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::optixMSTPCistPortRole'
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::optixMSTPCistPortRole.<optixMSTPPortGroupId>.<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::optixMSTPCistPortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | root |
1 | designated |
2 | alternate |
3 | backup |
4 | master |
5 | disabled |