Start Trap Manager (STRTRPMGR)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

Use the Start Trap Manager (STRTRPMGR) command to start the OS/400 SNMP trap manager. An optional Forward Trap parameter may be specified, which enables traps that are received on the system to be forwarded to other Network Management stations, as configured in the Simple Network Management Protocol (SNMP) agent and Distributed Protocol Interface (DPI) interface.

Top

Parameters

Keyword Description Choices Notes
FWDTRP Forward traps *YES, *NO Optional, Positional 1
Top

Forward Trap (FWDTRP)

Specifies whether traps received on the system are to be forwarded to other network management stations.

The possible values are:

*NO
Received traps will not be forwarded. Traps will only be enqueued.
*YES
Received traps will be forwarded using the facilities provided in the SNMP agent and DPI interface.
Top

Examples

Example 1: Start Trap Manager Job (Enqueue Traps Only)

STRTRPMGR

This command starts the trap manager job. Traps received by the trap manager are enqueued only.

Example 2: Start Trap Manager Job (Enqueue & Forward Traps)

STRTRPMGR   FWDTRP(*YES)

This command starts the trap manager job. Traps received by the trap manager are enqueued and forwarded.

Top

Error messages

*ESCAPE Messages

CPFA80D
Trap manager job already active.
CPFA802
Trap manager not started.
Top