BelAir100SN User Guide
System Settings
May 31, 2010
Confidential
Document Number BDTM11001-A01 Released
•
check-db-change-stop
. This declaration stops verifying whether commands
change the node’s setting.
•
int-db-change-start
. This declaration is used with the previous
check-db-change
declarations. The
int-db-change-start
declaration instructs
the node to execute the commands that follow if the node’s settings have
changed.
Typically, your script uses the declarations in the following sequence:
1 Use valid CLI commands and physical interface declarations as required.
2 Use the
config-save
command to save the changes to this point to the node’s
database.
3 Include the
check-db-change-start
declaration. (Begin recording whether the
following commands change the nodes settings.)
4 Use the CLI commands for the functionality that requires a reboot, for
example
/protocol/nat/set
commands.
5 Include the
check-db-change-stop
declaration. (Stop recording whether the
following commands change the node’s settings.)
6 Use more valid CLI commands and physical interface declarations as
required.
7 At the end of the script, include the
int-db-change-start
declaration.
8 Use the
config-save
command to save any remaining changes to the node’s
database.
9 Include the
/system/reboot
CLI command.
10 Include
y
. (Confirm the reboot.)
11 Include the
int-stop
declaration, as a terminator for the
int-db-change-start
declaration.
The first time the auto-configuration script is run (during initial startup), the
check-db-change-start
and
check-db-change-stop
declarations record the fact
that the NAT commands have changed NAT settings. The condition for the
int-db-change-start
declaration is therefore true. The
config-save
and
reboot
commands at the end of the script are executed. The second time the
auto-configuration script is run (during the second startup), the NAT
commands do not change the NAT settings. Hence the condition for the
int-db-change-start
declaration is false, and the
config-save
and
reboot
commands at the end of the script are not executed.