Network os cli command completion, Network os cli command output modifiers – Brocade Network OS Command Reference v4.1.0 User Manual

Page 48

Advertising
background image

10

Network OS Command Reference

53-1003115-01

Network OS CLI command completion

1

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.

Network OS CLI command completion

To automatically complete the spelling of commands or keywords, begin typing the command or
keyword and then press Tab. For example, at the CLI command prompt, type te and press Tab:

switch# te

The CLI displays the following command.

switch# terminal

If there is more than one command or keyword associated with the characters typed, the
Network OS CLI displays all choices. For example, at the CLI command prompt, type show l and
press Tab:

switch# show l

The CLI displays the following command.

Possible completions:

lacp

LACP commands

license

Display license keys installed on the switch.

lldp

Link Layer Discovery Protocol(LLDP).

logging

Show logging

Network OS CLI command output modifiers

You can filter the output of the CEE CLI show commands using the output modifiers described in

Table 2

.

TABLE 2

CEE CLI command output modifiers

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.

Advertising