h3cUserState
H3C-USER-MIB ·
.1.3.6.1.4.1.2011.10.2.12.1.1.1.5
Object
column r/w
Enumeration
The state of local user 0: active, means local user can execute any operations that he has privilege to do. 1: block, means local user can not execute any operations. default is active.
Context
- MIB
- H3C-USER-MIB
- OID
.1.3.6.1.4.1.2011.10.2.12.1.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cUserInfoEntry
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 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cUserState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cUserState.<h3cUserIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-USER-MIB::h3cUserState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | active |
1 | block |