File Show - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

file show

Syntax
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
Output Fields
file show
file show
file show
(Routing Matrix)
Copyright © 2010, Juniper Networks, Inc.
file show filename
<encoding (base64 | raw)>
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Display the contents of a file.
filename
—Name of a file. For a routing matrix, the filename must include the chassis
information.
—(Optional) Encode file contents with base64 encoding or show
encoding (base64 | raw)
raw text.
maintenance
file show on page 689
file show (Routing Matrix) on page 689
When you enter this command, you are provided feedback on the status of your request.
user@host> file show /var/log/messages
Apr 13 21:00:08 romney /kernel: so-1/1/2: loopback suspected; going to standby.
Apr 13 21:00:40 romney /kernel: so-1/1/2: loopback suspected; going to standby.
Apr 13 21:02:48 romney last message repeated 4 times
Apr 13 21:07:04 romney last message repeated 8 times
Apr 13 21:07:13 romney /kernel: so-1/1/0: Clearing SONET alarm(s) RDI-P
Apr 13 21:07:29 romney /kernel: so-1/1/0: Asserting SONET alarm(s) RDI-P
...
user@host> file show lcc0-re0:/var/tmp/.gdbinit
lcc0-re0:
--------------------------------------------------------------------------
####################################################################
# Settings
####################################################################
set print pretty
####################################################################
# Basic stuff
####################################################################
define msgbuf
printf "%s", msgbufp->msg_ptr
end
# hex dump of a block of memory
# usage: dump address length
define dump
p $arg0, $arg1
set $ch = $arg0
set $j = 0
set $n = $arg1
Chapter 36: Operational Commands for System Monitoring
689

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents