HP StorageWorks 8/80 Brocade Converged Enhanced Ethernet Administrator's Guide - Page 45

CEE CLI command completion, CEE CLI command output modifiers, The CLI displays

Page 45 highlights

CEE Command Line Interface 2 The CEE 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 ^ % Invalid input detected at '^' marker. If an incomplete command is entered, an error message displays. switch#show % Incomplete command. CEE 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: switch#terminal If there is more than one command or keyword associated with the characters typed, the CEE CLI displays all choices. For example, at the CLI command prompt type show l and press Tab: switch#show l The CLI displays: switch#show l lacp line lldp CEE CLI command output modifiers You can filter the output of the CEE CLI show commands using the output modifiers described in Table 5. TABLE 5 CEE CLI command output modifiers Output modifier Description redirect include exclude append begin last tee Redirects the command output to the specified file. Displays the command output that includes the specified expression. Displays the command output that excludes the specified expression. Appends the command output to the specified file. Displays the command output that begins with the specified expression. Displays only the last few lines of the command output. Redirects the command output to the specified file. Note that this modifier also displays the command output. Converged Enhanced Ethernet Administrator's Guide 25 53-1001346-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Converged Enhanced Ethernet Administrator’s Guide
25
53-1001346-01
CEE Command Line Interface
2
The CEE 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
^
% Invalid input detected at '^' marker.
If an incomplete command is entered, an error message displays.
switch#
show
% Incomplete command.
CEE 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:
switch#
terminal
If there is more than one command or keyword associated with the characters typed, the CEE CLI
displays all choices. For example, at the CLI command prompt type
show l
and press
Tab
:
switch#
show l
The CLI displays:
switch#
show l
lacp
line
lldp
CEE CLI command output modifiers
You can filter the output of the CEE CLI
show
commands using the output modifiers described in
Table 5
.
TABLE 5
CEE CLI command output modifiers
Output modifier
Description
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.
append
Appends the command output to the specified file.
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. Note that this modifier also
displays the command output.