4-15
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 4 Utilities
Managing Syslog
Tip
The optional
msec
,
localtime
,
show-timezone
, and
year
keywords, if present, must be in the order
shown in the command syntax. All keywords up to the last specified keyword must be present
Incorrect:
service timestamps log datetime msec year
Correct:
service timestamps log datetime msec localtime show-timezone year
How to Configure the Syslog Time Stamp Format
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
service timestamps log (uptime | (datetime [msec] [localtime]
[show-timezone] [year]))
and press
Enter
.
How to Restore the Default Syslog Time Stamp Format
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
no service timestamps log
and press
Enter
.
Enabling and Disabling the Syslog Message Counter
By default, the syslog message counter is enabled. You can use this command to disable the syslog
message counter. When it is disabled, no line count appears in the syslog messages.
Disabling the Syslog Message Counter
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
no logging message-counter
and press
Enter
.
Enabling the Syslog Message Counter
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
logging message-counter
and press
Enter
.
Monitoring Syslog
You can display the following Syslog information:
•
Current Syslog server configuration.
•
Syslog counters