SNMP Commands

Example

The following example attaches a group called user-group to SNMPv3 and assigns to the group the privacy security level and read access rights to a view called user-view.

Console(config)# snmp-server group user-group v3 priv read user-view

snmp-server user

The snmp-server user Global Configuration mode command configures a new SNMP Version 3 user. To remove a user, use the no form of this command.

Syntax

snmp-server user username groupname [remote engineid-string] [ auth-md5password auth-shapassword auth-md5-keymd5-des-keys auth-sha-keysha-des-keys]

no snmp-server user username [remote engineid-string]

Parameters

username — Specifies the name of the user on the host that connects to the agent. (Range: 1-30 characters)

groupname — Specifies the name of the group to which the user belongs. (Range: 1- 30 characters)

engineid-string— Specifies the engine ID of the remote SNMP entity to which the user belongs. The engine ID is a concatenated hexadecimal string. Each byte in the hexadecimal character string is two hexadecimal digits. Each byte can be separated by a period or colon. (Range: 5-32 characters)

auth-md5password — Indicates the HMAC-MD5-96 authentication level. The user should enter a password for authentication and generation of a DES key for privacy. (Range: 1-32 characters)

auth-shapassword—Indicates the HMAC-SHA-96 authentication level. The user should enter a password for authentication and generation of a DES key for privacy. (Range: 1-32 characters)

auth-md5-keymd5-des-keys— Indicates the HMAC-MD5-96 authentication level. The user should enter a concatenated hexadecimal string of the MD5 key (MSB) and the privacy key (LSB). If authentication is only required, 16 bytes should be entered; if authentication and privacy are required, 32 bytes should be entered. Each byte in the hexadecimal character string is two hexadecimal digits. Each byte can be separated by a period or colon. (16 or 32 bytes)

auth-sha-keysha-des-keys— Indicates the HMAC-SHA-96 authentication level. The user should enter a concatenated hexadecimal string of the SHA key (MSB) and the privacy key (LSB). If authentication is only required, 20 bytes should be entered;

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

241

Page 257
Image 257
Intel SBCEGBESW10 CLI manual Snmp-server user, No snmp-server user username remote engineid-string