how to send a trap via cli

hello my problem is to send a trap from port 162 via cli.

i installed a trap reciever on my pc and it works!
snmp is on restart and login on.

and the trap receiver show me the results.

but how can i send a trap via cli?

like set alarm range=1 type=snmptrap…?

thanks for help