Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 Reference Manual page 99

System log messages reference
Table of Contents

Advertisement

Displaying and Interpreting System Log Messages
Displaying a Log File from a Single-Chassis System
Displaying a Log File from a Routing Matrix
Copyright © 2010, Juniper Networks, Inc.
... same statements as for lcc1-re0 ...
}
This section explains how to display a log file and interpret the contents of system log
messages:
For more information about the commands discussed in this section, see the Junos System
Basics and Services Command Reference.
Displaying a Log File from a Single-Chassis System on page 35
Displaying a Log File from a Routing Matrix on page 35
Interpreting System Log Messages on page 36
Format of the message-source Field on page 42
Examples: Displaying a Log File on page 45
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-filename
user@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
or
and a colon. The following examples both display the
re0
re1
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" on page 41, "Interpreting Messages
Generated in Standard Format by Services on a PIC" on page 41, and "Interpreting
Messages Generated in Structured-Data Format" on page 36. For examples, see
"Examples: Displaying a Log File" on page 45.
One way to display a log file stored on the local Routing Engine of any of the individual
platforms in a routing matrix (T640 routing nodes or TX Matrix platform) is to log in to
a Routing Engine on the platform, enter Junos OS CLI operational mode, and issue the
show log
or
file show
command described in "Displaying a Log File from a Single-Chassis
System" on page 35.
To display a log file stored on a T640 routing node during a terminal session on the TX
Matrix platform, issue the
show log
the T640 routing node's LCC index number as lccn, followed by a colon. The index can
be from 0 (zero) through 3:
user@host> show log lccn:log-filename
Chapter 1: Configuring System Log Messages
or
file show
command and add a prefix that specifies
file
/var/log/messages
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.3 - software

Table of Contents