snmp-server remote-user

Last Updated : May 31, 2019 |
Configures settings for a remote SNMPv3 user. If the user does not exist, it is created. Use no snmp-server remote-user to remove the user from specific groups. If no groups are specified, the user is removed from all groups.
Prolog information

Syntax

snmp-server remote-user username engineID groupname [auth {md5|sha} [priv {des56|aes128}]]
no snmp-server remote-user username [groupname]

Parameters

Parameter
Description
Possible Values
Default Value
username
A character string specifying the username of this user
A string of up to 32 characters
engineID
The remote device Engine ID for this user
groupname
A character string specifying the groupname this user is associated with
A string of up to 32 characters
md5
Keyword specifying to use the MAC-MD5 authentication protocol
des56
Keyword specifying the DES 56-bit encryption
aes128
Keyword specifying to use the AES-128 authentication protocol
sha
Keyword specifying to use the HMAC-SHA authentication protocol

User level

admin

Context

general

Example

To create or configure a remote SNMPv3 user, with username john, associated with group L2Group, and accessing engine 00:02:00:81:00:d0:00:4c:18:00:
Gxxx-001(super)# snmp-server remote-user john  00:02:00:81:00:d0:00:4c:18:00 
L2Group