Solved

syslog configure on Cisco

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
home router to use as repeater  (signal extender) 10 36
VOIP: SIP vs. proprietary Broadview Networks Silnet ?? 12 147
ACL Logging Optimization 7 46
Hit router interface limit 7 40
New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

830 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