538
Configuring SNMP
How to Configure SNMP
Configuring SNMP Notifications
4.
snmp-server user
username
groupname
{
remote
host
[
udp-port
port
]} {
v1
[
access
access-list
]
|
v2c
[
access
access-list
]
| v3
[
encrypted
] [
access
access-list
] [
auth
{
md5
|
sha
}
auth-password
]} [
priv
{
des
|
3des
|
aes
{
128
|
192
|
256
}}
priv-password
]
Adds a new user for an SNMP group.
username—
Specifies a name of the user on the host that
connects to the agent.
groupname—
Specifies a name of the group to which the user
is associated.
remote
—
Specifies a remote SNMP entity to which the user
belongs and the hostname or IP address of that entity with the
optional UDP port number. The default is 162.
Enters the SNMP version number (
v1
,
v2c
, or
v3
). If you enter
v3
, you have these additional options:
—
encrypted
—
Specifies that the password appears in
encrypted format. This keyword is available only when the
v3
keyword is specified.
—
auth
—
Specifies an authentication level setting session
that can be either the HMAC-MD5-96 (
md5
) or the
HMAC-SHA-96 (
sha
) authentication level and requires a
password string
auth-password
(not to exceed 64
characters).
If you enter
v3
and the switch is running the cryptographic
software image, you can also configure a private (
priv
)
encryption algorithm and password string
priv-password
(not
to exceed 64 characters).
—
priv
—
Specifies the User-based Security Model (USM).
—
des
—
Specifies the use of the 56-bit DES algorithm.
—
3des
—
Specifies the use of the 168-bit DES algorithm.
—
aes
—
Specifies the use of the DES algorithm. You must
select either 128-bit, 192-bit, or 256-bit encryption.
(Optional) Enters
access
access-list
with a string (not to
exceed 64 characters) that is the name of the access list.
5.
end
Returns to privileged EXEC mode.
Command
Purpose
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
snmp-server engineID remote
ip-address engineid-string
Specifies the engine ID for the remote host.
3.
snmp-server user
username
groupname
{
remote
host
[
udp-port
port
]} {
v1
[
access
access-list
]
|
v2c
[
access
access-list
]
| v3
[
encrypted
]
[
access
access-list
] [
auth
{
md5
|
sha
}
auth-password
]}
Configures an SNMP user to be associated with the remote host created
in Step 2.
Note:
You cannot configure a remote user for an address without first
configuring the engine ID for the remote host. Otherwise, you receive an
error message, and the command is not executed.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...