Cisco Systems 7000 Plumbing Product User Manual


 
1-7
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter 1 Using the CLI
Editing the CLI
Step 2 Enter part of a command string, and end it with a question mark (?) to display options that you can use
to complete the string.
SFS-7000P> b?
broadcast
Step 3 Enter a command (or enough of a command for the CLI to uniquely identify it), and then enter a space
and a question mark (?) to display available arguments to follow the command.
SFS-7000P> broadcast ?
String - Message to broadcast. Enclose multi-word strings within
double-quotes.
SFS-7000P> broadcast
After the CLI displays the help information, the Server Switch prints the command string up to the
question mark on the input line and waits for you to complete the string. You do not have to retype the
string.
Command Abbreviation
To facilitate command entry, you do not need to enter CLI commands in their entirety. You may enter
just enough of each command or argument to make it uniquely identifiable.
When enough characters have been entered to uniquely identify a command or keyword in a command
string, you may leave the partially-typed command or keyword, enter a space, and then add additional
keywords or arguments, or you can press the Tab key to complete the commands or keywords to improve
readability.
SFS-7000P(config)# fc ?
srp - Configure FC SRP
srp-global - Configure FC SRP-global parameters
SFS-7000P(config)# fc srp- ?
enable - Enable FC SRP
gateway-portmask-pol - Configure FC SRP-global gateway-portmask-policy
itl - Configure FC SRP-global ITL
lun-policy - Configure FC SRP-global lun-policy
target-portmask-poli - Configure FC SRP-global target portmask policy
SFS-7000P(config)# fc srp- gate ?
restricted - Configure FC SRP gateway-portmask-policy restricted
SFS-7000P(config)# fc srp- gate res ?
<cr>
SFS-7000P(config)# fc srp- gate res
In the preceding example, srp- is short for srp-global, gate is short for gateway-portmask-policy, and res
is short for restricted.
Editing the CLI
Command-line editing lets you modify a command line command that you have just entered or a
command line that you entered previously in the CLI session. The CLI supports a variety of ways to
move about and edit the currently displayed command line. Table 1-4 lists and describes these options.