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:
|
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
|
|
1 |
If the NFM-P is deployed in a standalone configuration, go to
Step 3 .
|
2 |
Perform the following steps to stop the standby main server.
-
Log in to the standby main server station as the nsp user.
-
Open a console window.
-
Enter the following:
bash$ cd /opt/nsp/nfmp/server/nms/bin ↵
-
Enter the following to stop the main server application:
bash$ ./nmsserver.bash stop ↵
-
Enter the following to display the main server status:
bash$ ./nmsserver.bash appserver_status ↵
The command displays a status message.
-
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.
|
3 |
Perform the following steps on the primary main server station or the standby main server station:
-
Log in to the main server station as the nsp user.
-
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.
-
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.
-
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"
-
Save and close the nms-server.xml file.
-
Open a console window.
-
Navigate to the /opt/nsp/nfmp/server/nms/bin directory.
-
Enter the following to restart the main server:
bash$ ./nmsserver.bash force_restart ↵
The main server restarts, and the configuration change takes effect.
|
4 |
Close the console windows.
End of steps |