NAME
snmptrap2 - Send an SNMPv2 Trap to an SNMP agent acting in a manager role.

SYNOPSIS
snmptrap [ -a agent-addr ] host community trap-number uptime [ OIDs ]

DESCRIPTION
Snmptrap will send an SNMPv2 trap to a network entity.

The host specification may be either a host name or an internet address specified in "dot notation"

community is the community for the trap.

The trap-number is the number of the trap. Well-known traps are defined in RFC 1907.

Adding a "-d" to the argument list will cause the application to dump input and output packets.

Using the "-a" flag, will 'fake' a trap from another entity.

EXAMPLES
% snmptrap snmp-example.net.cmu.edu public 6