General system commands 19, Config show/save confi guration 19.1, Confi g changes counter 19.2 – Westermo MR Series User Manual

Page 424

Advertising
background image

424

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

General System Commands

19

CONFIG Show/Save Confi guration

19.1

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:

bind PAD 0 ASY 0

pad 0 l2iface LAPB

cmd 0 username Westermo

cmd 0 epassword Oz57X0kd

cmd 0 hostname IR2140

OK

The config files only contain details of those settings that are different from the unit’s default set-
tings. If you make a setting that is the same as the default setting, it will not appear in a stored con-
figuration.

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

Confi g changes counter

19.2

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.

Advertising
This manual is related to the following products: