snmpUser
MX-SNMP-MIB ·
.0.900.1.200.900
Object
scalar r/w
OctetString
Snmp User
User name used by the SNMP v1/v2 to access the configuration.
If this parameter is empty, the community name is used as the
user name (see the Community parameter).
Note: In both cases, if the provided user name does not exist
in the AAA.UsersStatus table, the SNMP access will fail.
Context
- MIB
- MX-SNMP-MIB
- OID
.0.900.1.200.900- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- protocolGroup
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 'MX-SNMP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SNMP-MIB::snmpUser.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SNMP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SNMP-MIB::snmpUser'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-50