SNMPTRAP(1)

NAME
snmptrap - Send an SNMPv1 Trap to an SNMP agent acting in a manager role.

SYNOPSIS
snmptrap [ -a agent-addr ] host community trap-type specific-type device-description

DESCRIPTION
Snmptrap will send an SNMPv1 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-type is an SNMPv1 trap identifier, as defined in RFC 1157.

The specific-type is the enterprise specific trap type. This is only used if the trap-type is set to Enterprise Specific (6).

The value of device-description is placed in a system.sysDescr.0 variable, and sent along with the trap.

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

The "-a" flag will 'fake' a trap from another entity.

ENVIRONMENT
MIBFILE: Location of the SNMP MIB.

FILES
mib.txt                   First MIB tried if env. var is not set
/etc/mib.txt              Second MIB tried if env. var is not set

RFCS
Related RFCs: 1065, 1066, 1067
Related SNMPv2 RFCs: 1901, 1902, 1902, 1904, 1905, 1906, 1907, 1908, 1909

RELATED URLS
CMU Networking Group: http://www.net.cmu.edu/
CMU SNMP Home Page: http://www.net.cmu.edu/projects/snmp

SEE ALSO
snmpdelta(1), snmpget(1), snmpgetnext(1), snmpset(1), snmpstatus(1), snmptest(1), snmptranslate(1), snmptrap(1), snmptrap2(1), snmptrapd(1), snmpwalk(1)