![](http://pdfasset.owneriq.net/5/87/5875d4be-282b-42bc-b125-337cedb21b7d/5875d4be-282b-42bc-b125-337cedb21b7d-bg1c3.png)
SNMP C
OMMANDS
4-161
snmp-server view
This command adds an SNMP view which controls user access to the MIB.
Use the
no
form to remove an SNMP view.
Syntax
snmp-server view view-name oid-tree {included | excluded}
no snmp-server view view-name
•view-name - Name of an SNMP view. (Range: 1-64 characters)
• oid-tree - Object identifier of a branch within the MIB tree. Wild cards
can be used to mask a specific portion of the OID string. (Refer to
the examples.)
• included - Defines an included view.
• excluded - Defines an excluded view.
Default Setting
defaultview (includes access to the entire MIB tree)
Command Mode
Global Configuration
Command Usage
• Views are used in the snmp-server group command to restrict user
access to specified portions of the MIB tree.
• The predefined view “defaultview” includes access to the entire MIB
tree.
Table 4-40 show snmp engine-id - display description
Field Description
Local SNMP
engineID
String identifying the engine ID.
Local SNMP
engineBoots
The number of times that the engine has (re-)initialized since
the snmp EngineID was last configured.
Remote SNMP
engineID
String identifying an engine ID on a remote device.
IP address IP address of the device containing the corresponding
remote SNMP engine.