Different Source Address for a SNMP trap paquet

Unanswered Question
Jun 7th, 2010
User Badges:

We use a common platform to manage the CISCO routers for several customers. We are using to manage the devices w/ a loopback address as source of snmp paquet.

We use something like this ...

Router(config)#snmp-server host ORATRAP

Router(config)#snmp-server trap-source loopback0


Now, there is some customers that request us to receipt the snmp-traps w/ an ip source of their own ip space (192.168.2.x/24).

I cannot imagine how this can be achieve?... Please any idea?. Thks. Eduard.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Mon, 06/07/2010 - 22:26
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You would need to change the config to have the source address be the customer's IP (the device can only send traps from one source IP).  Another option (if possible for you) is to use an external host which can receive the trap sourced from the loopback, then resend it to the customer's manager with their desired source address.  You can do this with something like Net-SNMP's snmptrap command.

eterrades Tue, 06/08/2010 - 07:34
User Badges:

Thks., for your help. This is important matter to us. We also working in the idea of snmp track collector close to our own NMC... but this may cost also money... . So, we are going to try another approach first..

Somewhat like this below....

snmp-server enable traps

snmp-server informs

snmp-server source-interface traps

snmp-server source-interface informs

snmp-server host traps version 1 community string publicCust

snmp-server host informs version 2 community string publicBT

For the get's every MNC sends to the declared IP, so We thing that will use the same IP in answer.

I will let you know. Eduard.


This Discussion