4-11
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 4 Utilities
Managing Syslog
Options
The following options are available:
•
hostname
—Logical name of the remote host
•
ip-address
—IP address of the remote host
•
port-number
—Number of the UDP port (1 – 65535)
–
default = 514
How to Add a Remote Syslog Host
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
logging host (
hostname
|
ip-address
) [transport udp [port
port-number
]]
and press
Enter
.
How to Remove a Remote Syslog Host
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
no logging host (
hostname
|
ip-address
)
and press
Enter
.
Configuring the Minimum Severity Level to be Logged to Syslog
By default, all messages are logged to the Syslog server when it is enabled, with the exception of debug
messages. However, you can configure the minimum severity level of the messages to logged to Syslog.
lists the syslog severity levels and the corresponding SCOS severity levels. Not all syslog
severity levels are supported on the Cisco SCE platform.
Table 4-1
Syslog and SCOS Severity Levels
Syslog Severity
Level
SCOS Severity
SCOS Definition
emergency
0
Not defined
SEVERITY_EMERGENCY_LEVEL
alert
1
Not defined
SEVERITY_ALERT_LEVEL
critical
2
Fatal
SEVERITY_FATAL_LEVEL
error
3
Error SEVERITY_ERROR_LEVEL
warning
4
Warning
SEVERITY_WARNING_LEVEL
notice
5
Not defined
SEVERITY_NOTICE_LEVEL
informational
6
Info
SEVERITY_INFORMATIONAL_LEVEL
debug
7
Not defined
SEVERITY_DEBUG_LEVEL