|
|
Re: [cisco-ttl] sh logging
From: murat YILDIRIM <muratymurat_at_....>
Date: Sat, 25 Apr 2009 13:23:21 -0700 (PDT)
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
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
> From: MustafaOner_at_hsbc.com.tr <MustafaOner_at_hsbc.com.tr> This archive was generated by hypermail 2.2.0 : Sat Apr 25 2009 - 22:39:37 CEST |