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 showlog-file-pathnameBy 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
re0orre1and a colon. The following examples both display the/var/log/messagesfile stored on the Routing Engine in slot1:user@host>show log re1:messagesuser@host>file show re1:/var/log/messagesFor information about the fields in a log message, see Interpreting System Log Messages. For examples, see Examples: Displaying a Log File.