Siemens RUGGEDCOM ROX II User Manual page 64

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

Advertisement

Chapter 2
Using RUGGEDCOM ROX II
Parameter
begin
count
exclude
include
linnum
26
Description
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
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...
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
Excludes lines containing the specified text. Information that is a
child of the excluded line is also excluded. Regular expressions
can be used with this redirect. For more information about regular
expressions, refer to
Section 2.6.6, "Using Regular
For example, show admin | exclude netconf shows the admin
information, excluding the netconf lines.
ruggedcom# show admin | exclude netconf
admin
time
gmtime "Tue Feb 15 08:25:27 2011\n" localtime
"Tue Feb 15 03:25:27 2011\n"
software-upgrade
upgrade-progress
software partition "Partition #1" current
version "ROX 2.1.0 (2010-12-03 17:38) ...
statistics
in sessions 0 in xml parse errs 0 in bad
hellos 0 in rpcs 0 in bad rpcs 0 in not...
supported rpcs 0 out rpc replies 0 out rpc
errors 0 out notifications 0
Includes lines containing the specified text. Information that is a
child of the included line is usually included, but may not be in some
cases. Regular expressions can be used with this redirect. For more
information about regular expressions, refer to
Regular
Expressions".
For example, show admin | include time shows the time lines from
the admin information.
ruggedcom# show admin | include time
time
gmtime "Tue Feb 15 08:34:55 2011\n" localtime
"Tue Feb 15 03:34:55 2011\n"
ruggedcom#
Numbers the lines in the output. For example:
ruggedcom# show admin | linnum
1: admin
2:
time
RUGGEDCOM ROX II
CLI User Guide
Section 2.6.6, "Using Regular
Expressions".
Section 2.6.6, "Using
Using Output Redirects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1512Rx1501Rx1510Rx1511

Table of Contents