Westermo application commands 3.2 – Westermo MR Series User Manual

Page 26

Advertising
background image

26

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

Westermo Application Commands

3.2

The unit also supports numerous text-based “application” commands that are specific to Westermo
products and do not require the “AT” prefix. Some of these are generic i.e. they are related to the
general operation of the unit; others are application or protocol specific.

Application commands may be entered via any of the serial ports but if you are using ASY 0 or
ASY 1 with auto-speed detection enabled (which is not possible on ports 2, 3, etc.), you must first
lock the interface speed to the same as that of your terminal. To do this first ensure that the unit is
responding to AT commands correctly and then enter the command:

AT\LS

The speed will remain locked until the unit goes on-line and then off-line again, the power is
removed or the unit is reset. Once the port speed has been locked, “AT” commands will still work
but you may also use the application commands.

Remember that if you subsequently re-enable auto-speed detection on the port it will disable the
use of application commands until the “AT\LS” command has been re-entered or the port speed
has been set to a specific speed using “S31”. For example, to set the port speed at 19,200bps enter
the com mand:

ATS31=6

then change your terminal settings to match.

Note:
Speed locking is not necessary when you use the text commands via a Telnet session.

Westermo application commands (referred to just as text commands throughout the remainder of
this guide), can be entered in upper or lower case but unlike “AT” commands, only one command
may be entered on a line. After each successful command, the “OK” result code will be issued. An
invalid com mand will cause the “ERROR” result code to be issued.

The general syntax for an application commands is:

<cmd_name> <instance> <param_name> <value>

where:

<cmd_name>

is the name of the command

<instance>

is the instance number for the entity that you are configuring.

<param_name>

is the name of the parameter that you wish to configure.

<value>

is the new value for the specified parameter.

For example, to set the window size to 5 for X.25 PAD instance 1 you would enter:

pad 1 window 5

Even if there is only once instance of particular entity, you should only enter 0 for the instance
number.

The Reboot Command

3.2.1

The reboot command is used to reboot the unit after altering the configuration. It has three modes
of operation:

reboot

- will reboot the unit after any FLASH write operations have been completed. Also, 1

second each is allowed for the following operations to be completed before reboot will take
palce:

IPSec SA delete notifications have been created and sent

TCP sockets have been closed

PPP interfaces have been disconnected

reboot <n>

- will reboot the unit in <n> minutes where n is 1 to 65,535

reboot cancel

- will cancel a timed reboot if entered before the time period has passed.

Advertising
This manual is related to the following products: