cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
660
Views
0
Helpful
2
Replies

How to control SNMP host log level on

rudimocnik
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

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:

https://community.cisco.com/t5/networking-documents/how-to-configure-logging-in-cisco-ios/ta-p/3132434

HTH

 

 

View solution in original post

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

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:

https://community.cisco.com/t5/networking-documents/how-to-configure-logging-in-cisco-ios/ta-p/3132434

HTH

 

 

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 ..."

 

 

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: