SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-13
Sample Manager Invocation
SNMPTRAP
SNMPTRAP sends a trap packet using the UDP protocol. When you invoke this 
manager, you can specify values for the various fields in a trap packet; you can 
optionally specify as many as 16 variable bindings to include in the trap packet.  
number-of-
objects
An integer indicating the number of MIB objects you want to 
retrieve.  The default is 2147483647.
first-MIB-
object
Identifies the instance of the MIB object preceding the first MIB 
object you want to retrieve. If the object is represented in mibrt, 
you can refer to it by name or using the dotted OID format; use 
the dotted OID format for objects that are not represented in 
mibrt. The default is 0.0.
SNMPTRAP [-l]
 [-c community-string]
 [-e enterprise-oid]
 [-a manager-host-identifier]
 [-g generic-trap-identifier]
 [-s specific-trap-number]
 [-t timestamp]
 [-p trap-destination-port}
 target-host-identifier
 [MIB-object [data-type]value] ...
-l
Stands for long form.  Use this parameter when specifying 
variable bindings that  are not MIB-II objects.
community- 
string
A community name that you can format as a displayable string or 
as a sequence of octets, where each octet is an 8-bit hexadecimal 
value. The default is "public".
enterprise-
oid
An OID describing the entity emitting the trap. The default is 
1.3.6.1.4.1.169.3.
manager-host-
identifier
The NonStop Kernel node name or IP address of the host on 
which the manager resides.  Omit the backslash when specifying 
a NonStop Kernel node name. The default is the IP address of 
the manager’s node.










