hm2UserCustomCliCommand
HM2-USERMGMT-MIB ·
.1.3.6.1.4.1.248.11.24.1.1.20.3.1.3
Object
The custom based CLI command to be assigned.
Context
- MIB
- HM2-USERMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.24.1.1.20.3.1.3- Type
- column
- Access
- readwrite
- 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::hm2UserCustomCliCommand'
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::hm2UserCustomCliCommand.<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::hm2UserCustomCliCommand'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255