Intel SBCEGBESW1 Switch User Manual


 
SNMP Commands
Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide 241
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.
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-md5 password |
auth-sha password | auth-md5-key md5-des-keys | auth-sha-key sha-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-md5 password — 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-sha password—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-key md5-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-key sha-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;
Console(config)#
snmp-server group
user-group
v3 priv read
user-view