Enable SNMP and specify main connection and security and user details.
About this task
You can use the command line to configure connection details for SNMPv3.
Procedure
-
Connect to the IBM® MQ Appliance as described in
Command line access. Log in as an administrative user.
-
Type
config
to enter global configuration mode.
-
Type
snmp
to enter SNMP configuration mode.
-
Enable SNMP by entering the following command:
-
Specify the IP address of the local interface on which the SNMP service listens for SNMP
requests by entering the following command:
ip-address local_IP_address
Where
local_IP_address is a local IP address. Specify 0.0.0.0 to listen on all
appliance interfaces.
-
Specify the port that is listened on by entering the following command:
port port_number
Where
port_number
is the port listened on. The port is set to 161 by default.
-
Specify the security level by entering the following command:
security-level level
Where
level
is one of the following values:
- noAuthNoPriv
-
The SNMP connection requires neither authentication of users nor encryption of data.
- authNoPriv
-
The SNMP connection requires authentication of users but not the encryption of data.
- authPriv
-
The SNMP connection requires authentication of users and encryption of data.
If you select either of the levels that specify user authentication, you must define a local
user for SNMP authentication, together with SNMP credentials. See
Configuring local users by using the command line.
-
Specify the user ID of the local user that is used for authentication:
-
Specify the access level of read-only by entering the following command:
What to do next
Specify whether default trap events are enabled.