hwSlotPortNumWorkMode
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.3.2.1.25
Object
column r/w
Enumeration
Indicates the port number working mode of a board. The default value is portnumworkmode48(5). Options: 1. portnumworkmode8(1) - Indicates that the board is in 8-channel port number working mode. 2. portnumworkmode16(2) - Indicates that the board is in 16-channel port number working mode. 3. portnumworkmode24(3) - Indicates that the board is in 24-channel port number working mode. 4. portnumworkmode32(4) - Indicates that the board is in 32-channel port number working mode. 5. portnumworkmode48(5) - Indicates that the board is in 48-channel port number working mode. 6. other(255) - Indicates that the board is in invalid port working mode. Setting port working mode of a board triggers system restarts. Therefore, this node cannot be set concurrently with hwSlotAdminStatus, hwSlotRowStatus, and hwSlotWorkMode nodes.
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.3.2.1.25- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSlotEntry
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 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwSlotPortNumWorkMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwSlotPortNumWorkMode.<hwFrameIndex>.<hwSlotIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwSlotPortNumWorkMode'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.