Add or update the following PORT configuration statements in hlq.PROFILE.TCPIP.
PORT
162 UDP TRAPFWD ; Trap Forwarder daemon
If the daemon will be started from the z/OS® shell, reserve the port for z/OS UNIX by changing OMVS instead of TRAPFWD. Note that by doing so, the snmp command could make use of the port if it is started (with the trap option) before TRAPFWD is started.