Duplicate IP Addresses for trap processing in Spectrum
search cancel

Duplicate IP Addresses for trap processing in Spectrum

book

Article ID: 14576

calendar_today

Updated On:

Products

CA Spectrum DX NetOps Insights

Issue/Introduction

I have multiple models that share a common IP address. Spectrum is configured for shared IP addresses for these models. However, when a trap is received with the duplicate IP address, the trap is processed on all models that share this IP address.


How to configure Spectrum to process a trap received for a duplicate IP address on only one of the models with the duplicate IP address?

Environment

Release: All

Resolution

The deviceIPAddressList attribute id 0x12a53 contains a list of the IP addresses Spectrum knows about for the device. When Spectrum receives a trap, it checks the agent address of the trap and checks to see if a model has this IP address associated. Spectrum will process the trap on ALL models if finds that have this IP address.



Spectrum, by default, will check the device once per hour to verify the IP addresses configured and update the deviceIPAddressList attribute as needed. This update is controlled by the deviceIPAddressListPollInt attribute id 0x122d9 which is set to 1 (hour) by default. Setting the deviceIPAddressListPollInt attribute to zero "0" will stop this automatic update process.



So the first step is to tell Spectrum to NOT update the deviceIPAddressList attribute on the models you do not want to process the trap on by setting the value of the deviceIPAddressListPollInt attribute id 0x122d9 on the model to zero "0". This can be done on the individual model by doing the following:



1. Find and select the model



2. Click on the Attribute tab in the Component Detail panel



3. Find and select the deviceIPAddressListPollInt attribute id 0x122d9



4. Change the value to zero "0"



Then, to remove the common IP address from the deviceIPAddressListPollInt attribute of the models you do NOT want to have the trap processed on, use the Command Line Interface (CLI) "update" command. The following is an example of the command to run where <IP> is the common IP address to remove and <MH> is the Model Handle of the model:



 

./update mh=<MH> attr=0x12a53,iid=<Instance ID>,remove



Example:
./update mh=0x10135a3 attr=0x12a53,iid=4.xxx.xxx.xxx.xxx.0.0.0.0.1.1,remove



This will remove the IP address from the deviceIPAddressList attribute and prevent Spectrum from updating the values.