Displays and configures a Simple Network Management Protocol (SNMP) community profile for a Network Terminal Accelerator (NTX).
ntx_comun [ -d Device ] [ -f File | [ -o ObjectID ] Community { na | ro | rw } ]
The ntx_comun command displays and configures an adapter's SNMP community profile. A profile consists of community names and their respective permissions that determine access to Management Information Base (MIB) objects. If you do not specify any flags with the ntx_comun command, the command retrieves the current community configuration profile from the adapter and displays it on the standard output. The output is in the format required by the File parameter.
You can also use this command to configure community profiles. A community is a set of network management stations (NMSs) that have access to the adapter's SNMP agent. The Community parameter specifies the community name. The Community parameter is an ASCII string. You should configure community profiles with the ntx_comun command before issuing the ntx_snmp command to turn on the SNMP agent.
You use the -o flag to identify an ID for a MIB object or subtree. You can set the community's access mode to the object as one of the following:
na | not accessible |
ro | read-only |
rw | read-write |
To configure permissions for multiple MIB subtrees for a single community, the host must issue the ntx_comun command multiple times for each subtree.
When the adapter's SNMP agent receives an protocol data unit (PDU), the agent first verifies that the community specified within the PDU has appropriate access to all of the MIB variables specified in the PDU. If the community profiles are not configured before the SNMP agent begins receiving PDUs, the SNMP agent uses a default read-only community profile with a community name of public.
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_comun -o 1.3.6.1.2.1.1.3.0 public na
ntx_comun -o 1.3.6.1.2.1.1 rosys ro
ntx_comun writer rw
ntx_comun criminal na
/usr/bin/ntx_comun | Contains the ntx_comun command. |
/dev/rhp0 | Default NTX raw device file name. |
Commands: ntx_snmp
Files: rhp
Articles: "Configuring the Network Terminal Accelerator" in AIX Versions 3.2 and 4 Asynchronous Communications Guide
RFC 1213, Management Information Base for Network Management of TCP/IP-Based Internets: MIB-II.