Command Reference Guide
SROS Command Line Interface Reference Guide Global Configuration Mode Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 339
snmp-server host <address> traps version <version> <community>
<trap type>
Use the snmp-server host traps version command to specify traps sent to an identified host. Use multiple
snmp-server host traps version 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.
<version> Specifies the SNMP version as one of the following:
1 - SNMPv1
2C - SNMPv2C
<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 using SNMPv2C:
(config)#snmp-server host 190.3.44.69 traps version 2c My Community snmp