Pipe/Count - Alcatel-Lucent 7450 Basic System Configuration Manual

Ethernet service switch /service router /extensible routing system
Hide thumbs Also See for 7450:
Table of Contents

Advertisement

Entering CLI Commands

Pipe/Count

The SR OS supports a pipe/count command (...| count) that provides a count of the number
of lines that would have otherwise been displayed. The pipe/count command is particularly
useful when used in conjunction with the pipe/match command in order to count the number
of output lines that match a specified pattern.
For example:
*A:dut-c# show service service-using vprn
===============================================================================
Services [vprn]
===============================================================================
ServiceId
34
Table 9: Regular Expression Symbols (Continued)
String
Description
>
Redirect output
Options
[:upper:]
[:lower:]
[:alpha:]
\w
[:alnum:]
[:digit:]
\d
[:xdigit:]
[:punct:]
[:blank:]
[:space:]
\s
Type
Table 10: Special Characters
Similar to
Description
[A-Z]
uppercase letters
[a-z]
[A-Za-z]
upper- and lowercase letters
[A-Za-z_]
word characters
[A-Za-z0-9]
digits, upper- and lowercase letters
[0-9]
digits
[0-9]
digits
[0-9A-Fa-f]
hexadecimal digits
[.,!?:...]
punctuation
[ \t]
space and TAB
[ \t\n\r\f\v]
blank characters
[ \t\n\r\f\v]
blank characters
Adm
Opr
CustomerId Service Name
Basic System Configuration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

77507950

Table of Contents