Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Different Source Address for a SNMP trap paquet

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.

Cisco Employee

Re: Different Source Address for a SNMP trap paquet

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.

New Member

Re: Different Source Address for a SNMP trap paquet

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.

CreatePlease login to create content