[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • Last Modified:

Cisco logging command

On a 3560 switch I want to disable logging for

I do the following:
router# show snmp

SNMP Logging: enabled
Logging to, 0/10, 17 sent, 0 dropped.
Logging to, 0/10, 165 sent, 0 dropped.

I then do the following:
router<config>#no logging
Host not found for logging

How can no logging be found when it says before there is logging for this host? I would like to remove it.
1 Solution
There's different types of logging servers. The one you want to remove is for SNMP logging but the command you're using is for removing a syslog server.
At the prompt, enter:
show snmp host

For host, make a note of the word or string after user:
Enter configuration mode and enter:
no snmp-server host <string>

where <string> was whatever was after user:

Enter end and save configuration.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now