Simple Network Management Protocol (SNMP) and Syslog | 593
Figure 31-10 shows how to enter a plain-text password as the string authpasswd for user authuser of
group v3group.
Figure 31-10. snmp-server user Command Example (Plain-text)
Figure 31-11 configures a remote user named n3user with a v3 security model and a security level of
authNOPriv.
Figure 31-11. config Command Example
Related
Commands
snmp-server view
Configure an SNMPv3 view.
Syntax
snmp-server view view-name oid-tree {included | excluded}
To remove an SNMPv3 view, use the no snmp-server view view-name oid-tree {included |
excluded} command.
Parameters
Defaults
none
Command Modes
CONFIGURATION
Command
History
Usage
Information
The oid-tree variable is a full sub-tree starting from 1.3.6 and can not specify the name of a sub-tree or
a MIB. Figure 31-12 configures a view named rview that allows access to all objects under 1.3.6.1.
Example
Figure 31-12. snmp-server view Command Example
Note: The number of configurable users is limited to 16.
FTOS#conf
FTOS(conf)# snmp-server user authuser v3group v3 auth md5 authpasswd
FTOS#conf
FTOS(conf)# snmp-server user n3user ngroup remote 172.31.1.3 udp-port 5009 3 auth
md5 authpasswd
show snmp user Displays the information configured on each SNMP user name.
view-name
Enter the name of the view (not to exceed 20 characters).
oid-tree
Enter the OID sub tree for the view (not to exceed 20 characters).
included (OPTIONAL) Enter the keyword included to include the MIB family in the
view.
excluded (OPTIONAL) Enter the keyword excluded to exclude the MIB family in
the view.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
FTOS#(conf) snmp-server view rview 1.3.6.1 included