SNMP traps

Hello

I am trying to check that SNMP traps could be sent from one server to other .

I am running this command from receiving server to see it can receive it

/usr/sbin/snoop udp port 162

and on the sending end I am running this commad

cst051 UDP D=162 S=1480 LEN=120

but i am getting error message that
cst051: not found

Is there anything I need to configure from sending end in order to send test snmp trap. Or is there anything wrong with my command.

Regards
Ajwat

Not sure where you got that command from, but try looking at the man page for snmptrap and snmpwalk.