Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Logging and SNMP difference

Hi

Can anyone explain me the differnces among them.As per my understanding SNMP is used to send snmp traps to the NMS.

Please help on this issue.

Thanks

Mahmood

2 REPLIES

Re: Logging and SNMP difference

Hi there,

This all depends on your setup. If you're logging to host, then it will send the system messages that you have specified in the logging "level" - ranging from 0 - 7 (informational to debug), 7 being the highest.

SNMP traps are a different thing. They will fire off a trap to a host when an event happens or a threshold is reached.

They are similar in that if an interface goes down, then the node will log a syslog event and send a trap (if configured to do so). However, the log message will be a message and the snmp trap will send a trap including the OID (object identifier).

You can do a LOT more with snmp than you can with log messages, such as send messages when an interface hits more than 50% load, etc.

Oh - there is a command so that you can send log messages as snmp traps too ;-)

Hope that helps a bit,

LH

Please rate all posts

Community Member

Re: Logging and SNMP difference

Hi,

SNMP is the Simple Network Management Protocol.The SNMP protocol is used by network management systems to communicate with network elements.

Every Time when a incident happen, all are logged in the local Device. These logs can also be sent to a seperate syslog server.

Regards

Daniel Massey

770
Views
5
Helpful
2
Replies
CreatePlease to create content