User Guide

SNMP Commands
7-43
7
Command Mode
Global Configuration
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
Related Commands
snmp-server host (7-44)
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 <1 | 2 | 3 | 4> <host_ip_address | host_name>
<community-string>
no snmp-server host
1 - First SNMP host.
2 - Second SNMP host.
3 - Third SNMP host.
4 - Fourth SNMP host.
host_ip_address - IP of the host (the targeted recipient).
host_name - Name of the host. (Range: 1-63 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
Enterprise AP(config)#snmp-server enable server
Enterprise AP(config)#