Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

SNMP Traps vs. SYSLogs

I am about to kick off a new project, and would like an opinion whether one would provide more (useful info) vs the other. Is there an advantage if we go only snmp traps or only syslog messages.

Thanks

John

1 REPLY
Bronze

Re: SNMP Traps vs. SYSLogs

It really depends on your needs and limitations.

Luckily both SNMP traps and syslog messages are UDP based. SNMP traps: the black sheep of the SNMP PDU's operates on port 162. Syslog on port 514. In a Cisco based network syslog can become very chatty. It depends on the syslog level specified in the router/switch configuration. Imagine a access layer router sending level 7 syslog messages. Can be a bit overwhelming. SNMP traps rely on the agent within the router. Some agents extensive and detailed and some are very plain. From a "useful info" perspective they compete very strong against each other, which is why Ciscoworks uses both of them for consildated inventory and fault analisys.

For usefulness I suggest syslog, due to those levels I spoke about earlier.

97
Views
0
Helpful
1
Replies
CreatePlease to create content