•
oid-tree — Object identifier of the ASN.1 subtree to be included or excluded from the
view. To identify the subtree, specify a text string consisting of numbers, such as 1.3.6.2.4,
or a word, such as system. Replace a single subidentifier with the asterisk (*) wildcard to
specify a subtree family; for example 1.3.*.4.
•
included — The filter type is included.
excluded — The filter type is excluded.
•
Default Configuration
Product specific.
Command Modes
Global Configuration
User Guidelines
•
You can enter this command multiple times for the same filter record. Later lines take
precedence when an object identifier is included in two or more lines. .
Example
The following example creates a filter that includes all objects in the MIB-II system group except
for sysServices (System 7) and all objects for interface 1 in the MIB-II interfaces
Console (config)# snmp-server view user-view system included
Console (config)# snmp-server view user-view system.7 excluded
Console (config)# snmp-server view user-view ifEntry.*.1
included
snmp-server contact
The snmp-server contact Global Configuration mode command sets up a system contact. To
remove the system contact information, use the no form of the command.
Syntax
snmp-server contact text
no snmp-server contact
•
text — Character string, up to 160 characters, describing the system contact information.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
222
SNMP Commands
group: