Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

syslog (System)

 

Syntax

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

IPv6 addresses using dedicated management instance mgmt_junos supported in Junos OS Release 18.1R1.

Description

Configure the types of system log messages to send to files, to a remote destination, to user terminals, or to the system console.

The remaining statements are explained separately.

Options

archiveDefine parameters for archiving log messages. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.
consoleSend log messages of a specified class and severity to the console.
fileSend log messages to a named file. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.
host Remote location to be notified of specific log messages. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.
log-rotate-frequencyConfigure the interval for checking logfile size and archiving messages.
serverEnable a syslog server for compute nodes and VMs in an App Engine.
source-addressInclude a specified address as the source address for log messages. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.
time-formatAdditional information to include in the system log time stamp.
userNotify a specific user of the log event.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.