Administrator Guide

Switch Management Commands 2150
User Guidelines
A view is a set of ASN.1 objects the SNMP server is allowed to access.
Multiple view statements may be entered for a particular view. This command
can be entered multiple times for the same view record.
The view name accepts any printable characters except a question mark.
Enclose the string in double quotes to include spaces within the name. The
surrounding quotes are not used as part of the name. The CLI does not filter
illegal combinations of characters on entry and may accept entries up to the
first illegal character or reject the entry entirely.
Examples
The following example creates a view named user-view that includes all
objects in the MIB-II system group except for sysServices (system.7) and
includes all objects for interface 1 in the MIB-II interface group. An
additional example of embedded blanks in a view name is given on the last
line.
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
console(config)#snmp-server view "A beautiful view!" 1.1.2.1 included
snmp-server v3-host
Use the snmp-server v3-host command in Global Configuration mode to
specify the recipient of Simple Network Management Protocol Version 3
(SNMPv3) notifications. To remove the specified host, use the no form of
this command.
Syntax
snmp-server v3-host {ip-address | hostname} username {traps | informs}
[noauth | auth | priv] [timeout seconds] [retries retries] [udpport port]
[filter filtername]
no snmp-server v3-host ip-address {traps | informs}
ip-address — Specifies the IP address of the host (targeted recipient).
Both IPv4 and IPv6 addresses are allowed.