02-06-2012 02:33 AM - edited 03-07-2019 04:44 AM
Hi there.
I'm looking to configure a syslog server for all of my cisco device logging. I've had a look at CNA and can't find any options to define a syslog server for my switches.
What's the best way to define a syslog server and the severity of the notifications? Also, i'm looking to clear all previous Syste mmessages fon my devices?
Thanks,
J,
Solved! Go to Solution.
02-06-2012 03:23 AM
Hello,
You just configure the following commands.
Switch(conf)#logging trap notifications
Switch(conf)#logging host A.B.C.D
HTH,
Toshi
02-06-2012 03:23 AM
Hello,
You just configure the following commands.
Switch(conf)#logging trap notifications
Switch(conf)#logging host A.B.C.D
HTH,
Toshi
02-06-2012 05:50 AM
You configure it pretty much as Thotsaphon said.
Search for Kiwi Syslog Server, it's made by Solarwinds, and is a pretty decent free Syslog Server.
There are also different levels with syslog messages.
0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages
Which ever one you choose, it will include all the levels above it. For example, if you chose Informational, it will also include Notice, warning, Error, Critical, Alert and Emergency. I always choose warning.
02-07-2012 04:11 AM
Thanks guy's.
I've configured rsyslog and log analyzer on my *nix server and will look to send logs there.
02-10-2012 08:28 AM
Hi Jamie,
Take a look at my WP published here:
http://www.cisco.com/en/US/technologies/collateral/tk869/tk769/white_paper_c11-557812.html
That should help you with everything you need to get syslog management going in your environment :-)
10-26-2012 04:07 AM
Hi Clayton,
I want to enable logging to syslog to custom port say UDP 513. is there any way please help?
Regards,
Karthik
10-26-2012 07:08 AM
Hi Karthik,
There are a logging command parameters like the following "logging host 209.165.201.1 transport udp port 601" but it is not available on all platforms, e.g. 2960 switches do not support it. Same for 3750, I believe.
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide