show log
Syntax
show log
<filename | user <username>>
Syntax (TX Matrix
Router)
show log
<all-lcc | lcc number | scc>
<filename | user <username>>
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
List log files, display log file contents, or display information about users who have logged
in to the router or switch.
Options
none
—List all log files.
<all-lcc | lcc
number
| scc>
—(Routing matrix only) (Optional) Display logging information
about all T640 routers (or line-card chassis) or a specific T640 router (replace
number
with a value from
0
through
3
) connected to a TX Matrix router. Or, display
logging information about the TX Matrix router (or switch-card chassis).
filename
—(Optional) Display the log messages in the specified log file. For the routing
matrix, the filename must include the chassis information.
user <
username
>
—(Optional) Display logging information about users who have recently
logged in to the router or switch. If you include
username
, display logging information
about the specified user.
Required Privilege
Level
trace
List of Sample Output
show log on page 852
show log filename on page 852
show log user on page 853
show log
user@host>
show log
total 57518
-rw-r--r-- 1 root bin 211663 Oct 1 19:44 dcd
show log
-rw-r--r-- 1 root bin 999947 Oct 1 19:41 dcd.0
-rw-r--r-- 1 root bin 999994 Oct 1 17:48 dcd.1
-rw-r--r-- 1 root bin 238815 Oct 1 19:44 rpd
-rw-r--r-- 1 root bin 1049098 Oct 1 18:00 rpd.0
-rw-r--r-- 1 root bin 1061095 Oct 1 12:13 rpd.1
-rw-r--r-- 1 root bin 1052026 Oct 1 06:08 rpd.2
-rw-r--r-- 1 root bin 1056309 Sep 30 18:21 rpd.3
-rw-r--r-- 1 root bin 1056371 Sep 30 14:36 rpd.4
-rw-r--r-- 1 root bin 1056301 Sep 30 10:50 rpd.5
-rw-r--r-- 1 root bin 1056350 Sep 30 07:04 rpd.6
-rw-r--r-- 1 root bin 1048876 Sep 30 03:21 rpd.7
-rw-rw-r-- 1 root bin 19656 Oct 1 19:37 wtmp
show log filename
user@host>
show log rpd
Copyright © 2010, Juniper Networks, Inc.
852
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...