Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending SNMP traps from a 2810-24G

SOLVED
Go to solution
Keflumper
Advisor

Sending SNMP traps from a 2810-24G

I've been poking around the CLI of the 2810-24G in order to set a trap receiver. Going through the documentation doesn't provide me with a simple way to set the receiver (too much nonsense about params, tagvalues, etc.). I'd like to simply send all traps to a specific IP. Can someone tell me the command that will do this?
1 REPLY
Javed Padinhakara
Respected Contributor
Solution

Re: Sending SNMP traps from a 2810-24G

if x.x.x.x is the ip to which you would like to send the traps, the simple way to do is:

ProCurve Switch 2810-24G(config)#snmp-server host x.x.x.x communityStr

[ communityStr = the community string ]

This will send all "well-known" traps to x.x.x.x. Additionally if you would like to receive Event Log messages too as traps, then to the above command, choose one of
([])

for eg:
ProCurve Switch 2810-24G(config)#snmp-server host x.x.x.x communityStr all

which would indicate to the switch to send "all" event log messages as well to x.x.x.x

HTH
Javed