Generate a Syslog message on a 6500

Unanswered Question
Sep 30th, 2008
User Badges:

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?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Richard Burts Tue, 09/30/2008 - 17:34
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

marcus.josephso... Wed, 10/01/2008 - 07:36
User Badges:

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?



Richard Burts Wed, 10/01/2008 - 11:07
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Actions

This Discussion