The contents of this document are provided “as is”. Except as required by applicable law, no warranties of any kind, either express or implied, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose, are made in relation to the accuracy and reliability or contents of this document. Westermo reserves the right to revise this document or withdraw it at any time without prior notice.
Under no circumstances shall Westermo be responsible for any loss of data or income or any special, incidental, and consequential or indirect damages howsoever caused.
More information about Westermo can be found at the following Internet address:
www.westermo.com
2
6622-3201
Web Interface and Command Line Reference Guide
Typographical Conventions 1.
Throughout this manual certain typographical conventions are used as follows:
Text TypeMeaning
Text like this
Note:
Text like this
Text like this
Text like this
Configure > Save
is standard text.
indicates points that are of particular importance.
indicates commands entered by the user at the command line.
indicates responses from the unit to commands you enter at the command line.
2............................................ Using the Web Interface ....................................................... 12
2.1 .............................................. Access Via a LAN Port ............................................................................. 12
2.2 .............................................. Access Via a Serial Port ............................................................................ 12
2.2.1 ................................... Installing the Driver File ........................................................................... 13
2.2.2 ................................... Creating A New Dial-Up Network Connection ................................ 17
2.2.3 ................................... Configuring the New DUN Connection ..............................................20
2.2.4 ................................... Initiating a DUN Connection .................................................................. 22
3............................................ Using the command line interface ...................................... 24
3.1 .............................................. The “AT” Command Interface ............................................................... 24
5.15.3 ................................. D Channel Stats .......................................................................................343
5.15.4 ................................. Layer 1 D Sync Stats ............................................................................... 343
www.westermo.com
6............................................ Status Pages ........................................................................ 344
6.1 .............................................. Status > Analyser Trace ...........................................................................344
6.2 .............................................. Status > PCAP traces .............................................................................344
6.3 .............................................. Status > DHCP Server ...........................................................................345
6.4 .............................................. Status > Ethernet > ETH n ...................................................................346
6.5 .............................................. Status > Ethernet > ETH n > QOS ....................................................347
6.6 .............................................. Status > Event log ....................................................................................347
6622-3201
7
www.westermo.com
Web Interface and Command Line Reference Guide
6.7 .............................................. Status > File Directory ...........................................................................347
6.8 .............................................. Status > Firmware Versions ...................................................................348
6.9 .............................................. Status > W-WAN Module ......................................................................348
6.10 ............................................ Status > W-WAN Module > Neighbour Cells ..................................352
6.11 ............................................ Status > W-WAN Module > Serving Cell ..........................................353
6.12 ............................................ Status > W-WAN Module > W-WAN Cell Information ................355
6.13 ............................................ Status > IGMP Groups ...........................................................................357
6.14 ............................................ Status > IPSec > IPSec Peers .................................................................357
6.15 ............................................ Status > IPSec > IKE SAs .......................................................................358
6.16 ............................................ Status > IPSec > IPSec SAs > Dynamic tunnels ...............................358
6.17 ............................................ Status > IPSec > IPSec SAs > Eroute n ..............................................359
6.18 ............................................ Status > ISDN BRI ................................................................................... 360
6.19 ............................................ Status > Web Directory .........................................................................360
6.20 ............................................ Status > Web Server ...............................................................................360
6.21 ............................................ Status > X.25 Sessions ...........................................................................361
7............................................ The Filing System ............................................................... 362
7.1 .............................................. System Files ...............................................................................................362
7.2 .............................................. Filing System Commands .......................................................................362
7.2.8 ................................... SCAN/SCANR Scan File System ..........................................................364
7.2.9 ................................... TYPE Display Text File ...........................................................................364
7.2.10 ................................. XMODEM File Transfer ..........................................................................364
7.3 .............................................. USB Support .............................................................................................365
7.3.1 ................................... SD Memory Card Support .................................................................... 365
7.3.2 ................................... Batch Control Commands .....................................................................365
7.3.3 ................................... USB Filing System Commands ..............................................................365
7.3.4 ................................... Using USB devices to upgrade firmware ............................................366
7.3.5 ................................... Using USB devices with .all files ...........................................................366
9............................................ Using V.120 ........................................................................... 372
9.1 .............................................. Initial Set Up ..............................................................................................372
9.2 .............................................. Initiating a V.120 Call ...............................................................................372
11.4.11 ............................... RSET Set Remote X.3 Parameters ......................................................383
11.4.12 ............................... SET Set Local X.3 Parameters ..............................................................383
12 .........................................PPP Over Ethernet ............................................................. 384
13 ......................................... IPSEC and VPNs .................................................................. 385
13.1 ............................................ What is IPSec? ..........................................................................................385
13.2 ............................................ Data Encryption Methods ......................................................................385
13.2.1 ................................. DES (64-bit key) .......................................................................................385
13.2.2 ................................. DES (192-bit key) .....................................................................................386
13.3 ............................................ What is a VPN? .........................................................................................386
13.4 ............................................ The Benefits of IPSec ..............................................................................386
16.1 ............................................ Using V.120 .................................................................................................411
16.2 ............................................ Using Telnet ...............................................................................................411
16.3 ............................................ Using FTP ...................................................................................................411
16.3.1 ................................. FTP under Windows ...............................................................................412
16.3.2 ................................. FTP under DOS .......................................................................................412
16.4 ............................................ Using X.25 .................................................................................................412
17 ......................................... AT Commands ..................................................................... 413
17.1 ............................................ D Dial .........................................................................................................413
17.1.1 ................................. Dialling with a Specified Sub-Address .................................................413
17.1.3 ................................. Combining ISDN and X.25 Calls .........................................................413
17.2 ............................................ H Hang-up ................................................................................................ 413
17.3 ............................................ Z Reset .....................................................................................................413
17.4 ............................................ &C DCD Control ....................................................................................414
17.14.1 ............................... System .........................................................................................................417
17.14.3 ............................... IP ..................................................................................................................419
23.1.1 ................................. The Header Section ................................................................................453
23.1.2 ................................. Other Fields ..............................................................................................453
23.1.3 ................................. Body Section .............................................................................................454
To access the built-in web pages using a web browser (e.g. Internet Explorer), there are two
options.
Access Via a LAN Port 2.1
To access the unit through a LAN port you should assign your PC an IP address on the 192.168.0.0/
24 network (for example use an IP address of 192.168.0.1 and a mask of 255.255.255.0).
Next, either connect an Ethernet crossover cable between the LAN ports on your router and PC,
or ensure that both devices are connected to an Ethernet hub/switch on the same network. You
should then be able to access the unit’s web, Telnet and FTP services on the IP address 192.168.0.99.
Note:
All models are auto-sensing for 10/100 operation. All models are also auto MDI/MDX, i.e. will
auto matically work with either a straight-through or cross-over cable.
Access Via a Serial Port 2.2
To access the web interface through one of the unit’s serial ports (using Windows dial-up networking) follow the steps below.
Note:
To use Dial-up Networking you must have the TCP/IP > Dial-up adapter installed in the
Network Con figuration for Windows. Check this by selecting Settings > Control Panel >
Network > Configuration.
12
6622-3201
Web Interface and Command Line Reference Guide
Installing the Driver File 2.2.1
You will need to install the “Westermo_Multi_Port.inf” driver file and create a Windows PPP Dial up
Networking connection (DUN) for the unit as described below. It is assumed that you already have
a basic knowledge of Windows networking concepts and terminology.
The precise procedure for installing the .inf driver file for the unit will vary slightly between different ver sions of Windows. The following description applies to Windows XP.
1. Start by selecting Start > Control Panel > Phone and Modem Options. You must be in
Classic View. Select the Modems tab and you will see a dialog similar to the following:
www.westermo.com
2. Click on Add to install a new modem driver:
6622-3201
13
www.westermo.com
3. Check the Don’t detect my modem, I will select it from a list option before clicking Next >
to display the following dialog screen:
Web Interface and Command Line Reference Guide
This screen lists the manufacturers and models of modem currently available on your system.
4. Insert the CD supplied into the CD drive and click on Have Disk.
14
6622-3201
Web Interface and Command Line Reference Guide
Use the Browse button to locate the Westermo_Multi_Port.inf file on the drive CD supplied
with your unit. This will be in the appropriate Windows version sub-directory of the drives
folder, e.g. win95-98. A list of routers will appear in the Models list:
www.westermo.com
Each entry in the list is the same driver, set up for a different COM port.
5. Choose the entry corresponding to the COM port your router is connected to, and click
Next >. The wizard will ask you which COM port you wish to install the modem on.
6622-3201
15
www.westermo.com
6. Select the appropriate port and click Next >, and Windows will install the driver. Once
installa tion is complete click Finish to return to the Phone and Modem Options dialog, where
your unit will be listed:
Web Interface and Command Line Reference Guide
Click on the OK button if you are satisfied with the installation.
Note:
During the installation you may receive a warning that the driver is not digitally signed. Click on
Con tinue Installation to install the driver.
16
6622-3201
Web Interface and Command Line Reference Guide
Creating A New Dial-Up Network Connection 2.2.2
You now need to create a new DUN connection through which you can access your unit.
If you are planning to connect the unit directly to your PC for configuration purposes, connect it to
the appropriate COM port now using a suitable serial cable.
If you wish to configure a remote unit, make sure it is connected to a suitable ISDN line and make a
note of the ISDN number.
1. From the Windows Start menu, select All Programs > Accessories > Communications >
New Connection Wizard. You will be presented with the New Connection Wizard introduction
screen. Click on Next > to proceed to the Network Connection Type dialog:
www.westermo.com
2. Select the Connect to the network at my workplace radio-button then click on Next >:
6622-3201
17
www.westermo.com
3. Select the Dial-up connection radio-button then click on Next >:
Web Interface and Command Line Reference Guide
4. From the Select a Device dialog, select the unit you have just installed and make sure that any
other devices in the list are unchecked. Click Next >.
18
6622-3201
Web Interface and Command Line Reference Guide
5. You must now enter a name for the connection. It is helpful to choose a name that you will
easily remember such as “My Local Westermo” or “DR-250 - Bristol Office”. Click Next >. The
fol lowing dialog allows you to fill in the phone number for the connection:
www.westermo.com
If the connection is being created for direct local access using a COM port, you should set the
phone number to 123. This number will be intercepted by the unit and recognised as an attempt
to connect locally.
If the connection is being created for remote access, enter the correct ISDN telephone number
(including the area code) for the remote unit.
When you have done this click Next >. The final dialog screen will confirm that the connection
has been created and includes a check box to allow you to create a shortcut on your desktop if
necessary. Click on Finish to complete the task.
6622-3201
19
www.westermo.com
Web Interface and Command Line Reference Guide
Confi guring the New DUN Connection 2.2.3
The new DUN connection that you have just created may now be used to connect to the unit but
before you do this, you will need to check some of the configuration properties.
1. Click on the Start button and select Connect To > My Westermo Router (substituting the
connec tion name you chose).
2. Click on the Properties button to display the properties dialog for the connection:
20
6622-3201
Web Interface and Command Line Reference Guide
3. On the General tab, click the Configure button to display the Modem Configuration dia log:
Make sure that the Maximum speed (bps): value is set to 115200 and that the Enable hard ware
flow control box is checked.
Click OK when you have finished to return to the main properties dialog.
www.westermo.com
4. Now select the Networking tab:
6622-3201
21
www.westermo.com
Web Interface and Command Line Reference Guide
Make sure that the Type of dial-up server I am calling is set to PPP: Windows 95/98/NT/ 2000,
Internet and click on Settings:
Make sure that all three options are unchecked before clicking OK to return to the Network ing
tab. In the This connection uses the following items list, Internet Protocol (TCP/IP) should be
the only item that is checked. Make sure that this is the case and then click OK to return to the
main dialog. You are now ready to initiate a connection.
Initiating a DUN Connection 2.2.4
In the main dialog, you are asked to enter a username and password. The default settings for your
unit are “username” and “password” respectively but you should change as soon as possible in
order to prevent unauthorised access to your unit (refer to the section entitled Configure > Users
for instructions on how to do this). The username is not case sensitive, but the password is.
Note:
When you type the password it will appear as a series of dots to ensure privacy.
Once you have entered these, initiate a connection to your unit by clicking the Dial button. During
the dialling and connection process, you may see a series of status dialog boxes and, if the connection is successful, the final dialog box will indicate that the PPP login has been authenticated.
22
6622-3201
Web Interface and Command Line Reference Guide
After a short delay, this dialog will minimise to a “linked computers” icon in the Windows taskbar:
You should now be ready to access the built-in web pages using your Web browser. The default
“web address” for the unit is 1.2.3.4. By default, this is also mapped to the system IP hostname
ss.2000r.
You will need a valid username and password to access the web interface. Once again, the default
settings are username and password respectively. If these values do not allow access, you should
contact your system administrator.
www.westermo.com
6622-3201
23
www.westermo.com
Web Interface and Command Line Reference Guide
Using the command line interface3
Using a Web browser to modify text box or table values in the configuration pages is the simplest
way to configure the unit and this process is described in the next chapter. However, if you do not
have access to a Web browser, the unit can be configured using text commands. These commands
may be entered directly at one of the serial ports or via a Telnet session. Remote configuration is
also possible using Telnet or X.25.
To use the serial ports you will need a PC and some communications software such as HyperTerminal™ (supplied with Windows) or TeraTerm™. The same commands may also be used to configure
the unit remotely via Telnet, X.25 or V.120.
There are several types of text command:
AT Commands & S Registers
AT commands (pronounced “ay tee”) and Special registers (S registers) are supported in order
to maintain compatibility with modems when the unit is used as a modem replacement.
Application Commands
Application commands are specific to Westermo products and are used to control most features of the unit when not using the Web interface.
X.3 Commands
These are standard X.3 commands which are used only in X.25 PAD mode
TPAD Commands
These are used only in TPAD mode.
The “AT” Command Interface 3.1
Command Prefi x 3.1.1
The “AT” command prefix is used for those commands that are common to modems. To configure
the unit using AT commands you must first connect it to a suitable asynchronous terminal.
You will first need to set the interface speed/data format for your terminal to 115,200bps, 8 data
bits, no parity and 1 stop bit (these settings can be changed later if necessary).
When your terminal is correctly configured, apply power and wait for the B2 indicator to stop
flashing. Unless you have previously configured the unit to automatically connect to a remote system on power-up, it will now be ready to respond to commands from an attached terminal and is in
“command mode”.
Now type “AT” (in upper or lower case), and press [Enter]. The unit should respond with the message “OK”. This message is issued after successful completion of each command. If an invalid command is entered, the unit will respond with the message “ERROR”.
Note:
For consistency AT commands are shown in upper case throughout this guide.
If there is no response, check that the serial cable is properly connected and that your terminal or
PC communications software is correctly configured before trying again.
If you have local command echo enabled on your terminal, you may see the AT command displayed
as “AATT”. If this happens you may use the “ATE0” command (which will appear as “AATTEE00”),
to prevent the unit from providing command echo. After this command has been entered, further
com mands will be displayed without the echo.
The “AT” command prefix and the commands that follow it can be entered in upper or lower case.
After the prefix, you may enter one or more commands on the same line of up to 40 characters.
When the line is entered, the unit will execute each command in turn.
24
6622-3201
Web Interface and Command Line Reference Guide
The Escape Sequence 3.1.2
If you enter a command such as “ATD”, which results in the unit successfully establishing a connection to a remote system, it will issue a “CONNECT” result code and switch from command mode
to on-line mode. This means that it will no longer accept commands from the terminal. Instead, data
will be passed transparently through the unit to the remote system. In the same way, data from the
remote system will pass straight through to your terminal.
The unit will automatically return to command mode if the connection to the remote system is
termi nated. To return to command mode manually, you must enter a special sequence of characters called the “escape sequence”. This consists of three occurrences of the “escape character”, a
pause (user configurable) and then “AT”. The default escape character is “+” so the default escape
sequence is:
+++ {pause} AT
Entering this sequence when the unit is on-line will cause it to return to command mode but it will
NOT disconnect from the remote system unless you specifically instruct it to do so (using “ATH”
or another method of disconnecting). If you have not disconnected the call, the “ATO” command
may be used to go back on-line.
Result Codes 3.1.3
Each time an AT command line is executed, the unit responds with a result code to indicate whether the command was successful. If all commands entered on the line are valid, the “OK” result code
will be issued. If any command on the line is invalid, the “ERROR” result code will be issued.
Result codes may take the form of an English word or phrase (verbose code) or an equivalent
number (numeric code), depending on the setting of the “ATV” command. Verbose codes are used
by default. The “ATV0” command can be used to select numeric codes if required. A full list of the
Result codes is provided in the following table:
www.westermo.com
Numeric Code Verbose CodeMeaning
0OKCommand line executed correctly
1CONNECTISDN connection established
2RINGIncoming ring signal detected
3NO CARRIERX.25 service not available
4ERRORError in command line
6NO DIALTONEISDN service not available
7BUSYB-channel(s) in use
8NO ANSWERNo response from remote
“S” Registers 3.1.4
“S” (Special) registers are registers in the unit that are used to store certain types of configuration
infor mation. They are essentially a “legacy” feature included to provide compatibility with software
that was originally designed to interact with modems. A full list of the registers is provided under
the section heading “S registers”.
6622-3201
25
www.westermo.com
Web Interface and Command Line Reference Guide
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.
26
6622-3201
Web Interface and Command Line Reference Guide
The Active Port 3.2.2
When entering “AT” or text commands it is important to understand that in most cases, the command only affects the settings for the “active” port. This is usually the port to which you are physically con nected but you may, if necessary, set the active port to another port of your choice using
the “AT\PORT=N” command where “N” is 0-3.
Establishing a Remote Connection 3.3
Once you have finished configuring the unit, there are several ways of establishing a link to a remote
system:
.
An outgoing V.120 call may be made using the “ATD” command •
You can initiate a DUN session to establish a dial-up PPP connection. •
An outgoing X.25 call may be made using the “ATD” command followed by the X.28 CALL •
command.
An outgoing TPAD (Transaction PAD) call may be made by using the TPAD “a” (address) •
command followed by the appropriate NUA (this is normally only carried out under software control).
Similarly, incoming calls will be handled according to which protocols have been bound to the ASY
ports and whether or not answering is enabled for each protocol.
www.westermo.com
6622-3201
27
www.westermo.com
Web Interface and Command Line Reference Guide
Confi guring your unit4
This section describes the various configuration parameters for the unit and how to set or change
them using the built-in web pages or the text commands. Configuration using the Web pages is
achieved by entering the required values into text boxes or tables on the page, or by turning features on or off using checkboxes. The same results can be achieved entering the appropriate text
commands via one of the serial ports.
Note:
The WEB pages are arranged in two tiers. The initial WEB page displayed, is the basis setup
page were many of the most often used features have been grouped together. For more
advanced configuration option the “Full Menu” option can be selected. This will give the user
access to all the advanced features detailed in section 4.4 onwards.
Logging In 4.1
To configure the unit via the Web interface, either establish a DUN connection to it and then open
your web browser and enter 1.2.3.4 for the web address, or enter the unit’s Ethernet IP address
(192.168.0.99) into your web browser after configuring your PC to have an address on the same
sub net. You will be presented with a login page similar to the following:
28
6622-3201
Web Interface and Command Line Reference Guide
The default Username and Password are “username” and “password” respectively. Enter these and
click the Login button to access the configuration pages. The password will be displayed as a series
of dots for security purposes. Correct entry of the username and password will display the main
oper ations page similar to that shown below.
www.westermo.com
Note:
The display the DR-25 Applet, JAVA must first be downloaded, installed and enabled within the
Internet Explorer.
Clicking on the Click to load Applet graphics! button will display a representation of the front panel
of your unit that will be updated every few seconds to show the actual status of the LED indicators.
The model number of your unit will be shown at the top of the screen. The unit’s serial number and
ID are shown below the front panel representation.
Down the left side of the page you will see a directory tree listing the various folders and pages
that are available.
Each folder may be preceded by a small “+” symbol and a closed folder icon indicating that it can
be expanded to reveal sub-pages or folders. To do this, click anywhere on the appropriate line. The
closed folder icon will change to an open folder icon and the “+” symbol will change to “-”. Clicking
on the line again will hide the sub-options. Where there are no sub-pages, a web-page icon is shown
next to the page title. Clicking on this will display the associated web page. The following sections
describe how to use these pages to configure and monitor the operation of your unit.
6622-3201
29
www.westermo.com
Web Interface and Command Line Reference Guide
Confi guring and Testing W-WAN Models 4.2
Refer to the Configure > W-WAN Module section of this guide to configure your router for the
correct APN and PIN code (if any).
You can now power up your unit and test connection to the wireless network. If you have correctly con figured everything, the W-WAN SIM indicator on the front panel should illuminate green
to show that a W-WAN enabled SIM card is present. The unit will now attempt to log on to the
specified GPRS network and if it is able to do so, the W-WAN NET indicator will illuminate steady.
Data passing to and from the network will be reflected by the status of the DAT indicator, which
will flash alternatively red and green. If you are unable to connect to the network, go to the Status
> W-WAN Module web page and press the Refresh button. The page should appear similar to the
following:
Note:
The signal strength is shown in “negative dB”, which means that the stronger the signal, the
lower the number. As a guide -51dB would be a very strong signal, only normally obtained very
close to a cell site. -115dB represents no signal. If your unit reports -115dB try reorienting the
antenna or consider adding an external antenna.
Signal Strength Indicators 4.2.1
On units equipped with GPRS modules, there are three LEDs on the front panel that will indicate
the strength of the signal, as shown in the table below.
LEDs LitSignal Strength
NoneUnder -113 dBm (effectively no signal)
1-112 dBm to -87 dBm (weak signal)
2-86 dBm to -71 dBm (medium strength signal)
3-70 dBm to -51 dBm (strong signal)
The minimum recommended strength indication is 2 LEDs. If you have no or 1 LEDs lit, it is recommended that you fit an external antenna to the unit.
30
6622-3201
Loading...
+ 430 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.