Output modifier commands

See “Using output modifiers in the MD-CLI” in the 7705 SAR Gen 2 MD-CLI User Guide for more information.

| 
count 
match string
ignore-case boolean
invert-match boolean
max-count number
post-lines number
pre-lines number
no-more 
pyexec (string | reference)
[argument-01] string
[argument-02] string
[argument-03] string
[argument-04] string
[argument-05] string
[argument-06] string
[argument-07] string
[argument-08] string
[argument-09] string
[argument-10] string
repeat 
count number
[interval] number
timestamp 
reverse-dns 
> (cflash-url | ftp-tftp-url)
>> cflash-url

Output modifier command descriptions

|

Synopsis Apply an output modifier
Context |
Tree |
Introduced25.3.R2

Platforms

7705 SAR Gen 2

count

Synopsis Show the line count of the output
Context | count
Treecount
Introduced25.3.R2

Platforms

7705 SAR Gen 2

match [pattern] string

Synopsis Match on a string (") or regular expression (')
Context| match string
Treematch
Introduced25.3.R2

Platforms

7705 SAR Gen 2

[pattern] string
Synopsis String (") or regular expression (') pattern to match
Context| match string
Treematch

Notes

This element is part of a list key.

Introduced25.3.R2

Platforms

7705 SAR Gen 2

ignore-case boolean
Synopsis Ignore case in pattern match
Context | match string ignore-case boolean
Treeignore-case
Defaultfalse
Introduced25.3.R2

Platforms

7705 SAR Gen 2

invert-match boolean
Synopsis Invert the pattern match selection
Context | match string invert-match boolean
Treeinvert-match
Defaultfalse
Introduced25.3.R2

Platforms

7705 SAR Gen 2

max-count number
Synopsis Maximum number of displayed matches
Context | match string max-count number
Treemax-count
Range1 to 4294967295
Introduced25.3.R2

Platforms

7705 SAR Gen 2

post-lines number
Synopsis Number of lines to display following the matched line
Context| match string post-lines number
Treepost-lines
Range0 to 4294967295
Default0
Introduced 25.3.R2

Platforms

7705 SAR Gen 2

pre-lines number
Synopsis Number of lines to display preceding the matched line
Context| match string pre-lines number
Treepre-lines
Range0 to 4294967295
Default0
Introduced 25.3.R2

Platforms

7705 SAR Gen 2

no-more

Synopsis Prevent pagination for the displayed output
Context| no-more
Treeno-more
Introduced25.3.R2

Platforms

7705 SAR Gen 2

pyexec [url] (string | reference)

Synopsis Execute a Python application
Context | pyexec (string | reference)
Treepyexec
Introduced25.3.R2

Platforms

7705 SAR Gen 2

[url] (string | reference)
Synopsis Location of the script to be executed
Context| pyexec (string | reference)
Treepyexec

Reference

state python python-script name

Notes

This element is part of a list key.

Introduced25.3.R2

Platforms

7705 SAR Gen 2

[argument-07] string
Synopsis Seventh argument
Context | pyexec (string | reference) [argument-07] string
Tree[argument-07]
Introduced25.3.R2

Platforms

7705 SAR Gen 2

repeat

Synopsis Repeat the command
Context | repeat
Treerepeat

Description

Commands in this context configure the command to repeat.

Introduced25.3.R2

Platforms

7705 SAR Gen 2

count number
Synopsis Command repetition count
Context | repeat count number
Treecount
Range1 to 65535
Introduced25.3.R2

Platforms

7705 SAR Gen 2

[interval] number
Synopsis Command repetition interval
Context | repeat [interval] number
Tree[interval]

Description

This command configures the command repetition interval. If this command is not specified, the command repeats until interrupted with Ctrl-C.

Range10 to 86400000
Unitsmilliseconds
Default1000
Introduced 25.3.R2

Platforms

7705 SAR Gen 2

timestamp
Synopsis Display the timestamp before each repetition
Context| repeat timestamp
Treetimestamp
Introduced25.3.R2

Platforms

7705 SAR Gen 2

reverse-dns

Synopsis Resolve IP addresses to DNS names in input
Context| reverse-dns
Treereverse-dns
Introduced25.3.R2

Platforms

7705 SAR Gen 2

> [url] (cflash-url | ftp-tftp-url)

Synopsis Redirect output to a file
Context > (cflash-url | ftp-tftp-url)
Tree>

Platforms

7705 SAR Gen 2

[url] (cflash-url | ftp-tftp-url)

Synopsis Location to save the output
Context > (cflash-url | ftp-tftp-url)
Tree>
String length1 to 199

Notes

This element is part of a list key.

Platforms

7705 SAR Gen 2

>> [url] cflash-url

Synopsis Append output to a local file
Context >> cflash-url
Tree>>
Introduced25.3.R2

Platforms

7705 SAR Gen 2

[url] cflash-url

Synopsis Local location to append the output
Context >> cflash-url
Tree>>
String length1 to 199

Notes

This element is part of a list key.

Introduced25.3.R2

Platforms

7705 SAR Gen 2