cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2597
Views
0
Helpful
3
Replies

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 172.25.1.1 ORATRAP

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

Router(config)#end

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.

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

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.

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.

Did you get any solution for this?