RUGGEDCOM ROX II
CLI User Guide
Chapter 2
Using RUGGEDCOM ROX II
Using Output Redirects
29
repeat Repeat show term with a given interval
save Save output text to a file
select Select additional columns
tab Enforce table output
until End with the line that matches
Parameter
Description
append
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"
begin
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 Expressions”
.
For example,
show admin | begin netconf
returns all of the
admin
information
following the
netconf
line:
ruggedcom# show admin | begin netconf
netconf
statistics
in sessions 0 in xml parse errs 0 in bad hellos 0 in rpcs 0 in
bad rpcs 0 in not...
count
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
Содержание RUGGEDCOM ROX II
Страница 2: ...RUGGEDCOM ROX II CLI User Guide ii ...
Страница 4: ...RUGGEDCOM ROX II CLI User Guide iv ...
Страница 39: ...RUGGEDCOM ROX II CLI User Guide Table of Contents xxxix 19 5 VLANs 752 ...
Страница 40: ...Table of Contents RUGGEDCOM ROX II CLI User Guide xl ...
Страница 46: ...Preface RUGGEDCOM ROX II CLI User Guide xlvi Customer Support ...
Страница 96: ...Chapter 2 Using RUGGEDCOM ROX II RUGGEDCOM ROX II CLI User Guide 50 Accessing Maintenance Mode ...
Страница 170: ...Chapter 5 System Administration RUGGEDCOM ROX II CLI User Guide 124 Deleting a Scheduled Job ...
Страница 256: ...Chapter 6 Security RUGGEDCOM ROX II CLI User Guide 210 Enabling Disabling a Firewall ...
Страница 402: ...Chapter 11 Wireless RUGGEDCOM ROX II CLI User Guide 356 Managing Cellular Modem Profiles ...
Страница 646: ...Chapter 13 Unicast and Multicast Routing RUGGEDCOM ROX II CLI User Guide 600 Deleting a Multicast Group Prefix ...
Страница 732: ...Chapter 15 Network Discovery and Management RUGGEDCOM ROX II CLI User Guide 686 Viewing NETCONF Statistics ...
Страница 790: ...Chapter 17 Time Services RUGGEDCOM ROX II CLI User Guide 744 Deleting a Broadcast Multicast Address ...