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

    Displaying a Log File from a Single-Chassis System

    To display a log file stored on a single-chassis system, enter Junos OS CLI operational mode and issue either of the following commands:

    user@host> show loglog-filenameuser@host> file show log-file-pathname

    By default, the commands display the file stored on the local Routing Engine. To display the file stored on a particular Routing Engine, prefix the file- or pathname with the string re0 or re1 and a colon. The following examples both display the /var/log/messages file stored on the Routing Engine in slot 1:

    user@host> show log re1:messages user@host> file show re1:/var/log/messages

    For information about the fields in a log message, see Interpreting Messages Generated in Standard Format by a Junos Process or Library, Interpreting Messages Generated in Standard Format by Services on a PIC, and Interpreting Messages Generated in Structured-Data Format. For examples, see Examples: Displaying a Log File.

    Published: 2012-11-15