hwMD5500PSTNPortportState
HWMUSA-UP-MIB ·
.1.3.6.1.4.1.2011.2.6.4.4.6.2.1.11
Object
column Enumeration
Options: 1.idle(1) -indicates the port state is idle 2.fault(2) -indicates the port state is fault 3.test(3) -indicates the port state is test 4.maintain(4) -indicates the port state is maintain 5.localblock(5) -indicates the port state is localblock 6.oppblock(6) -indicates the port state is oppblock 7.lock(7) -indicates the port state is lock 8.busy(8) -indicates the port state is busy 9.viruser(9) -indicates the port state is viruser 10.farloop(10) -indicates the port state is farloop 11.nearloop(11) -indicates the port state is nearloop 12.b1codetest(12) -indicates the port state is b1codetest 13.b2codetest(13) -indicates the port state is b2codetest
Context
- MIB
- HWMUSA-UP-MIB
- OID
.1.3.6.1.4.1.2011.2.6.4.4.6.2.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwPstnV5PortDataEntry
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::hwMD5500PSTNPortportState'
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::hwMD5500PSTNPortportState.<hwMD5500PSTNPortV5IDIndex>.<hwMD5500PSTNPortL3AddrIndex>'
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::hwMD5500PSTNPortportState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | fault |
3 | test |
4 | maintain |
5 | localblock |
6 | oppblock |
7 | lock |
8 | busy |
9 | viruser |
10 | farloop |
11 | nearloop |
12 | b1codetest |
13 | b2codetest |