hwMD5500BRAPortPortState
HWMUSA-UP-MIB ·
.1.3.6.1.4.1.2011.2.6.4.4.7.2.1.12
Object
column Enumeration
Options: 1.active(1) -indicates the port state is active 2.inactive(2) -indicates the port state is inactive 3.fault(3) -indicates the port state is fault 4.test(4) -indicates the port state is test 5.maintain(5) -indicates the port state is maintain 6.localblock(6) -indicates the port state is localblock 7.oppblock(7) -indicates the port state is oppblock 8.lock(8) -indicates the port state is lock 9.busy(9) -indicates the port state is busy 10.viruser(10) -indicates the port state is viruser 11.farloop(11) -indicates the port state is farloop 12.nearloop(12) -indicates the port state is nearloop 13.b1codetest(13) -indicates the port state is b1codetest 14.b2codetest(14) -indicates the port state is b2codetest
Context
- MIB
- HWMUSA-UP-MIB
- OID
.1.3.6.1.4.1.2011.2.6.4.4.7.2.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwIsdnV5PortDataEntry
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 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HWMUSA-UP-MIB::hwMD5500BRAPortPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HWMUSA-UP-MIB::hwMD5500BRAPortPortState.<hwMD5500BRAPortV5IDIndex>.<hwMD5500BRAPortEFAddrIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HWMUSA-UP-MIB::hwMD5500BRAPortPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | inactive |
3 | fault |
4 | test |
5 | maintain |
6 | localblock |
7 | oppblock |
8 | lock |
9 | busy |
10 | viruser |
11 | farloop |
12 | nearloop |
13 | b1codetest |
14 | b2codetest |