Command Reference Guide
SROS Command Line Interface Reference Guide Global Configuration Mode Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 338
snmp-server host <address> traps <community> <trap type>
Use the snmp-server host traps command to specify traps sent to an identified host. Use multiple
snmp-server host traps commands to specify all desired hosts. Use the no form of this command to return
to the default value.
Syntax Description
<address> Specifies the IP address of the SNMP host that receives the traps.
<community> Specifies the community string (used as a password) for authorized agents to
obtain access to SNMP information.
<trap type> Optional.
Specifies the type of notification trap to enable. Leaving this option blank
enables ALL system traps.
snmp Enables a subset of traps specified in RFC 1157.
The following traps are supported:
coldStart
warmStart
linkUp
linkDown
authenticationFailure
Default Values
By default, there are no hosts or traps enabled.
Command Modes
(config)# Global Configuration Mode required
Usage Examples
The following example sends all SNMP traps to the host at address 190.3.44.69 and community string
My Community:
(config)#snmp-server host 190.3.44.69 traps My Community snmp