add IPRule Na
If the tab key is now pressed, the letters Na will not be completed to be Name= because Name is
optional and all the mandatory parameters must be entered before tab completion works for optional
parameters.
For example, if the following command is typed:
add IPRule SourceInterface=if12 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 be 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.
Specifying the Default Value
The period "." character before a tab can be used to automatically fill in the default value for an
object property. For example:
add LogReceiver LogReceiverSyslog log_example
Address=example_ip LogSeverity=. (tab)
Will fill in the default value for LogSeverity:
add 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.
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:
set Address IPAddress If1_ip Address=
If a period "." followed by a tab is now entered, NetDefendOS displays the current value for
Address. If that value were the IPv4 list 10.6.58.10,192.168.2.1 then the unfinished command line
will automatically become:
set Address IPAddress If1_ip Address=10.6.58.10,192.168.2.1
The displayed values can then be added to or changed with the backspace and back arrow keys
before completing the command.
Object Categories
2.1.4. The CLI
Chapter 2. Management and Maintenance
38
Содержание NetDefend DFL-1660
Страница 28: ...1 3 NetDefendOS State Engine Packet Flow Chapter 1 NetDefendOS Overview 28 ...
Страница 88: ...2 6 3 Restore to Factory Defaults Chapter 2 Management and Maintenance 88 ...
Страница 166: ...3 10 DNS Chapter 3 Fundamentals 166 ...
Страница 254: ...4 7 5 Advanced Settings for Transparent Mode Chapter 4 Routing 254 ...
Страница 268: ...5 4 IP Pools Chapter 5 DHCP Services 268 ...
Страница 368: ...6 7 Blacklisting Hosts and Networks Chapter 6 Security Mechanisms 368 ...
Страница 390: ...7 4 7 SAT and FwdFast Rules Chapter 7 Address Translation 390 ...
Страница 414: ...8 3 Customizing Authentication HTML Pages Chapter 8 User Authentication 414 ...
Страница 490: ...9 8 6 Specific Symptoms Chapter 9 VPN 490 ...
Страница 528: ...10 4 6 Setting Up SLB_SAT Rules Chapter 10 Traffic Management 528 ...
Страница 544: ...11 7 HA Advanced Settings Chapter 11 High Availability 544 ...
Страница 551: ...12 3 5 Limitations Chapter 12 ZoneDefense 551 ...
Страница 574: ...Default 512 13 9 Miscellaneous Settings Chapter 13 Advanced Settings 574 ...
Страница 575: ...13 9 Miscellaneous Settings Chapter 13 Advanced Settings 575 ...