Syslog Commands
Page 384
7950 SR OS System Management Guide
Values
0 — 23
log-prefix
Syntax
log-prefix log-prefix-string
no log-prefix
Context
config>log>syslog
syslog-id
Description
This command adds the string prepended to every syslog message sent to the syslog host.
RFC3164,
The BSD syslog Protocol,
allows a alphanumeric string (tag) to be prepended to the
content of every log message sent to the syslog host. This alphanumeric string can, for example, be
used to identify the node that generates the log entry. The software appends a colon (:) and a space to
the string and it is inserted in the syslog message after the date stamp and before the syslog message
content.
Only one string can be entered. If multiple strings are entered, the last string overwrites the previous
string. The alphanumeric string can contain lowercase (a-z), uppercase (A-Z) and numeric (0-9)
characters.
The
no
form of the command removes the log prefix string.
Default
no log-prefix
— no prepend log prefix string defined.
Parameters
log-prefix-string —
An alphanumeric string of up to 32 characters. Spaces and colons ( : ) cannot be
used in the string.
level
Syntax
level syslog-level
no level
Context
config>log>syslog
syslog-id
Description
This command configures the syslog message severity level threshold. All messages with severity
level equal to or higher than the threshold are sent to the syslog target host.
Only a single threshold level can be specified. If multiple levels are entered, the last
level
entered will
overwrite the previously entered commands.
17
local1
18
local2
19
local3
20
local4
21
local5
22
local6
23
local7
Numerical Code
Facility Code
Содержание 7950 SR
Страница 10: ...Page 10 7950 SR OS System Management Guide List of Figures...
Страница 14: ...About This Guide Page 14 7950 SR OS System Management Guide...
Страница 16: ...Alcatel Lucent 7950 SR Router Configuration Process Page 16 7950 SR OS System Management Guide...
Страница 56: ...Configuration Notes Page 56 7950 SR OS System Management Guide...
Страница 88: ...Configuring Login Controls Page 88 7950 SR OS System Management Guide...
Страница 106: ...Security Command Reference Page 106 7950 SR OS System Management Guide...
Страница 206: ...Distributed CPU Protection Commands Page 206 7950 SR OS System Management Guide...
Страница 244: ...Debug Commands Page 244 7950 SR OS System Management Guide...
Страница 254: ...Configuration Notes Page 254 7950 SR OS System Management Guide...
Страница 276: ...SNMP Security Commands Page 276 7950 SR OS System Management Guide...
Страница 296: ...Show Commands Page 296 7950 SR OS System Management Guide...
Страница 322: ...Configuration Notes Page 322 7950 SR OS System Management Guide...
Страница 358: ...Log Management Tasks Page 358 7950 SR OS System Management Guide...
Страница 454: ...Facility Alarm List Page 454 7950 SR OS System Management Guide...
Страница 460: ...Standards and Protocols Page 460 Standards and Protocols...