Using Output Redirects - Siemens RUGGEDCOM ROX II User Manual

Cli
Hide thumbs Also See for RUGGEDCOM ROX II:
Table of Contents

Advertisement

RUGGEDCOM ROX II
CLI User Guide
Section 2.6.5

Using Output Redirects

Information returned from a CLI term can be processed in various ways using an output redirect term. To specify
an output redirect, type | after the CLI term and then type the redirect term. To display the available redirects,
type | ? after a CLI term. For example:
ruggedcom# show admin | ?
Possible completions:
append
Append output text to a file
begin
Begin with the line that matches
count
Count the number of lines in the output display
exclude
Exclude lines that match
include
Include lines that match
linnum
Enumerate lines in the output
more
Paginate output
nomore
Suppress pagination
notab
Suppress table output
repeat
Repeat show term with a given interval
save
select
tab
until
Parameter
append
Using Output Redirects
Save output text to a file
Select additional columns
Enforce table output
End with the line that matches
Description
Appends the output text to a specified ASCII text file.
For example, running these two terms appends the admin and
chassis information to the specified file:
ruggedcom# show admin | append foo.txt
ruggedcom# show interface | append foo.txt
The resulting file contains the results of show interface appended to
the results of show admin (lines truncated with ... are shortened for
illustrative purposes only):
ruggedcom# file show-config foo.txt
admin
time
gmtime
"Wed Oct 22 20:05:50 2014"
localtime "Wed Oct 22 16:05:50 2014"
rox-imaging
roxflash-progress
phase
Inactive
status message ""
image flashing 0
netconf
statistics
in bad hellos
0
in sessions
0
dropped sessions
0
in rpcs
0
in bad rpcs
0
out rpc errors
0
out notifications 0
alarms
active-alarms chassis 11 1
severity
notice
description
"Line Module with serial number
L15R-1710-PR002 in slot lm4 is i
nserted or up"
Chapter 2
Using RUGGEDCOM ROX II
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1512Rx1501Rx1510Rx1511

Table of Contents