Re: [cisco-ttl] sh logging

From: murat YILDIRIM <muratymurat_at_....>
Date: Sat, 25 Apr 2009 13:23:21 -0700 (PDT)


Merhaba

Asagida yazili olan metni okursan sana yardimci olacaktir. Local datetime ile alakali bu aslinda sorun degil.

service timestamps log datetime localtime show-timezone

Time stamps can be added to either debugging or syslog messages independently. The uptime keyword adds time stamps in the format hhhh:mm:ss, indicating the elapsed time in hours:minutes:seconds since the networking device last rebooted. The datetime keyword adds time stamps in the format mmm dd hh:mm:ss, indicating the date and time according to the system clock. If the system clock has not been set, the date and time are preceded by an asterisk (*), which indicates that the date and time have not been set and should be verified.

Although both the no form of the command and the disable keyword disable the functionality of the command, we recommend that you use the disable keyword. The command with the disable keyword is stored in the configuration file, but the no form of a command is not.

Entering the service timestamps form of the command without any keywords or arguments is equivalent to issuing the service timestamps debug uptime form of the command.

Examples
The following example shows how to enable time stamps on debugging messages, which show the elapsed time since the networking device last rebooted:

RP/0/RP0/CPU0:router(config)# service timestamps debug uptime The following example shows how to enable time stamps on syslog messages, which show the current time and date relative to the local time zone, with the time zone name included:

RP/0/RP0/CPU0:router(config)# service timestamps log datetime localtime show-timezone

  • On Fri, 4/24/09, MustafaOner_at_hsbc.com.tr <MustafaOner_at_hsbc.com.tr> wrote:

> From: MustafaOner_at_hsbc.com.tr <MustafaOner_at_hsbc.com.tr>
> Subject: [cisco-ttl] sh logging
> To: cisco-ttl_at_yahoogroups.com
> Date: Friday, April 24, 2009, 11:51 AM
> Merhabalar,
>
> show logging çıktılarının başındaki "*"
> veya "." nın ne manaya geldiğini
> bilen varsa bilgilendirme yapabilirmi ?
>
> Teşekkürler,
>
>
>
> ------------------------------------
>
> --
> Cisco Teknik Tartisma Listesi (Cisco-ttl)
>
> Bu listede onerilen degisikliklerin uygulanmasindaki tum
> sorumluluk
> kullaniciya aittir. Liste yoneticileri, oneride bulunan
> liste uyeleri ya da
> bu uyelerin calistigi kuruluslar herhangi bir sekilde
> sorumlu tutulamazlar.Yahoo! Groups Links
>
>
>
       Received on Sat Apr 25 2009 - 22:39:36 CEST

This archive was generated by hypermail 2.2.0 : Sat Apr 25 2009 - 22:39:37 CEST


Sponsor: Ilker Temir