Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
557
Switch# configure terminal
Switch(config)# snmp-server user user1 public v3 auth md5 authpassword priv
privpassword
Switch(config)#
This example shows how the MD5 digest string is used instead of the plain text password.
Switch# configure terminal
Switch(config)# snmp-server user user1 public v3 encrypted auth md5
00112233445566778899AABBCCDDEEFF
Switch(config)#
59-22 snmp-server view
This command is used to create or modify a view entry. Use the no command to remove a specified
SNMP view entry.
snmp-server view VIEW-NAME OID-TREE {included | excluded}
no snmp-server view VIEW-NAME
Parameters
VIEW-NAME
Specifies the name of the view entry. The valid length is 1 to 32
characters. The syntax is general string that does not allow spaces.
OID-TREE
Specifies the object identifier of the ASN.1 sub-tree to be included or
excluded from the view. To identify the sub-tree, specify a text string
consisting of numbers, such as 1.3.6.2.4, or a word, such as system.
Use the asterisk (*) wildcard in a single sub-identifier to specify a sub-
tree family.
included
Specifies the sub-tree to be included in the SNMP view.
excluded
Specifies the sub-tree to be excluded from the SNMP view.
Default
VIEW-NAME OID-TREE View Type
Restricted 1.3.6.1.2.1.1 Included
Restricted 1.3.6.1.2.1.11 Included
Restricted 1.3.6.1.6.3.10.2.1 Included
Restricted 1.3.6.1.6.3.11.2.1 Included
Restricted 1.3.6.1.6.3.15.1.1 Included
CommunityView 1 Included
CommunityView 1.3.6.1.6.3 Excluded
CommunityView 1.3.6.1.6.3.1 Included
Command Mode
Global Configuration Mode.
Command Default Level