100 SNMP Commands
snmp-server view This command creates or modifies an existing view entry that is used by groups
to determine which objects can be accessed by a community or user.
no snmp-server
view
This command removes the specified view.
snmp-server v3-
host
This command configures traps to be sent to the specified host.
Default Views are created by default to provide access to the default
groups.
Format
snmp-server viewname oid-tree {included|excluded}
Mode Global Config
Parameter Description
viewname The label for the view being created. The range is 1
to 30 characters.
oid-tree The OID subtree to include or exclude from the
view. Subtrees may be specified by numerical
(1.3.6.2.4) or keywords (system), and asterisks may
be used to specify a subtree family (1.3.*.4).
included The tree is included in the view.
excluded The tree is excluded from the view.
Format
no snmp-server view viewname [oid-tree]
Mode Global Config
Default No default hosts are configured.
Format
snmp-server v3-host host-addr username [traps | informs
[timeout seconds] [retries retries
]] [auth | noauth |
priv] [udpport port] [filter filtername]
Mode Global Config