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

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

Cisco logging command

On a 3560 switch I want to disable logging for 10.1.10.39

I do the following:
router# show snmp

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

I then do the following:
router<config>#no logging 10.1.10.39
Host 10.1.10.39 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.
Thanks!
0
tolinrome
Asked:
tolinrome
1 Solution
 
FrabbleCommented:
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 10.1.10.39, make a note of the word or string after user:
Enter configuration mode and enter:
no snmp-server host 10.1.19.39 <string>

where <string> was whatever was after user:

Enter end and save configuration.
0

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