hwMD5500PSTNPortlinelock
HWMUSA-UP-MIB ·
.1.3.6.1.4.1.2011.2.6.4.4.6.3.1.23
Object
column r/w
Enumeration
Whether the port can be locked or not. 1. cannot be locked; 2. can be locked. Options: 1.disable(1) -disable 2.enable(2) -enable
Context
- MIB
- HWMUSA-UP-MIB
- OID
.1.3.6.1.4.1.2011.2.6.4.4.6.3.1.23- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPstnPortAttrEntry
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::hwMD5500PSTNPortlinelock'
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::hwMD5500PSTNPortlinelock.<hwMD5500PSTNPortFrameIndex>.<hwMD5500PSTNPortSlotIndex>.<hwMD5500PSTNPortIndex>'
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::hwMD5500PSTNPortlinelock'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disable |
2 | enable |