Solved

Cisco 3825: how to check log file?

Posted on 2011-02-24
10
1,343 Views
Last Modified: 2012-05-11
The router shut down unexpectedly last night. I wanted to check what was wrong in the log in SDM. But it seems it's not supported in this IOS (c3825-ipbase-mz.124-3g.bin).... how is that possible? logging is basic feature in every router... is there way I can check what was wrong?
logging.jpg
0
Comment
Question by:okamon
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34971059
The strange thing is that when I look at the picture it says NAC unavailable, not logging (?)
0
 
LVL 18

Expert Comment

by:jmeggers
ID: 34971130
Can you get to the CLI and do "show log"?
0
 
LVL 12

Assisted Solution

by:jjmartineziii
jjmartineziii earned 266 total points
ID: 34971778
the "show logging" command shows the current log. unfortunately, unless you setup syslog to an external destination, the logs are cleared after every reboot.

if you run a syslog server, set it up to send those message to your server so you can view them next time it restarts/
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:okamon
ID: 34971838
what is syslog?? and are you saying the cisco router doesn't have the ability to log events? Or because my IOS doesn't have this ability?
0
 
LVL 12

Assisted Solution

by:jjmartineziii
jjmartineziii earned 266 total points
ID: 34971904
"Centralizing log messages to a syslog server can improve the managability of any size network and can decrease response times to resolve problems. Sending router log messages to a remote server also allows longer archiving of messages than in a router’s limited storage. Messages stored by syslog have permanence that a router doesn’t. When a router is reloaded or power cycled, the messges in its log are erased. This recipe describes the configuration steps required to make a router send messages to a remote syslog server.

To send messages to the syslog server at 192.168.51.4, use this command from enable mode:

conf t
logging 192.168.51.4

The remote server must, of course, be configured to act as a syslog server and accept messages from the router."

logging is a basic function of any IOS version.

http://www.tech-recipes.com/rx/1433/configure-cisco-router-to-send-messages-to-remote-syslog-server/
0
 
LVL 34

Accepted Solution

by:
Istvan Kalmar earned 134 total points
ID: 34972841
all cisco devices supporting log

you need to enable the following
service timestamps debug datetime msec
service timestamps log datetime msec
logging buffered 16384
ntp server 148.6..0.1

For more information:

http://www.techrepublic.com/article/get-to-know-your-logging-options-in-the-cisco-ios/6084442
0
 

Author Comment

by:okamon
ID: 34973132
>>all cisco devices supporting log

by default it's disabled? do I just type show log in CLI?
0
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 34973140
yes, it was already mentioned twice
0
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 34973155
and no its not disabled by default. it erases when the router reloads. you said it reloaded unexpectedly so then the router lost the log.

if you dont want to lose the file on a reload, you need to set up the router to send those log messages to a syslog server. there are two posts on how to do that.
0
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 34976868
you able to log buffer with type CLi to 'sh log'
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Receiving wifi on an underground station 22 123
SonicWall NSA 3600, Geo-IP Filter & blocking sites 2 69
Home internet speed 20 44
VPN Server config in Modem 5 65
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question