cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

266
Views
10
Helpful
3
Replies
Beginner

Enabling Logging to SysLog

Hello All,

     I've downloaded 3CDaemon and actually, I adore it .. Now, I need to enable the SysLog and let all devices on the network dump the logs on it.

I have 2 Routers, 2 Switches, 2 APs and 20 IP Phones. Which of these devices can communicate with the SysLog Server? And how to achieve that?

Thanks!

Everyone's tags (1)
3 REPLIES 3
Participant

Enabling Logging to SysLog

Basically syslog configuration is very easy with logging host x.x.x.x. But more options that you need to be aware of.

1)Router# configure terminal--Enters global configuration mode.

2)Router(config)# service timestamps type datetime [msec] [localtime] [show-timezone]--Instructs the system to timestamp syslog messages;

3)Router(config)#logging host--Tells the syslog server by IP address or host name; multiple servers also can be specified.

4)Router(config)# logging trap level--severity level. The possible values for level are as follows:Use the debug level with caution, because it can generate a large amount of syslog traffic in a busy network

Emergency-0

Alert-1

Critical-2

Error- 3

Warning- 4

Notice- 5

Informational- 6

Debug- 7

Router# show logging--Showslogging configuration.

Beginner

Enabling Logging to SysLog

Thanks for the reply. I will apply the config on one of my devices and monitor the syslog and will comeback to you.

For the debugging level, is it better to have it 4 or 5?

Router#conf t

Router(config)#service timestamp type datetime msec

Router(config)#logging host 10.10.10.10

Router(config)#logginh trap level-security 4

Is the above correct?

Highlighted
Participant

Enabling Logging to SysLog

Check this link out for more details.

http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_09.html#wp1015177

--Pls rate if this was helpful--

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards