Command Line Reference
SNMP Commands
6-28
snmp-server host
This command specifies the recipient of an SNMP notification. Use the no form
to remove the specified host.
Syntax
snmp-server host <host_ip_address | host_name> <community-string>
no snmp-server host
•
host_ip_address - IP of the host (the targeted recipient).
host_name - Name of the host. (Range: 1-20 characters)
•
community-string - Password-like community string sent with the
•
notification operation. Although you can set this string using the
snmp-server host command by itself, we recommend that you define
this string using the snmp-server community command prior to using
the snmp-server host command. (Maximum length: 23 characters)
Default Setting
Host Address: None
Community String: public
Command Mode
Global Configuration
Command Usage
The snmp-server host command is used in conjunction with the snmp-server
enable server command to enable SNMP notifications.
Example
HP420(config)#snmp-server host 10.1.19.23 batman
HP420(config)#
Related Commands
snmp-server enable server (page 6-27)