Solved

Cisco 3825: how to check log file?

Posted on 2011-02-24
10
1,341 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IPv6 question 1 32
Linksys e2500 wireless router - should I upgrade 6 44
Use packet tracer to verify anyconnect VPN 11 59
Hit router interface limit 7 37
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
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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…
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…

856 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