Appendix C
Using the Command-Line Interface
Syntax Formatting
Command syntax descriptions use the following conventions:
Table C-1
Convention
bold
italics
[x]
|
[x | y]
{x | y}
[x {y | z}]
Abbreviating Commands
You can abbreviate most commands down to the fewest unique characters for a command; for example,
you can enter
you can enter
enter
Command-Line Editing
The FWSM uses the same command-line editing conventions as Cisco IOS software. You can view all
previously entered commands with the show history command or individually with the up arrow or ^p
command. Once you have examined a previously entered command, you can move forward in the list
with the down arrow or ^n command. When you reach a command you wish to reuse, you can edit it or
press the Enter key to start it. You can also delete the word to the left of the cursor with ^w, or erase the
line with ^u.
The FWSM permits up to 512 characters in a command; additional characters are ignored.
Command Completion
To complete a command or keyword after entering a partial string, press the Tab key. The FWSM only
completes the command or keyword if the partial string matches only one command or keyword. For
example, if you enter s and press the Tab key, the FWSM does not complete the command because it
matches more than one command. However, if you enter dis, the Tab key completes the command
disable.
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Syntax Conventions
Description
Bold text indicates commands and keywords that you enter literally as shown.
Italic text indicates arguments for which you supply values.
Square brackets enclose an optional element (keyword or argument).
A vertical bar indicates a choice within an optional or required set of keywords or
arguments.
Square brackets enclosing keywords or arguments separated by a vertical bar indicate
an optional choice.
Braces enclosing keywords or arguments separated by a vertical bar indicate a required
choice.
Nested sets of square brackets or braces indicate optional or required choices within
optional or required elements. Braces and a vertical bar within square brackets indicate
a required choice within an optional element.
to view the configuration instead of entering the full command
wr t
to start privileged mode and
en
to represent
.
0
0.0.0.0
f t to start configuration mode. In addition, you can
con
Syntax Formatting
, or
write terminal
C-3