To configure the trap exploder, you open and edit the Service Assurance BASEDIR/smarts/conf/trapd/trapd.conf file to forward the appropriate traps to Network Protocol Manager, IP Availability Manager, and the trap receiver. You use the FORWARD parameter in the trapd.conf file to determine which incoming traps are sent to what destinations.
In addition to configuring the trapd.conf file, you need to configure the managed network devices to forward SNMP traps to the host where the trap exploder is running, and to the port on which the trap exploder is listening for traps.
If no --port=<port number> option is specified in the trap exploder’s startup command, the trap exploder listens for traps on the port specified by the PORT parameter in the trapd.conf file (port 9000 by default), or port 162 if no PORT value is specified in the trapd.conf file. The trap exploder startup options are described in “Start the trap exploder” on page 92.
Mapping of trap exploder configuration steps to configured forwarded-trap paths maps the steps (circled numbers) in the trap exploder configuration procedure to the configured forwarded trap paths.
To configure the trapd.conf file for the trap exploder:
Go to the BASEDIR/smarts/bin directory in the Service Assurance Manager installation area and type the following command to open the trapd.conf file:
To forward BGP traps to Network Protocol Manager for BGP, add the following FORWARD entries (and comments for usability purposes) to the trapd.conf file:
# BGP Snmp v2 traps FORWARD: *.*.*.* .126.96.36.199.188.8.131.52 * * <hostname>:<port no> # BGP Snmp v1 traps FORWARD: *.*.*.* .184.108.40.206.2.1.15 * * host:port # CiscoMgmt trap for reconfiguration FORWARD: *.*.*.* .220.127.116.11.18.104.22.168.43.2 * * <hostname>:<port no>
To forward OSPF traps to Network Protocol Manager for OSPF, add the following FORWARD entries (and comments for usability purposes) to the trapd.conf file:
# OSPF traps for non-cisco devices FORWARD: *.*.*.* .22.214.171.124.126.96.36.199.2 * * <hostname>:<port no> # CiscoMgmt trap for reconfiguration FORWARD: *.*.*.* .188.8.131.52.184.108.40.206.43.2 * * <hostname>:<port no>
To forward network traps to IP Availability Manager, choose which FORWARD entries that you want to use from the following list of predefined FORWARD statements in the trapd.conf file:
# Traps required by InCharge IP Availability Manager (AM) # # Generic: coldStart, warmStart, LinkUp, LinkDown #FORWARD: * .* <0-3> * host:port # Cisco: STACK module inserted, removed #FORWARD: * .220.127.116.11.18.104.22.168 6 <3-4> host:port # 3Com: CoreBuilder 9000 module inserted #FORWARD: * .22.214.171.124.126.96.36.199.2 6 6 host:port # AI: SLC card down, up #FORWARD: * .188.8.131.52.4.1.539 6 10 host:port #FORWARD: * .184.108.40.206.4.1.539 6 111 host:port #FORWARD: * .220.127.116.11.4.1.629 6 10 host:port #FORWARD: * .18.104.22.168.4.1.629 6 111 host:port # # Cisco ISDN demandNbrLayer2Change # #FORWARD: * .22.214.171.124.126.96.36.199.26.2 6 3 host:port # # Cisco cHsrpStateChange # #FORWARD: * .188.8.131.52.184.108.40.206.106.2 6 1 host:port # # Traps required by InCharge IP Performance Manager (PM) # # Cisco: EnvMon Voltage, Temperature, Fan, RedundantSupply #FORWARD: * .220.127.116.11.18.104.22.168.13.3 6 <2-5> host:port
To forward informational traps to the trap receiver, add your choice of FORWARD entries to the trapd.conf file:
# Traps for Trap Receiver and Adapter Platform <Add your matching criteria for the traps and the forwarding destination: the IP address and trap port of the trap receiver.>
Ensure that the ENABLE_FWD parameter is TRUE (default).
Save and close the file.
The modified version of the trapd.conf file is saved to the BASEDIR/smarts/local/conf/trapd directory in the Service Assurance Manager installation area.
Any received trap not matching any of the FORWARD entries is discarded.