Improve company productivity with a Business Account.Sign Up

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

syslog configure on Cisco



- 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
rotaris357
Asked:
rotaris357
1 Solution
 
mbrunerCommented:
This should work for you:

logging on
logging trap debugging
logging <ip_address_of_syslog_server>

Hope it helps.
0
 
lrmooreCommented:
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
 
mbrunerCommented:
This should work for you:

logging on
logging trap debugging
logging <ip_address_of_syslog_server>

Hope it helps.
0
 
svindlerCommented:
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
 
rotaris357Author Commented:
Thanks , Irmoore , I'll do it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now