Displaying a Log File from a Routing Matrix
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 CLI operational mode, and issue the
show logorfile showcommand described in Displaying a Log File from a Single-Chassis System.To display a log file stored on a T640 routing node during a terminal session on the TX Matrix platform, issue the
show logorfile showcommand and add a prefix that specifies the T640 routing node's LCC index number aslccn, followed by a colon. The index can be from0(zero) through3:user@host>show log lccn:log-filenameuser@host>file showlccn:log-file-pathnameBy default, the
show logandfile showcommands display the specified log file stored on the master Routing Engine on the T640 routing node. To display the log from a particular Routing Engine, prefix the file- or pathname with the stringlccn-master,lccn-re0, orlccn-re1, followed by a colon. The following examples all display the/var/log/messagesfile stored on the master Routing Engine (in slot0) on routing nodeLCC2:user@host>show log lcc2:messagesuser@host>show log lcc2-master:messagesuser@host>show log lcc2-re0:messagesuser@host>file showlcc2:/var/log/messagesIf the T640 routing nodes are forwarding messages to the TX Matrix platform (as in the default configuration), another way to view messages generated on a T640 routing node during a terminal session on the TX Matrix platform is simply to display a local log file. However, the messages are intermixed with messages from other T640 routing nodes and the TX Matrix platform itself. For more information about message forwarding, see Configuring Message Forwarding in the Routing Matrix.
For information about the fields in a log message, see Interpreting System Log Messages. For examples, see Examples: Displaying a Log File.