cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
417
Views
9
Helpful
3
Replies

Syslog

tech_trac
Level 1
Level 1

hi,

What is the difference between syslog and snmp traps.

Is 'logging host' command used for both syslog and snmp traps.

3 Replies 3

Collin Clark
VIP Alumni
VIP Alumni

A syslog entry is generated by the device as a notification of something happening on the system. An example is that a NAT translation was created.

An SNMP trap is a log entry that is generated by the system that maps from a MIB. An example is a BGP session went down (which may or may not also be a syslog entry). Typically you use traps if you need something specific to be logged.

The logging host can used for both.

Hope that helps.

How can I distinguish a syslog from an snmp trap on the logger where both the information is stored.

Thanks.

A syslog will have a code associated with it-

%PIX|ASA-3-105010

I believe the snmp trap will have just a number-

952376318

You could also search your logs on the keyword 'Trap'

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a0080094a13.shtml

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card