Searching and filtering output, Optional fields, List of available options – Brocade BigIron RX Series Configuration Guide User Manual

Page 87: Searching and filtering output from show commands

Advertising
background image

BigIron RX Series Configuration Guide

9

53-1002484-04

Searching and filtering output

1

Optional fields

When two or more options are separated by a vertical bar, “| “, you must enter one of the options
as part of the command.

Syntax: priority normal | high

For example, the "normal | high" entry in the Syntax above means that priority can be either priority
normal or priority high. The command in the syntax above requires that you enter either normal or
high as part of the command.

List of available options

To get a quick display of available options at a CLI level or for the next option in a command string,
enter a question mark (?) at the prompt or press TAB.

To view all available commands at the user EXEC level, enter the following or press TAB at the User
EXEC CLI level.

BigIron RX> ?

<

return>

enable

exit

fastboot

ping

show

stop-trace-route

traceroute

You also can use the question mark (?) with an individual command, to see all available options or
to check context.

To view possible copy command options, enter the following.

BigIron RX# copy ?

flash

running-config

startup-config

tftp

BigIron RX# copy flash ?

tftp

Searching and filtering output

You can filter CLI output from show commands and at the --More-- prompt. You can search for
individual characters, strings, or construct complex regular expressions to filter the output.

Searching and filtering output from show commands

You can filter output from show commands to display lines containing a specified string, lines that
do not contain a specified string, or output starting with a line containing a specified string. The
search string is a regular expression consisting of a single character or string of characters. You can
use special characters to construct complex regular expressions. Refer to

“Using special characters

in regular expressions”

on page 12 for information on special characters used with regular

expressions.

Advertising