C
L
OMMAND
INE
show snmp engine-id
Use this command to show the SNMP engine ID.
Command Mode
Privileged Exec
Example
This example shows the default engine ID.
Console#show snmp engine-id
Local SNMP engineID: 8000002a8000000000e8666672
Local SNMP engineBoots: 1
Field
Local SNMP
engineID
Local SNMP
engineBoots
snmp-server view
Use this command to add an SNMP view that 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. Wildcards
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)
4-166
I
NTERFACE
Table 4-40 SNMP Engine ID
Description
String identifying the engine ID.
The number of times that the engine has (re-)initialized since
the snmpEngineID was last configured.