Solved

syslog configure on Cisco

Posted on 2002-07-05
5
1,086 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
5 Comments
 
LVL 3

Expert Comment

by:mbruner
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks , Irmoore , I'll do it.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now