Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ trap_send(1M) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getmany(1M)

getnext(1M)

setany(1M)

snmpd(1M)

snmpd.communities(4M)

snmpd.config(4M)

trap_send(1M)



trap_send(1M)                   TCP/IP 5.4.2                   trap_send(1M)


NAME
       trapsend - send SNMP trap message

SYNOPSIS
       trapsend host community type [ port ]

   where:
       host is a hostname or Internet address
       community is a community string
       type is the trap type
       port is an optional UDP port number to send the trap to.

DESCRIPTION
       Use the trapsend command to send Trap-PDUs to network management
       stations (NMS).  The trapsend command sends an SNMP message
       containing the community string and a Trap-PDU specifying trap type
       to the NMS at UDP port number port running on host.

       Specify the host as either a hostname or an Internet address in dot-
       notation.

       Specify the community name as a text string to be used by the NMS to
       authenticate the request.

       Specify the trap type as either an integer value or as a text string.
       Legal values for type are: 1=coldStart, 2=warmStart, 3=linkDown,
       4=linkUp, 5=authenticationFailure, 6=egpNeighborLoss, and
       7=enterpriseSpecific.

EXAMPLE
       In the following example traprecv is used to demonstrate the
       trap generated by trapsend.
       $ traprecv &
       $ trapsend localhost public coldStart
       Packet Dump:
       30 32 02 01 00 04 06 70 75 62 6c 69 63 a4 25 06
       09 2b 06 01 03 01 2a 2a 2a 2a 40 04 80 de 08 1e
       02 01 00 02 01 00 43 01 00 30 09 30 07 06 03 29
       01 01 05 00
       Community: public
       Enterprise: experimental.1.42.42.42.42
       Agent-addr: 127.0.0.1
       Cold start trap.
       Time Ticks: 0
       Name: iso.1.1.1
       Value: NULL

DIAGNOSTICS
       Exit status is 0 for success.  Exit status is -1 if there are errors
       parsing the command line.

SEE ALSO
       getmany(1M), getnext(1M), setany(1M), snmpd(1M), traprecv(1M),
       snmpd.communities(4M), snmpd.config(4M), snmpd.trapcommunities(4M).



Licensed material--property of copyright holder(s)                         1




trap_send(1M)                   TCP/IP 5.4.2                   trap_send(1M)



























































Licensed material--property of copyright holder(s)                         2


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026