Command Line Reference Guide

SNMP and Syslog | 1383
Defaults
As above
Command Modes
CONFIGURATION
Command
History
Usage
Information
No default values exist for authentication or privacy algorithms and no default password exist. If you
forget a password, you cannot recover it; the user must be reconfigured. You can specify either a
plain-text password or an encrypted cypher-text password. In either case, the password will be stored
in the configuration in an encrypted form and displayed as encrypted in the show running-config
command.
If you have an encrypted password, you can specify the encrypted string instead of the plain-text
password. The following command is an example of how to specify the command with an encrypted
string:
Examples
Figure 54-9. snmp-server user Command Example
md5 | sha
(OPTIONAL) Enter the keyword md5 or sha to designate the authentication
level.
md5 — Message Digest Algorithm
sha — Secure Hash Algorithm
auth-password
(OPTIONAL) Enter a text string (up to 20 characters long) password that will
enable the agent to receive packets from the host.
Minimum: 8 characters long
priv des56
(OPTIONAL) Enter the keyword priv des56 to initiate a privacy
authentication level setting using the CBC-DES privacy authentication algorithm
(
des56).
priv password
(OPTIONAL) Enter a text string (up to 20 characters long) password that will
enables the host to encrypt the contents of the message it sends to the agent.
Minimum: 8 characters long
access-list-name
(Optional) Enter the standard IPv4 access list name (a string up to 16 characters
long).
ipv6
access-list-name
(Optional) Enter the keyword ipv6 followed by the IPv6 access list name (a
string up to 16 characters long)
access-list-name
ipv6
access-list-name
(Optional) Enter both an IPv4 and IPv6 access list name.
Version 8.4.6.0 Added support for VRF.
Version 7.6.1.0 Support added for S-Series
Version 7.5.1.0 Support added for C-Series
E-Series legacy command
Note: For IPv6 ACLs, only IPv6 and UDP types are valid for SNMP; TCP, ICMP rules are
not valid for SNMP. In IPv6 ACLs port rules are not valid for SNMP.
FTOS# snmp-server user privuser v3group v3 encrypted auth md5
9fc53d9d908118b2804fe80e3ba8763d priv des56 d0452401a8c3ce42804fe80e3ba8763d