hh3cSSHSessionUserRoleName
HH3C-SSH-MIB ·
.1.3.6.1.4.1.25506.2.22.1.2.8
Object
scalar OctetString
The user role of SSH session. such as network-admin network-operation etc.
Context
- MIB
- HH3C-SSH-MIB
- OID
.1.3.6.1.4.1.25506.2.22.1.2.8- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hh3cSSHServerObjForTrap
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-SSH-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SSH-MIB::hh3cSSHSessionUserRoleName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SSH-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SSH-MIB::hh3cSSHSessionUserRoleName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-63