Solved

syslog configure on Cisco

Posted on 2002-07-05
5
1,092 Views
Last Modified: 2012-05-04


- Which commands on router 2620 I must set for sending Syslog message to any syslog server ?
I use WinSyslog to be syslog server , I cannot get any message from Cisco router at all. How to troubleshoot ?

- Which port does Cisco Router use to connect to SYSLOG Server  ? Can I assign it manually ?

I use command logging a.b.c.d , logging on , logging monitor debugging, logging console debugging on Cisco.
0
Comment
Question by:rotaris357
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Expert Comment

by:mbruner
ID: 7132183
This should work for you:

logging on
logging trap debugging
logging <ip_address_of_syslog_server>

Hope it helps.
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 50 total points
ID: 7132189
Try adding:
logging trap informational

Does your syslog system have a route to the source address of the router? Can you ping all interfaces of the router?
You may need to specify the source address:
To specify the source IP address of syslog packets, use the logging source-interface global configuration command. Use the no form of this command to remove the source designation.

logging source-interface type number

Syslog defaults to UDP port 514. Make sure the server is listening on that port.

0
 
LVL 3

Expert Comment

by:mbruner
ID: 7132387
This should work for you:

logging on
logging trap debugging
logging <ip_address_of_syslog_server>

Hope it helps.
0
 
LVL 4

Expert Comment

by:svindler
ID: 7148490
A comment on lrmoore's suggestion.
It would be a very good idea to use a loopback interface as the source address, as a loopback interface never goes down.
A loopback interface is generally a good thing to have. It is also useful if you run OSPF, ntp and other things.
0
 

Author Comment

by:rotaris357
ID: 7148853
Thanks , Irmoore , I'll do it.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question