SNMP Commands 1545
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 IPv4 address of the host (targeted recipient).
hostname
— Specifies the name of the host. (Range: 1-158 characters.)
The command allows spaces in the host name when specified in double
quotes. For example, #snmp-server v3-host “host name”.
username
— Specifies user name used to generate the notification.
(Range: 1-30 characters.)
traps
— Indicates that SNMP traps are sent to this host.
informs
— Indicates that SNMPv2 informs are sent to this host.
noauth
— Specifies sending of a packet without authentication.
auth
— Specifies authentication of a packet without encrypting it
priv
— Specifies authentication and encryption of a packet.
seconds
— Number of seconds to wait for an acknowledgment before
resending informs. This is not allowed for hosts configured to send traps.
The default is 15 seconds. (Range: 1-300 seconds.)

retries

— Maximum number of times to resend an inform request. This is
not allowed for hosts configured to send traps. The default is 3 attempts.
(Range: 0-255 retries.)
2CSPC4.XCT-SWUM2XX1.book Page 1545 Monday, October 3, 2011 11:05 AM