Remove User for SNMP (RMVUSRSNMP)

The Remove User for SNMP (RMVUSRSNMP) command removes an existing Simple Network Management Protocol (SNMP) user entry from the SNMP agent user list. An SNMP agent uses this list of users as part of the SNMPv3 User-based Security Model (USM).

Restrictions:

Parameters

Keyword Description Choices Notes
USRNAME User name Character value Required, Positional 1

User name (USRNAME)

Specifies the name of the SNMP user being removed from the User-based Security Model (USM). The user name has no direct correlation to an IBM i user profile.

This is a required parameter.

character-value
Specify the name of the SNMP user being removed. A user name must be a minimum of 1 character and no more than 32 characters in length. A user name cannot contain any leading or imbedded blanks.

Examples

RMVUSRSNMP   USRNAME(USER1)

This command removes the SNMP user named USER1.

Error messages

*ESCAPE Messages

TCP4001
Error occurred accessing SNMP configuration information.
TCP4023
User does not exist.
TCP4029
SNMP user &1 not removed.
TCP8050
*IOSYSCFG authority required to use &1.