optixEthPortPtnWorkMode
OPTIX-PKT-PORT-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.52.1.1.1.6
Object
column Enumeration
This parameter specifies the eth port phy work mode. 0: auto, 1: snmp10mhalf, 2: snmp10mfull, 3: snmp100mhalf, 4: snmp100mfull, 5: snmp1000mhalf, 6: snmp1000mfull, 7: snmp10gfulllan, 8: snmp10gfullwan, 255: negotiating
Context
- MIB
- OPTIX-PKT-PORT-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.52.1.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- optixEthPortEntry
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-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PORT-MIB::optixEthPortPtnWorkMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PORT-MIB::optixEthPortPtnWorkMode.<optixLogBoardId>.<optixLogSubCardId>.<optixEthPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-PORT-MIB::optixEthPortPtnWorkMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | auto |
1 | snmp10mhalf |
2 | snmp10mfull |
3 | snmp100mhalf |
4 | snmp100mfull |
5 | snmp1000mhalf |
6 | snmp1000mfull |
7 | snmp10gfulllan |
8 | snmp10gfullwan |
255 | negotiating |