SNMP Commands 4

ip-address- The Internet address of the remote device.

v1 v2c v3 - Use SNMP version 1, 2c or 3.

encrypted - Accepts the password as encrypted input.auth - Uses SNMPv3 with authentication.md5 sha - Uses MD5 or SHA authentication.

auth-password- Authentication password. Enter as plain text if the encrypted option is not used. Otherwise, enter an encrypted password. (A minimum of eight characters is required.)

priv des56 - Uses SNMPv3 with privacy with DES56 encryption.

priv-password- Privacy password. Enter as plain text if the encrypted option is not used. Otherwise, enter an encrypted password.

Default Setting

None

Command Mode

Global Configuration

Command Usage

The SNMP engine ID is used to compute the authentication/privacy digests from the password. You should therefore configure the engine ID with the snmp-serverengine-idcommand before using this configuration command.

Before you configure a remote user, use the snmp-serverengine-idcommand (page 4-117)to specify the engine ID for the remote device where the user resides. Then use the snmp-server user command to specify the user and the IP address for the remote device where the user resides. The remote agent’s SNMP engine ID is used to compute authentication/privacy digests from the user’s password. If the remote engine ID is not first configured, the snmp-server user command specifying a remote user will fail.

SNMP passwords are localized using the engine ID of the authoritative agent. For informs, the authoritative SNMP agent is the remote agent. You therefore need to configure the remote agent’s SNMP engine ID before you can send proxy requests or informs to it.

Example

Console(config)#snmp-server user steve group r&d v3 auth md5 greenpeace priv des56 einstien

Console(config)#snmp-server user mark group r&d remote 192.168.1.19 v3 auth md5 greenpeace priv des56 einstien

Console(config)#

4-123