If "
.
" is entered instead of a property value and tab is pressed it will be replaced by the current
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
1.5.3. Configuration object type cat-
egories
Chapter 1. Introduction
17
Содержание DFL-210 - NetDefend - Security Appliance
Страница 19: ...1 6 User roles Chapter 1 Introduction 19...
Страница 83: ...2 4 5 script Chapter 2 Command Reference 83...
Страница 166: ...Default 7 Comments Text describing the current object Optional 3 41 Pipe Chapter 3 Configuration Reference 166...
Страница 210: ...3 59 UserAuthRule Chapter 3 Configuration Reference 210...