SNMP over XML over HTTP?

The snmp-server host command in Cisco IOS has an interesting option: you can specify an URL as the destination host, for example: snmp-server host http://1.2.3.4/xxx traps snmpv2c public. However, I was not able to make it work; the router would accept the configuration command, but the outbound HTTP session never starts. Has anyone managed to get this to work? Any ideas what else is required?

3 comments:

Dmitri Kalintsev said...

Hi Ivan,

The trap destination looks like a WebDAV. Maybe this helps you to find what's missing to get it going. With WebDAV a username/password is often required.

-- Dmitri

Ivan Pepelnjak said...

I would work around that (if necessary). No HTTP traffic (not even the initial TCP SYN packet) was sent from the router.

Brad said...

I can confirm that this doesn't work on c1841-spservicesk9-mz.124-24.T :'(

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.