Siemens RUGGEDCOM ROX II User Manual page 75

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

Advertisement

RUGGEDCOM ROX II
CLI User Guide
repeat
Repeat show term with a given interval
save
select
tab
until
Parameter
append
begin
count
Using Output Redirects
Save output text to a file
Select additional columns
Enforce table output
End with the line that matches
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
localtime "Wed Oct 22 16:05:50 2014"
rox-imaging
roxflash-progress
netconf
statistics
alarms
active-alarms chassis 11 1
slot lm4 is i
nserted or up"
Begins the output with the line containing the specified text. Regular expressions can
be used with this redirect. For more information about regular expressions, refer to
Section 2.5.7, "Using Regular
For example, show admin | begin netconf returns all of the admin information
following the netconf line:
ruggedcom# show admin | begin netconf
netconf
statistics
bad rpcs 0 in not...
Displays the number of lines returned by the term.
For example, show admin | count shows the number of lines in the admin information.
ruggedcom# show admin | count
Count: 9 lines
"Wed Oct 22 20:05:50 2014"
phase
Inactive
status message ""
image flashing 0
in bad hellos
0
in sessions
0
dropped sessions
0
in rpcs
0
in bad rpcs
0
out rpc errors
0
out notifications 0
severity
notice
description
"Line Module with serial number L15R-1710-PR002 in
Expressions".
in sessions 0 in xml parse errs 0 in bad hellos 0 in rpcs 0 in
Using RUGGEDCOM ROX II
Description
Chapter 2
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents