beautypg.com

Brocade TurboIron 24X Series Configuration Guide User Manual

Page 51

background image

Brocade TurboIron 24X Series Configuration Guide

17

53-1003053-01

Using and port number with CLI commands

3 closed

4 closed

5 closed

Syntax: show-command | begin <regular-expression>

Searching and filtering output at the --More-- prompt

The --More-- prompt displays when output extends beyond a single page. From this prompt, you can
press the Space bar to display the next page, the Return or Enter key to display the next line, or
Ctrl+C or Q to cancel the display. In addition, you can search and filter output from this prompt.

At the --More-- prompt, you can press the forward slash key ( / ) and then enter a search string. The
device displays output starting from the first line that contains the search string, similar to the
begin modifier for show commands. An example is given below.

--More--, next page: Space, next line: Return key, quit: Control-c

/telnet

The results of the search are displayed.

searching...
telnet Telnet by name or IP address
temperature temperature sensor commands
terminal display syslog
traceroute TraceRoute to IP node
undebug Disable debugging functions (see also 'debug')
undelete Undelete flash card files
whois WHOIS lookup
write Write running configuration to flash or terminal

To display lines containing only a specified search string (similar to the include modifier for show
commands) press the plus sign key ( + ) at the --More-- prompt and then enter the search string.

--More--, next page: Space, next line: Return key, quit: Control-c

+telnet

The filtered results are displayed.

filtering...

telnet Telnet by name or IP address

To display lines that do not contain a specified search string (similar to the exclude modifier for
show commands) press the minus sign key ( - ) at the --More-- prompt and then enter the search
string.

--More--, next page: Space, next line: Return key, quit: Control-c

-telnet

The filtered results are displayed.

filtering...

temperature temperature sensor commands

terminal display syslog

traceroute TraceRoute to IP node