EasyManua.ls Logo

D-Link NetDefendOS

D-Link NetDefendOS
912 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
add IP4Address If1_br Address=10.6.60.255
add IP4Address If1_dns1 Address=141.1.1.1
"
"
"
The file new_script_sgs can then be downloaded with SCP to the local management workstation
and then uploaded and executed on the other NetDefend Firewalls. The end result is that all
units will have the same IP4Address objects in their address book.
The following should be noted for automatically created scripts:
Automatically created scripts omit the object category.
In the created script example above, adding an IP address is done with the command:
add IP4Address...
This is instead of the usual way of qualifying the object with its category name:
add Address IP4Address...
Both are valid forms of the command. If an object type can be uniquely identified with its
name, its object category need not be specified. With automatically generated scripts, this is
always the case. This shortened form can also be used when typing the entire command in a
CLI console although tab completion will always include the object category.
The script filename length has a limit.
The name of the file created using the -create option cannot be greater than 16 characters in
length (including the extension) and the filetype should always be .sgs.
Both Set and Add appear in scripts.
The default configuration objects will have a Set action and the objects added to the default
configuration will have an Add action.
Creating scripts for the entire configuration.
It is possible to create a script for the entire configuration with the command:
gw-world:/> script -create -name=entire_config.sgs
This can be useful if the entire configuration is to be recreated.
However, note that the following objects will not be included in a script created for the entire
configuration:
i. Added Certificate objects.
ii. Objects marked for deletion.
Some objects are always excluded from created script files.
Certain aspects of a configuration which are hardware dependent cannot have a script file
entry created when using the -create option. This is true when the CLI node type in the script
-create command is one of the following:
Chapter 2: Management and Maintenance
62

Table of Contents

Related product manuals