User`s guide

508
GENERAL SYSTEM COMMANDS
The application commands described in this section are basic configuration commands that
do not relate to specific types of application or network.
CONFIG Show/Save Configuration
The config command is used for the following purposes to show current or stored
configuration settings, to save the current configuration or to specify which configuration is
to be used when the unit is powered up or rebooted.
The format of the config command is:
config <0|1|c> <save|show|powerup>
Two separate configurations can be stored, numbered 0 and 1. The first parameter of the
config command specifies to which configuration the command applies. The letter ā€œcā€
denotes the current configuration settings, i.e. those currently in use.
The second parameter is one of the following keywords:
show displays the specified configuration (either 0, 1 or c for the current configuration)
save saves the current settings as the specified configuration (either 0 or 1)
powerup sets the specified configuration (either 0 or 1) to be used at power-up or reboot
For example, to display the current configuration use the command:
config c show
The output will appear similar to the following example:
config c show
eth 0 descr "LAN 0"
eth 0 IPaddr "192.168.1.1"
eth 0 mask "255.255.255.0"
eth 0 bridge ON
eth 1 descr "LAN 1"
eth 2 descr "LAN 2"
eth 3 descr "LAN 3"
eth 4 descr "ATM PVC 0"
The config files only contain details of those settings that are different from the unit’s
default settings. If you make a setting that is the same as the default setting, it will not
appear in a stored configuration.
To save the current settings to configuration file 1, enter:
config 1 save
To use configuration 1 when the unit is powered up or rebooted, enter:
config 1 powerup
Config changes counter
The config changes command shows the number of changes to the current configuration
since the unit has powered up and the initial configuration file run. Also shows the time
when the config file was last saved.