09-05-2012 08:56 AM - edited 03-04-2019 05:29 PM
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
Solved! Go to Solution.
09-05-2012 09:04 AM
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
09-05-2012 09:04 AM
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
09-05-2012 09:08 AM
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
09-05-2012 09:10 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide