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?
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.

Hi Ivan,
ReplyDeleteThe 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
I would work around that (if necessary). No HTTP traffic (not even the initial TCP SYN packet) was sent from the router.
ReplyDeleteI can confirm that this doesn't work on c1841-spservicesk9-mz.124-24.T :'(
ReplyDeleteIvan-
ReplyDeleteDid you ever figure this one out ? Btw, where is XML (mentioned in the title) here ?
brgds
BV
No.
ReplyDelete