syslog
Syntax
syslog {archive {(binary-data | no-binary-data);files number;size maximum-file-size;start-time "YYYY-MM-DD.hh:mm";transfer-interval minutes;(world-readable | no-world-readable);}console {facility severity;}file filename {facility severity;explicit-priority;match "regular-expression";archive {(binary-data | no-binary-data);files number;size maximum-file-size;start-time "YYYY-MM-DD.hh:mm";transfer-interval minutes;(world-readable | no-world-readable);}structured-data {brief;}}host (hostname | other-routing-engine
| scc-master) {facility severity;explicit-priority;facility-override facility;log-prefix string;match "regular-expression";source-address source-address;structured-data {brief;}port port number;}log-rotate-frequency frequency;source-address source-address;time-format (millisecond | year | year millisecond);user (username | *) {facility severity;match "regular-expression";}} Hierarchy Level
[edit logical-systems logical-system-name system],[edit system]
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.
Support at the [edit logical-systems logical-system-name system] hierarchy level introduced in Junos OS Release 11.4.
Description
Configure the types of system log
messages to log to files, a remote destination, user terminals, or
the system console.
The remaining statements are explained separately.
Required Privilege Level
system—To view this statement
in the configuration.
system-control—To add this statement to the
configuration.
Published: 2012-03-26