Setting the Trap Receiver
To set the trap receiver for a community string, use the following CLI command:
(configure)#
snmp-server notify <ip-addr> <community-string>
Table 5-10 provides an explanation of the command variables.
Table 5-10. snmp-server notify Command
Parameter |
Definition |
<ip-addr> |
The IP address to which you want trap messages sent. |
<community-string> |
The existing community string for which you are setting the trap receiver. |