D-Link DFL-1660 User Manual page 37

Network security firewall
Hide thumbs Also See for DFL-1660:
Table of Contents

Advertisement

2.1.4. The CLI
avoided in order to avoid ambiguity when reading configurations.
A command like add can also include object properties. To add a new IP4Address object with an IP
address of 10.49.02.01, the command would be:
gw-world:/> add IP4Address my_address Address=10.49.02.01
The object type can be optionally preceded by the object category. A category groups together a set
of types and mainly used with tab completion which is described below.
The CLI Command History
Just like the console in many versions of Microsoft Windows™, the up and down arrow keys allow
the user to move through the list of commands in the CLI command history. For example, pressing
the up arrow key once will make the last command executed appear at the current CLI prompt. After
a command appears it can be re-executed in its original form or changed first before execution.
Tab Completion
Remembering all the commands and their options can be difficult. NetDefendOS provides a feature
called tab completion which means that pressing the tab key will cause automatically completion of
the current part of the command. If completion is not possible then pressing the tab key will
alternatively display the possible command options that are available.
Optional Parameters Are Tab Completed Last
Tab completion does not work with optional parameters until all the mandatory parameters have
been entered.
For example, when creating an IP rule for a particular IP rule set, the command line might begin:
add IPRule
If the tab key is now pressed, the mandatory parameters are displayed by NetDefendOS:
A value is required for the following properties:
Action
DestinationInterface
The Name parameter is not in this list since it is not mandatory because rules can be referenced with
their index number. Similarly, the following might be entered:
Note: The terms Category and Context
When describing the CLI, the term object category is also sometimes referred to as the
object context.
Tip: Getting help about help
Typing the CLI command:
gw-world:/> help help
will give information about the help command itself.
DestinationNetwork
Service
Chapter 2. Management and Maintenance
SourceInterface
SourceNetwork
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dfl-2560Dfl-2560gDfl-260eDfl-860e

Table of Contents