System information
Command Line Reference
SNMP Commands
Command Usage
• This command enables both authentication failure notifications and
link up-down notifications.
• The snmp-server host command specifies the host device that will
receive SNMP notifications.
Example
HP420(config)#snmp-server enable server
HP420(config)#
Related Commands
snmp-server host (page 8-42)
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 <server_index><host_ip_address | host_name> <community-
string>
no snmp-server host <server_index>
• server_index - The index number of the host. (Range: 1-4)
• 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: 32 characters)
Default Setting
Host Address: None
Community String: public
Command Mode
Global Configuration
8-42