Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Configure Syslog logging Router

Hello Experts,

I can't get my router to log or syslog to a freeware KiwiSyslog monitoring software.

1- I can ping the syslog server from the router

2- The KiwiSyslog logs PIX syslog with no problem

3- This is the configuration I have on the router:

Router(config)# logging on

Router(config)# logging 1.1.1.1

Router(config)#logging trap informational

a- Router(config)# clock timezone CST -6

b- Router# clock set 10:50:00 Dec 26 2007

I'm puzzled experts..please help

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Configure Syslog logging Router

1. This is sufficient for performing a packet capture, yes.

2. Simply enter config mode on the router, then exit, and a %SYS-5-CONFIG_I syslog message will be generated:

Router#config t

Router(config)#end

By default, IOS will send the syslog message using the local7 facility.

4 REPLIES
Cisco Employee

Re: Configure Syslog logging Router

Enable a packet capture on the server side to see if the syslog UDP packets are reaching the server.

You can also try generating a syslog message with debug enabled to see if the message is getting sent.

New Member

Re: Configure Syslog logging Router

Hi Davistan,

Thanks for the response.

1- To enable packet capture you mean a snifer like Wireshark/Ethereal?

2- How do I generat a syslog message with debug from the router?

I tried this command on the router and it didn't work: logging trap debug

(Side Note: If I use KiwiSyslogGenerator it works fine)

Cisco Employee

Re: Configure Syslog logging Router

1. This is sufficient for performing a packet capture, yes.

2. Simply enter config mode on the router, then exit, and a %SYS-5-CONFIG_I syslog message will be generated:

Router#config t

Router(config)#end

By default, IOS will send the syslog message using the local7 facility.

New Member

Re: Configure Syslog logging Router

Thanks.

I added this to the router as well:

logging facility syslog

added the "log" to the acl and bingo everything working.

Thanks!

406
Views
0
Helpful
4
Replies
CreatePlease to create content