hm2UserCustomCliExecMode
HM2-USERMGMT-MIB ·
.1.3.6.1.4.1.248.11.24.1.1.20.3.1.1
Object
column Hm2UserCliExecModes
CLI exec mode.
Context
- MIB
- HM2-USERMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.24.1.1.20.3.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hm2UserCustomCliCmdEntry
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 'HM2-USERMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-USERMGMT-MIB::hm2UserCustomCliExecMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-USERMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-USERMGMT-MIB::hm2UserCustomCliExecMode.<hm2UserCustomAccessRole>.<hm2UserCustomCliExecMode>.<hm2UserCustomCliIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-USERMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-USERMGMT-MIB::hm2UserCustomCliExecMode'
Syntax
- Source
- Hm2UserCliExecModes
- Base type
Enumeration
Values & Constraints
Type Values
1 | user-exec-mode |
2 | priv-exec-mode |
3 | global-config-exec-mode |
4 | vlan-database-exec-mode |
5 | interface-exec-mode |
10 | all-modes |