cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2146
Views
0
Helpful
3
Replies

question on how to enable logging on a Cisco 2851 Router

danny.lee
Level 1
Level 1

Hi,

Network newbie here asking an embarrassing question on logging  We have a Cisco router with the following IOS version.  I want to enable logging; so do I need to configure event-log enable before adding the following logging configuration?

Cisco 2851 (revision 53.51) with 770048K/16384K bytes of memory.

xxxxxxxx#event-log ?

Processor board ID FTX1008C073

calibrate       Calibrate the platform clock

2 Gigabit Ethernet interfaces

circular       Enable/disable circular event log

32 Serial interfaces

disable         Disable event logging

1 terminal line

enable         Enable event logging

4 Channelized E1/PRI ports

init           (Re)Initialize event logging data structures

1 Virtual Private Network (VPN) Module

mark           Add a mark to the event log

1 cisco service engine(s)

platform-ticks Enable/disable platform ticks for clock

DRAM configuration is 64 bits wide with parity enabled.

save           Save event log to tftp host as elog.out

239K bytes of non-volatile configuration memory.

timelog         Time logging of 1000 events

62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

logging buffered 5000000

no logging console

no logging monitor

logging trap warnings

logging source-interface Loopback0

logging xxxxxxxx logging buffered 5000000
no logging console
no logging monitor
logging trap warnings
logging source-interface Loopback0
logging xxxxxxxx

1 Accepted Solution

Accepted Solutions

hi there,

conf t

logg buff 50000 warnings ! This is the most info you can get

end

wr

!

show logg ! this command is for buffered logs.

I would change the dimension of the buffered logs because 5 MB are never useful on the router. better 50kb if you really want to have a lot of info

.

http://www.cisco.com/en/US/docs/ios/12_3/switch/command/reference/swi_e1.html#wp1098441

here something about an event-log option command

and here something more aout the logging command:

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

hope to answer

Alessio

View solution in original post

3 Replies 3

hi there,

conf t

logg buff 50000 warnings ! This is the most info you can get

end

wr

!

show logg ! this command is for buffered logs.

I would change the dimension of the buffered logs because 5 MB are never useful on the router. better 50kb if you really want to have a lot of info

.

http://www.cisco.com/en/US/docs/ios/12_3/switch/command/reference/swi_e1.html#wp1098441

here something about an event-log option command

and here something more aout the logging command:

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

hope to answer

Alessio

Hi Alessio,

Thanks for the quick reply.  One more newby question; just what exactly does event-log do?  I tried to google it and can't find a good answer

Hi Alessio,

Please disregard my pevious question, as  i didn't see the links to event-log and logging commands.  Once again thanks for your help.

Regards,

Dan Lee

Review Cisco Networking products for a $25 gift card