Configuration Object Type Categories; Edit An Existing Property Value; Using Categories With Tab Completion - D-Link NetDefend DFL-210 Cli Reference Manual

Network security firewall ver. 1.03
Hide thumbs Also See for NetDefend DFL-210:
Table of Contents

Advertisement

1.5.3. Configuration object type cat-
egories
value of that property. This is useful when editing an existing list of items or a long text value.
The "<" character before a tab can be used to automatically fill in the default value for a parameter
if no value has yet been set. If the "." character is used, all possible values will be shown and these
can then be edited with the back arrrow and backspace keys.
Example 1.6. Edit an existing property value
Edit the current value:
gw-world:/> add IP4Address example_ip Address=1.2.3.4
gw-world:/> set IP4Address example_ip Address=. (tab)
gw-world:/> set IP4Address example_ip Address=1.2.3.4 (the value was inserted)
The value can now be edited by using the arrow keys or backspace.
gw-world:/> set IP4Group examplegroup Members=ip1,ip2,ip3,ip5
gw-world:/> set IP4Group examplegroup Members=. (tab)
gw-world:/> set IP4Group examplegroup Members=ip1,ip2,ip3,ip5
(the value was inserted)
It is now possible to add or remove a member to the list without having to enter all
the other members again.
Edit the default value:
gw-world:/> add LogReceiverSyslog example Address=example_ip LogSeverity=. (tab)
gw-world:/> add LogReceiverSyslog example Address=example_ip LogSeverity=Emergency,
Alert,Critical,Error,Warning,Notice,Info
Now it is easy to remove a log severity.

1.5.3. Configuration object type categories

Some object types are grouped together in a category in the CLI. This only matters when using tab
completion as they are used to limit the number of possible completions when tab completing object
types. The category can always be omitted when running commands if the type name is entered
manually.
Example 1.7. Using categories with tab completion
Accessing an IP4Address object with the use of categories:
gw-world:/> show ad (tab)
gw-world:/> show Adress (the category is autocompleted)
gw-world:/> show Adress ip4a (tab)
gw-world:/> show Adress IP4Address (the type is autocompleted)
gw-world:/> show Adress IP4Address example_ip
Accessing an IP4Address object without the use of categories:
gw-world:/> show IP4Address example_ip
16
Chapter 1. Introduction

Advertisement

Table of Contents
loading

Table of Contents