beautypg.com

Using network os cli command output modifiers – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 45

background image

The Network OS CLI accepts abbreviations for commands. This example is the abbreviation for the
show qos interface all command.

switch# sh q i a

If the switch does not recognize a command after Enter is pressed, an error message displays.

switch# hookup

^

syntax error: unknown argument.

If an incomplete command is entered, an error message displays.

switch# show

^

syntax error: unknown argument.

Using Network OS CLI command output modifiers

You can filter the output of the Network OS CLI show commands by using the output modifiers
described below.

Network OS CLI command output modifiers

TABLE 3

Output modifier

Description

append

Appends the output to a file.

redirect

Redirects the command output to the specified file.

include

Displays the command output that includes the specified expression.

exclude

Displays the command output that excludes the specified expression.

begin

Displays the command output that begins with the specified expression.

last

Displays only the last few lines of the command output.

tee

Redirects the command output to the specified file. Notice that this modifier also
displays the command output.

until string

Ends the output when the output text matches the string.

count

Counts the number of lines in the output.

linnum

Enumerates the lines in the output.

more

Paginates the output.

nomore

Suppresses the pagination of the output.

FLASH

Redirects the output to flash memory.

Using Network OS CLI command output modifiers

Network OS Administrator’s Guide

45

53-1003225-04