Intel® NetStructureTMZT 7102 Chassis Management Module

SNMP

Note: Changing IP addresses when using SNMP v3 will require a restart of the snmpd process. This is due to SNMP v3 using the IP address to generate the encryption keys. To restart the snmpd process follow steps 2 through 4 in Section 19.3.2.

19.3.1Configuring the SNMP Agent Port

The SNMP agent is set up to use port 161 by default. The port can be configured to use a different port number by adding the following line to the snmpd.conf file:

agentaddress port_number

19.3.2Configuring the Agent to Respond to SNMP v3 Requests

The agent can also be configured to respond to SNMP v3 queries, in which case it checks the security, decodes the request, then evokes the corresponding MIB Module to process the request, and sends the SNMP response with return data to the SNMP/MIB manager. SNMP v3 adds support for strong authentication and private communication.

To change the SNMP agent to respond to SNMP v3 queries:

1.Copy /etc/snmpdv3.conf to /etc/snmpd.conf.

2.Find the process ID of the snmpd process by issuing the command:

ps -ax

3.Look for the snmpd process. There may be more than one, so use the lowest process ID, which is the first instance of the process. The listing will look similar to this:

121 ?

SN

0:00 /usr/sbin/snmpd -c /etc/snmpd.conf

4. Restart the snmpd agent by issuing the following command:

kill -s SIGHUP [snmpd_process_id]

Where snmpd_process_id is the process ID of the snmpd process found in the step above.

19.3.3Configuring the Agent Back to SNMP v1

To reconfigure the agent back to SNMP v1, follow the same steps as above, substituting the /etc/snmpdv1.conf for /etc/snmpdv3.conf. The rest of the process is the same.

19.3.4Setting up an SNMP v3 MIB Browser

To manage the CMM via SNMPv3 MIB browser/manager (mg-soft, net-snmp, etc.), the user needs to configure the browser with the following parameters:

1.Load and compile the ZT 7102.MIB file

2.Set the SNMPv3 security parameters:

Set SNMPv3 agent user

At default, User: root

Set the MD5 Authentication password: cmmrootpass

Set the DES Encryption password: cmmrootpass

Technical Product Specification

99

Page 99
Image 99
Intel ZT 7102 manual Configuring the Snmp Agent Port, Configuring the Agent to Respond to Snmp v3 Requests