optixOamPortType
OPTIX-MISC-MIB ·
.1.3.6.1.4.1.2011.2.25.4.30.39.1.7.1.4
Object
column Enumeration
This object indicates the OAM port type. 0: all, 1: com, 2: eth, 3: oam, 4: fF, 5: ext, 6: usb
Context
- MIB
- OPTIX-MISC-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.30.39.1.7.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- optixOamPortMngEntry
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-MISC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-MISC-MIB::optixOamPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-MISC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-MISC-MIB::optixOamPortType.<optixOamBdId>.<optixOamSubBdId>.<optixOamPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-MISC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-MISC-MIB::optixOamPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | all |
1 | com |
2 | eth |
3 | oam |
4 | fF |
5 | ext |
6 | usb |