To configure the NFM-P SNMP trap sources

Purpose

Perform this procedure to configure the sources of SNMP traps associated with log ID 98. If no SNMP log ID on a device matches the log ID in the NFM-P configuration, the NFM-P recreates the log ID and SNMP trap group on the device, which results in a single log file that receives traps from the following sources:

  • main

  • security—always included as an SNMP source

  • change—supported by the NFM-P for the 7950 XRS and for the 7750 SR

CAUTION 

CAUTION

Service Disruption

This procedure requires a restart of each NFM-P main server, which is service-affecting. Perform this procedure only during a scheduled maintenance window.

Steps
 

If the NFM-P is deployed in a standalone configuration, go to Step 3 .


Perform the following steps to stop the standby main server.

  1. Log in to the standby main server station as the nsp user.

  2. Open a console window.

  3. Enter the following:

    bash$ cd /opt/nsp/nfmp/server/nms/bin ↵

  4. Enter the following to stop the main server application:

    bash$ ./nmsserver.bash stop ↵

  5. Enter the following to display the main server status:

    bash$ ./nmsserver.bash appserver_status ↵

    The command displays a status message.

  6. The main server is stopped when the command displays the following status message:

    Application Server is stopped 

    If the command displays a different message, wait 5m and repeat Step 2 5 . Do not proceed to the next step until the server is stopped.


Perform the following steps on the primary main server station or the standby main server station:

  1. Log in to the main server station as the nsp user.

  2. Open the /opt/nsp/nfmp/server/nms/config/nms-server.xml file using a plain-text editor.

    Caution: Contact your Nokia technical support representative before you attempt to modify the nms-server.xml file. Modifying the nms-server.xml file can have serious consequences that can include service disruption.

  3. Locate the following section:

    <snmp

    ip="IP_address"

    port="nnn"

    trapLogId="98"

    where

    IP_address is the IP address of the NFM-P main server

    nnn is the SNMP port number

    This default configuration applies to traps from main, security, and change, if available.

  4. Perform one of the following:

    To restrict the trap source to main only, add the following line:

    logIdSourceBits="80" 

    To restrict the trap source to main and change, add the following line:

    logIdSourceBits="A0" 

  5. Save and close the nms-server.xml file.

  6. Open a console window.

  7. Navigate to the /opt/nsp/nfmp/server/nms/bin directory.

  8. Enter the following to restart the main server:

    bash$ ./nmsserver.bash force_restart ↵

    The main server restarts, and the configuration change takes effect.


Close the console windows.

End of steps