Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Junos OS 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 or switch console

    [edit system syslog]
    console {facility severity;}

    Remote machine or the other Routing Engine on the router or switch

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

    Published: 2013-01-16