Configuring SNMP
Configuring SNMP
Configuring SNMP Users
Note
The commands used to configure SNMP users in Cisco NX-OS are different from those used to configure
users in Cisco IOS.
Procedure
Step 1
Step 2
Step 3
Step 4
Example
The following example shows how to configure an SNMP user:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# snmp-server user Admin auth sha abcd1234 priv abcdefgh
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
96
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
switch(config)# snmp-server user name [auth
{md5 | sha} passphrase [auto] [priv [aes-128]
passphrase] [engineID id] [localizedkey]]
Example:
switch(config)# snmp-server user Admin
auth sha abcd1234 priv abcdefgh
(Optional) switch# show snmp user
Example:
switch(config) # show snmp user
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Purpose
Enters global configuration mode.
Configures an SNMP user with authentication
and privacy parameters.
The passphrase can be any case-sensitive,
alphanumeric string up to 64 characters.
If you use the localizedkey keyword, the
passphrase can be any case-sensitive,
alphanumeric string up to 130 characters.
The engineID format is a 12-digit,
colon-separated decimal number.
Displays information about one or more SNMP
users.
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
Configuring SNMP