cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
994
Views
4
Helpful
4
Replies

Generate a Syslog message on a 6500

Ok so I am trying to create a syslog entry to test with. I want to be able to see this entry in the syslog when ever I do command X. An example would be "SYS-1-SYS_SCHEDRESETCANCEL:Scheduled reset cancelled by user" where I did a reset cancel, but would prefer something less drastic then having to fake a reload each time I test. Does anyone know of a command that can create this log message on demand?

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

Marcus

Perhaps I am not understanding your question so very well. It seems that you are asking for some relatively benign way to generate a syslog message so that you can test something about syslog. If that is the case then I would suggest this:

config t

end

doing that will generate a syslog message and will have no other effect on the router.

If that answer does not address your real question then please clarify it and help me understand better what it is that you need.

HTH

Rick

HTH

Rick

You are correct, I need to generate a syslog entry. I forgot to mention that this is a CatOS switch, so no conf t. Can you think of another command that would create a benign log entry?

Marcus

On the 6500s at a customer site we get a syslog message generated if someone fails to authenticate when logging in by telnet or fails to authentiate to enable mode. These are MGMT-5-LOGIN_FAIL and MGMT-5-ENABLE_FAIL messages. I am not sure which logging facility you might need to tweak to make sure that you get them (probably it is mgmt but it might be security or tac).

HTH

Rick

HTH

Rick

Yup once I fixed the logging settings that worked for me.

Thanks.