08-28-2019 06:02 AM
Hi
I have a Cisco 2960X switch and I want to send syslog to external server. I configured it with
logging host {ip_address}
What level logs are sent to the host by default? Is there a way to change this level?
I cannot find any info on this online. Is this the log level set on console or the buffer perhaps?
Solved! Go to Solution.
08-28-2019 06:40 AM
Hi,
After configuring the syslog server, you need to configure a "logging trap" with a severity level you want if not no messages send.
Have a look at this document for examples:
HTH
08-28-2019 06:40 AM
Hi,
After configuring the syslog server, you need to configure a "logging trap" with a severity level you want if not no messages send.
Have a look at this document for examples:
HTH
08-28-2019 10:44 AM
Hmm this is kinda confusing the "Traps" term being used in regards to syslog as well as SNMP.
By just doing the "logging host" command I believe it enabled Informational level by default and the syslog was already being sent to the remote server. If you want to limit the level you can use the command you suggested "logging trap". When looking at the output of "show logging" it says "Trap logging: level informational ...." and after the "logging trap 3" command it now says "Trap logging: errors ..."
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