optixPortType
OPTIX-PORT-MANAGE-MIB ·
.1.3.6.1.4.1.2011.2.25.4.30.36.1.1.1.3
Object
column r/w
Enumeration
This object indicates the port type. 1: sdhOpport, 5: macOpport, 6: macEport, 254: unknown, 2: sdhEport, 30: cpriPort, 8: lineport, 31: obsaiport, 32: atomgpsport, 33: xpiccasport, 34: mimocasport, 35: cacasport, 36: seplacasport, 255: null
Context
- MIB
- OPTIX-PORT-MANAGE-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.30.36.1.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixPortMngEntry
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-PORT-MANAGE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PORT-MANAGE-MIB::optixPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PORT-MANAGE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PORT-MANAGE-MIB::optixPortType.<optixLogBoardId>.<optixLogSubCardId>.<optixPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PORT-MANAGE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PORT-MANAGE-MIB::optixPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | sdhOpport |
2 | sdhEport |
5 | macOpport |
6 | macEport |
8 | lineport |
30 | cpriPort |
31 | obsaiport |
32 | atomgpsport |
33 | xpiccasport |
34 | mimocasport |
35 | cacasport |
36 | seplacasport |
254 | unknown |
255 | null |