cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

193
Views
0
Helpful
2
Replies
Highlighted
Beginner

How to control SNMP host log level on

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?

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Expert

Re: How to control SNMP host log level on

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

 

 

2 REPLIES 2
VIP Expert

Re: How to control SNMP host log level on

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

 

 

Beginner

Re: How to control SNMP host log level on

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

 

 

 

 

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards