
1-29
Cisco PIX Firewall and VPN Configuration Guide
78-15033-01
Chapter 1 Getting Started
Using the Command-Line Interface
Command Output Paging
On commands such as help or?, show, show xlate, or other commands that provide long listings, you
can determine if the information displays a screenful and pauses, or lets the command run to completion.
The pager command lets you choose the number of lines to display before the More prompt appears.
When paging is enabled, the following prompt appears:
<--- More --->
The More prompt uses syntax similar to the UNIX more command:
• To view another screenful, press the Space bar.
• To view the next line, press the Enter key.
• To return to the command line, press the q key.
Comments
You can precede a line with a colon ( : ) to create a comment. However, the comment only appears in the
command history buffer and not in the configuration. Therefore, you can view the comment with the
show history command or by pressing an arrow key to retrieve a previous command, but because the
comment is not in the configuration, the write terminal command does not display it.
You can also store configurations with comments preceded by a colon or exclamation mark on a server
and then use the configure net [[location]:[filename]] command to load the configuration from a TFTP
server to the PIX
Firewall. Replace location with the TFTP server name and filename with the
configuration file name. The PIX Firewall will prune the comments and they will not be visible in the
PIX
Firewall configuration listing.
To add comments to access lists use the access-list id [line line-num] remark text command. Replace
id with the identifier for the access list, replace text with up to 100 characters, and replace line-num
with the line number where you want to insert the text. The remark can be placed before or after an
access-list command statement, but place it in a consistent position so it is clear which access list the
remark describes. You can also add comments to object groups using the description text parameter
after the object-group command. For more information about access lists and object groups, refer to
Chapter 2, “Controlling Network Access and Use.
underscore _ Matches a comma (,), left brace ({), right brace (}), left parenthesis,
right parenthesis, the beginning of the input string, the end of the
input string, or a space.
brackets [] Designates a range of single-character patterns.
hyphen - Separates the end points of a range.
parentheses () (Border Gateway Protocol (BGP) specific) Designates a group of
characters as the name of a confederation.
Table 1-2 Using Special Characters in Regular Expressions
Character Type Character Special Meaning
Kommentare zu diesen Handbüchern