EasyManua.ls Logo

Nokia 7705 - 3.7.7 Pipe;Match

Nokia 7705
538 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CLI Usage
38
Basic System Configuration Guide
3HE 11010 AAAC TQZZA Edition: 01
3.7.7 Pipe/Match
The 7705 SAR supports the pipe/match (...| match) feature to search one or more
files for a specified character string or pattern.
Match syntax:
match pattern context {parents | children | all} [ignore-case] [max-count lines-count] [expression]
match pattern [ignore-case] [invert-match] [pre-lines pre-lines] [post-lines lines-count] [max-count
lines-count] [expression]
where:
pattern: a string or regular expression (maximum 200 characters)
context: displays the context associated with the matching line
parents: displays the parent context information
children: displays the child context information
all: displays both parent and child context information
ignore-case: ignores the case in the string (uppercase or lowercase)
max-count lines-count: displays the matching lines, up to the specified number
(1 to 2147483647)
expression: the pattern is interpreted as a regular expression
invert-match: displays all the lines that do not contain the string specified in
pattern
pre-lines pre-lines: displays the lines prior to the matching line, up to the specified
number (0 to 100)
post-lines lines-count: displays the lines after the matching line, up to the
specified number (1 to 2147483647)
For example:
*A:ALU-12# show service sap-using | match 1/1 pre-lines 10
===============================================================================
Service Access Points
===============================================================================
PortId SvcId Ing. Ing. Egr. Egr. Adm Opr
QoS Fltr QoS Fltr
-------------------------------------------------------------------------------
1/1/1:333 111 1 none 1 none Up Up
1/1/1:444 111 1 none 1 none Up Up
1/1/9:10 200 1 none 1 none Up Up
1/1/9:11 200 1 none 1 none Up Up
1/1/9:12 200 1 none 1 none Up Up
1/1/9:13 200 1 none 1 none Up Up
1/1/9:14 200 1 none 1 none Up Up
1/1/9:15 200 1 none 1 none Up Up
A:ALU-12# show log log-id 98 | match ignore-case "sdp bind"
"Status of SDP Bind 101:1002 in service 1001 (customer 1)changed to admin=up oper=up
flags="
"Processing of a SDP state change event is finished and status of all affected SDP

Table of Contents

Other manuals for Nokia 7705

Related product manuals