hwPortSecondaryStatus
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.3.4.1.10
Object
column Bits
The secondary status of the port. This BITS structure can report the following status: 1. sstAins(0) -this bit position positively reports that the status of the port is automatic in-service 2. sstFaf(1) -facility failure 3. sstFlt(2) -fault 4. sstLpbk(3) -loopback 5. sstMea(4) -mismatch of equipment and attributes 6. sstSgeo(5) -supporting entity outage 7. sstStbyh(6) -standby-Hot 8. sstTs(7) -test 9. sstUas(8) -unassigned 10. sstUeq(9) -unequipped 11. sstWrk(10) -working 12. sstPwr(11) -power
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.3.4.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwPortEntry
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::hwPortSecondaryStatus'
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::hwPortSecondaryStatus.<hwFrameIndex>.<hwSlotIndex>.<hwSubslotIndex>.<hwPortIndex>'
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::hwPortSecondaryStatus'
Syntax
Bits
Values & Constraints
No enumerated values or constraints recorded.