Navigation
Supported Platforms
Junos OS System Log Configuration Statements
To configure the switch to log system messages, include the syslog statement at the [edit system] hierarchy level:
[edit system]
syslog {archive <files number> <size size> <world-readable | no-world-readable>;console {facility severity;}file filename {facility severity;archive <archive-sites (ftp-url <password password>)> <files number> <size size> <start-time "YYYY-MM-DD.hh:mm"> <transfer-interval minutes> <world-readable | no-world-readable>;explicit-priority;match "regular-expression";structured-data {brief;}}host hostname {facility severity;explicit-priority;facility-override facility;log-prefix stringmatch "regular-expression";}source-address source-address;time-format (year | millisecond | year millisecond);user (username | *) {facility severity;match "regular-expression";}}