User Manual

DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
178
Switch# configure terminal
Switch(config)# snmp-server user user1 public v3 entrypted auth md5
112233445566778899AABBCCDDEE
Switch(config)#
32-15
snmp-server view
This command is used to create or modify a view entry. Use the
no
form of this 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
Level: 15.
Usage Guideline