Use the command-line interface Using the CLI parameter tables in this guide
Digi TransPort WR Routers User Guide 136
config command: show/save configuration
The config command shows the current or stored configuration settings, saves the current
configuration, and specifies which configuration to use when powering up or rebooting the router.
The format of the config command is:
config <0|1|c> <save|show|powerup>
You can store two separate configurations, numbered 0 and 1. The first parameter of the config
command specifies to which configuration the command applies. The letter c indicates the current
configuration settings, such as 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 use at power-up or reboot.
For example, to display the current configuration use the command:
config c show
The output is similar to the following:
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 different from the router’s default settings. If
you make a setting that is the same as the default setting, it does not appear in a stored
configuration.
To save the current settings to configuration file 1, enter:
config 1 save
To use configuration file 1 when the powering up or rebooting the router, enter:
config 1 powerup
config changes command: show number of changes counter
The config changes command shows the number of changes to the current configuration since the
router has powered up and the initial configuration file run. Also shows the time when the
configuration file was last saved.