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

Displaying a Log File from a Single-Chassis System

To display a log file stored on a single-chassis system, enter JUNOS 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: 2010-04-28

[an error occurred while processing this directive]