SNMP Commands
24-14
24
snmp-server user
This command adds a user to an SNMP group, restricting the user to a specific
SNMP Read, Write, or Notify View. Use the
no
form to remove a user from an SNMP
group.
Syntax
snmp-server user
username
groupname
[
remote
ip-address
] {
v1
|
v2c
|
v3
[
encrypted
] [
auth
{
md5
|
sha
}
auth-password
[
priv des56
priv-password
]]
no snmp-server user
username
{
v1
|
v2c
|
v3
|
remote
}
•
username
- Name of user connecting to the SNMP agent.
(Range: 1-32 characters)
• groupname -
Name of an SNMP group to which the user is assigned.
(Range: 1-32 characters)
•
remote
- Specifies an SNMP engine on a remote device.
•
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-server engine-id
command before using this configuration command.
• Before you configure a remote user, use the
snmp-server engine-id
command (page 24-8) 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
Summary of Contents for 8926EM
Page 6: ...ii ...
Page 34: ...Getting Started ...
Page 44: ...Introduction 1 10 1 ...
Page 62: ...Initial Configuration 2 18 2 ...
Page 64: ...Switch Management ...
Page 76: ...Configuring the Switch 3 12 3 ...
Page 118: ...Basic Management Tasks 4 42 4 ...
Page 164: ...User Authentication 6 28 6 ...
Page 176: ...Access Control Lists 7 12 7 ...
Page 284: ...Quality of Service 14 8 14 ...
Page 294: ...Multicast Filtering 15 10 15 ...
Page 300: ...Domain Name Service 16 6 16 ...
Page 310: ...Dynamic Host Configuration Protocol 17 10 17 ...
Page 320: ...Configuring Router Redundancy 18 10 18 ...
Page 344: ...IP Routing 19 24 19 ...
Page 356: ...Unicast Routing 20 12 20 Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics ...
Page 386: ...Unicast Routing 20 42 20 ...
Page 388: ...Command Line Interface ...
Page 400: ...Overview of the Command Line Interface 21 12 21 ...
Page 466: ...SNMP Commands 24 16 24 ...
Page 520: ...Access Control List Commands 26 18 26 ...
Page 546: ...Rate Limit Commands 30 2 30 ...
Page 612: ...VLAN Commands 34 24 34 ...
Page 626: ...Class of Service Commands 35 14 35 ...
Page 670: ...DHCP Commands 39 16 39 ...
Page 716: ...IP Interface Commands 41 36 41 ...
Page 768: ...IP Routing Commands 42 52 42 ...
Page 770: ...Appendices ...
Page 791: ......