
broken into indented separate lines. In a console window they would appear as a single
continuous line which folds at the right margin.
For example, if the following command is typed:
gw-world:/> add IPRule
SourceInterface=If2
SourceNetwork=all-nets
DestinationInterface=If2
DestinationNetwork=all-nets
Action=Allow
Service=all_services
Na
If the tab key is now pressed, the letters
Na
will now be completed to become
Name=
because all
the mandatory parameters have already been entered.
Note: Rule names are recommended
Even when it is optional, it is recommended that a
Name
value is assigned to a rule. This
makes examining and understanding the configuration easier.
Getting the Default or Current Property Value
The period "
.
" character before a tab can be used to automatically fill in the default value for an
object property in an
Add
command. For example:
gw-world:/> add LogReceiver LogReceiverSyslog log_example
Address=example_ip
LogSeverity=.<tab>
This will fill in the default value for
LogSeverity
:
gw-world:/> add LogReceiver LogReceiverSyslog example
Address=example_ip
LogSeverity=Emergency,Alert,Critical,Error,Warning,Notice,Info
This severity list can then be edited with the back arrow and backspace keys. A default value is
not always available. For example, the
Action
of an IP rule has no default.
This same sequence can be used to get the current property value in a
Set
command. For
example:
gw-world:/> set LogReceiver LogReceiverSyslog log_example Address=.<tab>
This will display the current value for the
Address
property.
Appending Property Values
Another usage of the period character before a tab is to automatically fill in the current value of
an object property in a command line. This is very useful when there is a need to append a new
value to a list of pre-existing values.
For example, the following unfinished command may have been typed:
gw-world:/> set Address IP4Address If1_ip Address=
Chapter 2: Management and Maintenance
49
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...