User Manual UMN:CLI
V5808
169
7.4 Syslog
The syslog is a function that allows the network element to generate the event notification
and forward it to the event message collector like a syslog server. This function is enabled
as default, so even though you disable this function manually, the syslog will be enabled
again.
7.4.1 Syslog Output Level
Syslog Output Level without a Priority
To set a syslog output level, use the following command.
syslog output {emerg | alert | crit
| err | warning | notice | info |
debug} console
Generates a syslog message of selected level or
higher and forwards it to the console.
syslog output {emerg | alert | crit
| err | warning | notice | info |
debug} local {volatile | non-
volatile}
Generates a syslog message of selected level or
higher in the system memory.
volatile: deletes a syslog message after restart.
non-volatile: reserves a syslog message.
syslog output {emerg | alert | crit
| err | warning | notice | info |
debug} remote {A.B.C.D |
X:X::X:X} [vrf VRFNAME]
Generates a syslog message of selected level or
higher and forwards it to a remote host.
To disable a specified syslog output, use the following command.
no syslog output {emerg | alert | crit | err |
warning | notice | info | debug} console
Deletes a specified syslog output.
no syslog output {emerg | alert | crit | err |
warning | notice | info | debug} local {volatile |
non-volatile}
no syslog output {emerg | alert | crit | err |
warning | notice | info | debug} remote
{A.B.C.D | X:X::X:X}
Syslog Output Level with a Priority
To set a user-defined syslog output level with a priority, use the following command.
syslog output priority {auth | authpriv |
kern | local0 | local1 | local2 | local3 |
local4 | local5 | local6 | local7 | syslog |
user} {emerg | alert | crit | err | warning |
Generates a user-defined syslog message
with a priority and forwards it to the console.