h3cUserRole
H3C-USER-MIB ·
.1.3.6.1.4.1.2011.10.2.12.1.6.1.1
Object
column OctetString
The user's role determines the user's privilege. The user must be authorized one role at least. The default user role for a local user created by a network-admin user is network-operator, and the default user role for a local user created by an mdc-admin or level-15 user is mdc-operator.
Context
- MIB
- H3C-USER-MIB
- OID
.1.3.6.1.4.1.2011.10.2.12.1.6.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- h3cUserRoleEntry
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::h3cUserRole'
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::h3cUserRole.<h3cUserIndex>.<h3cUserRole>'
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::h3cUserRole'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-63