[an error occurred while processing this directive][an error occurred while processing this directive]

JUNOS Software Minimum System Logging Configuration

To record or view system log messages, you must include the syslog statement at the [edit system] hierarchy level. Specify at least one destination for the messages, as described in Table 1. For more information about the configuration statements, see Single-Chassis System Logging Configuration Overview.

Table 1: Minimum Configuration Statements for System Logging

Destination

Minimum Configuration Statements

File

[edit system syslog]file filename {facility severity;}

Terminal session of one, several, or all users

[edit system syslog]user (username | *) {facility severity;}

Router console

[edit system syslog]console {facility severity;}

Remote machine or the other Routing Engine on the router

[edit system syslog]host (hostname | other-routing-engine) {facility severity;}

Published: 2010-04-26

[an error occurred while processing this directive]