I have a 2924-XL-EN with IOS 12.0(5).
I can set it up to send SYSLOG events to my syslog server. However, it is not clear what each level of the LOGGING TRAP means.
SWITCH1(config)#logging trap ? alerts Immediate action needed critical Critical conditions debugging Debugging messages emergencies System is unusable errors Error conditions informational Informational messages notifications Normal but significant conditions warnings Warning conditions
The CLI doesn't seem to accept multiple items. (does it ?)
One of the many ever-so-slightly-different command references for that switch on the cisco web site allodes that having "no logging trap" means you get all possible error messages. But doing so on my switch turns off syslog messages alltogether.
Based on some googling of this newsgroup, I found that some are using "debug". I tried this and then started to see some syslog messages being sent. So I know the path works to the syslog server.
But that doesn't explain the trap options. Are they in some particular order that encompasses the mesages that are "below" it, or are they exclusive of each other and you can only select one level ?
Also, in an interface configuration mode, you can also specify logging of events (interface up, down etc). Does an interface's LOGGING configuration get filtered by the LOGGING TRAP or does it override it ?
I.E. If I set an interface to log up/down events, will they get logged no matter whether the LOGGING TRAP is set to alerts or informational or whatever ?