To configure the Network Protocol Manager built-in trap receiver:
-
Go to the BASEDIR/smarts/bin directory in the Network Protocol Manager installation area and type the following command to open the bgp.conf or ospf.conf file:
sm_edit conf/bgp/bgp.conf -or- sm_edit conf/ospf/ospf.conf
-
Find the following line:
TrapPort = 0
-
Set the port number (0) to the destination port specified for Network Protocol Manager for BGP or Network Protocol Manager for OSPF in the trap exploder’s trapd.conf file.
A valid port number is 162 or any value in the range 2049 to 65534 inclusive.
-
Save and close the file.
The modified version of the bgp.conf file is saved to the BASEDIR/smarts/local/conf/bgp directory, or the modified version of the ospf.conf file is saved to the BASEDIR/smarts/local/conf/ospf directory.
-
If Network Protocol Manager was running before you edited the bgp.conf or ospf.conf file, restart Network Protocol Manager.