Displays or configures the Network Terminal Accelerator (NTX) Simple Network Management Protocol (SNMP) traps.
ntx_traps [ -d Device ] [ [ -f File ] | [ -h ] | [ [ -p Port ] [ -r ] [ -s ] TrapType Community Host ] ]
The ntx_traps command displays or configures the adapter SNMP traps. A trap is an unsolicited SNMP message that the agent transmits when specific events occur. By default, this command displays the current trap configuration for the adapter identified by the /dev/rhp0 file. The configuration is sent to standard output in the format required by the File parameter.
The ntx_traps command determines which trap protocol data units (PDUs) the SNMP agent sends to which network management station (NMS). If the host does not issue the ntx_traps command, the agent does not transmit trap PDUs. IBM supports the standard SNMP generic traps as well as some enterprise-specific traps that are unique to the adapter.
Note: It is possible, and simple, for the host to configure more than one NMS to receive the same trap type.
The TrapType parameter is a decimal number or symbol that specifies the SNMP trap type. A trap can be generic or specific. If the -s flag is specified, the TrapType parameter is interpreted as a specific trap. Otherwise, it is a generic trap. Valid values for trap types are integers or the corresponding symbolic names. Valid generic trap types are:
The SNMP agent does not generate warmstart, linkdown, linkup, or egploss traps.
Specific traps identify enterprise-specific traps. Refer to the /usr/include/ntx/st.snmp.h file for the current list of enterprise-specific traps. The following traps are defined:
0 (hostrej) | Connection attempt rejected by host computer. |
1 (netrej) | Connection attempt rejected by terminal. |
2 (neterr) | Unrecoverable network error occurred on the session. |
This command returns the following exit values:
0 | Successful completion. |
>0 | An error occurred. |
Access Control: You must have root authority to run this command.
ntx_traps 0 public 192.6.153.6 ntx_traps 0 public 192.6.153.2
ntx_traps authfail private 192.6.153.6
ntx_traps -s neterr public 192.6.153.20
/usr/bin/ntx_traps | Contains the ntx_traps command. |
/dev/rhp0 | Default NTX raw device file name. |
The /dev/rhp file.
Network Terminal Accelerator Overview in AIX Versions 3.2 and 4 Asynchronous Communications Guide.