Solved

syslog configure on Cisco

Posted on 2002-07-05
5
1,093 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
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…
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…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

623 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