Westermo MR Series User Manual

Web Interface and
Command Line
6622-3201
MR-250, DR-250
MR-200
3G Router ADSL Router GPRS Router
www.westermo.com
www.westermo.com
Web Interface and Command Line Reference Guide
Legal information
The contents of this document are provided “as is”. Except as required by applicable law, no war­ranties 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 reli­ability or contents of this document. Westermo reserves the right to revise this document or with­draw it at any time without prior notice.
Under no circumstances shall Westermo be responsible for any loss of data or income or any spe­cial, 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 Type Meaning
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 com­mand line.
refers to the unit’s web-based menu system.
www.westermo.com
6622-3201
3
www.westermo.com
Web Interface and Command Line Reference Guide
Table of Contents
1. ........................................... Typographical Conventions ................................................... 3
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
3.1.1 ................................... Command Prefix ........................................................................................ 24
3.1.2 ................................... The Escape Sequence ................................................................................25
3.1.3 ...................................Result Codes ............................................................................................... 25
3.1.4 ................................... “S” Registers ............................................................................................... 25
3.2 .............................................. Westermo Application Commands ....................................................... 26
3.2.1 ................................... The Reboot Command ............................................................................26
3.2.2 ...................................The Active Port ..........................................................................................27
3.3 .............................................. Establishing a Remote Connection ........................................................ 27
4............................................ Configuring your unit ............................................................ 28
4.1 .............................................. Logging In ..................................................................................................... 28
4.2 .............................................. Configuring and Testing W-WAN Models ............................................ 30
4.2.1 ................................... Signal Strength Indicators .........................................................................30
4.3 .............................................. The Configuration Pages .......................................................................... 31
4.4 .............................................. Configure > ADAPT > ADAPT n ...........................................................32
4.5 .............................................. Configure > Analyser ................................................................................ 35
4.6 .............................................. Configure > ASY Ports > ASY Port n ...................................................42
4.7 .............................................. Configure > TRANSIP ASY Ports ...........................................................45
4.8 .............................................. Configure > Backup IP Addresses ..........................................................47
4.9 .............................................. Configure > Basic .......................................................................................48
4.10 ............................................ Configure > BGP ........................................................................................ 49
4.11 ............................................ Configure > Certificates > Certificate request .................................. 59
4.12 ............................................ Configure > Certificates > SCEP ........................................................... 61
4.13 ............................................ Configure > Certificates > Utilities ....................................................... 63
4.14 ............................................ Configure > Calling Numbers ................................................................. 65
4.15 ............................................ Configure > Command Filters ................................................................ 66
4.16 ............................................ Configure > Command Mappings .......................................................... 67
4.17 ............................................ Configure > DHCP Servers > Ethernet Port n .................................68
4.18 ............................................ Configure > DHCP Options > DHCP option n ................................ 71
4.19 ............................................ Configure > DHCP Server > MAC –>IP Addresses .........................72
4.20 ............................................ Configure > DNS Server selection > DNS server selection n ...... 73
4.21 ............................................ Configure > DNS Server Update .......................................................... 75
4.22 ............................................ Configure > DSL > ADSL ........................................................................ 78
4.23 ............................................ Configure > DSL > ATM PVCs > PVC n ............................................. 80
4.24 ............................................ Configure > Dynamic DNS ..................................................................... 82
4.25 ............................................ Configure > Ethernet > ETH n .............................................................. 84
4.26 ............................................ Configure > Ethernet > ETH n > QOS ............................................... 93
............................................Configure > Ethernet > ETH n > VRRP Probing ............................... 95
4.27
4.28 ............................................ Configure > Ethernet > MAC Filters .................................................... 97
4
6622-3201
Web Interface and Command Line Reference Guide
4.29 ............................................ Configure > Ethernet > VLANs .............................................................. 98
4.30 ............................................ Configure > Event Handler ...................................................................100
4.31 ............................................ Configure > Event Logcodes ................................................................. 105
4.31.1 ................................. Configuring Events ...................................................................................105
4.31.2 ................................. Configuring Reasons ................................................................................ 107
4.32 ............................................ Configure > Firewall ................................................................................109
4.33 ............................................ Configure > Firewall Options ...............................................................111
4.34 ............................................ Configure > FTP Client ..........................................................................113
4.35 ............................................ Configure > FTP Relay Agents > RELAY n ........................................ 114
4.36 ............................................ Configure > General ............................................................................... 117
4.37 ............................................ Configure > IP Routes > RIP > RIP update options .......................125
4.38 ............................................ Configure > IP Routes > RIP > RIP access list .................................126
4.39 ............................................ Configure > IP Routes > Route n ........................................................127
4.40 ............................................ Configure > IP Routes > RIP > Authentication keys > Key n .......131
4.41 ............................................ Configure > IP Routes > Default Route n .........................................133
4.42 ............................................ Configure > IPSec ....................................................................................133
4.43 ............................................ Configure > IPSec > DPD .....................................................................134
4.44 ............................................ Configure > IPSec > IKE > MODECFG > Static NAT Mappings .136
4.45 ............................................ Configure > IPSec > IKE > IKE n .........................................................138
4.46 ............................................ Configure > IPSec > IKE > Responder ...............................................141
4.47 ............................................ Configure > IPSec > IKEv2 > IKEv2 n ................................................146
4.48 ............................................ Configure > IPSec > IKEv2 > Responder ..........................................148
4.49 ............................................ Configure > IPSec > IPSec Egroups > Egroup n ...............................150
4.50 ............................................ Configure > IPSec > IPSec Eroutes > Eroute n ................................155
4.50.1 ................................. Setting up Eroutes for Multiple Users ................................................163
4.51 ............................................ Configure > IPSec > Default Eroute ...................................................164
4.52 ............................................ Configure > ISDN LAPB > LAPB n .....................................................165
4.53 ............................................ Configure > ISDN LAPD > LAPD n ...................................................168
4.54 ............................................ Configure > L2TP > L2TP n .................................................................171
4.55 ............................................ Configure > OSPF ....................................................................................174
4.56 ............................................ Configure > PPP .......................................................................................177
4.57 ............................................ Configure > PPP > MLPPP .....................................................................178
4.58 ............................................ Configure > PPP > External Modems > External Modem n .........181
4.59 ............................................ Configure > PPP > Sub-Configs > Sub-Config n ..............................183
4.60 ............................................ Configure > PPP > PPP n > Standard .................................................184
4.61 ............................................ Configure > PPP > PPP n > Advanced ................................................192
4.62 ............................................ Configure > PPP > PPP n > PPP/IP Over X25 .................................200
4.63 ............................................ Configure > PPP > PPP n > QOS ........................................................202
4.64 ............................................ Configure > PPTP ....................................................................................204
4.65 ............................................ Configure > Protocol Bindings ............................................................. 206
4.65.1 ................................. Binding TANS to ADAPT ........................................................................206
4.66 ............................................ Configure > Protocol Switch ................................................................ 207
4.67 ............................................ Configure > Protocol Switch > CUD Mappings ..............................215
4.68 ............................................ Configure > Protocol Switch > NUA Mappings ...............................216
4.69 ............................................ Configure > PSTN Modem ....................................................................217
4.70 ............................................ Configure > Quality of Service ............................................................218
4.70.1 ................................. Introduction ...............................................................................................218
4.70.2 ................................. Basic Operation ........................................................................................218
4.71 ............................................ Configure > Quality of Service > DSCP Mappings ..........................220
4.72 ............................................ Configure > Quality of Service > Q Profiles > Q Profile n ..........221
4.73 ............................................ Configure > RADIUS client ...................................................................223
4.74 ............................................ Configure > SMS Edit ..............................................................................226
4.75 ............................................ Configure > SMTP ...................................................................................227
4.76 ............................................ Configure > SNAIP > SNAIP n ............................................................229
www.westermo.com
6622-3201
5
www.westermo.com
4.77 ............................................ Configure >SNMP .................................................................................... 235
4.78 ............................................ Configure >SNMP Filters .......................................................................237
4.79 ............................................ Configure >SNMP > Trap Servers > Trap Server n .........................238
4.80 ............................................ Configure >SNMP > Users > User n .................................................240
4.81 ............................................ Configure > STP .......................................................................................242
4.82 ............................................ Configure > NTP .....................................................................................244
4.83 ............................................ Configure > SNTP ...................................................................................246
4.84 ............................................ Configure > SSH server .........................................................................248
4.84.1 ................................. Complete SSH Configuration ...............................................................251
4.84.2 ................................. SSH Authentication with a public/private keypair. ............................252
4.85 ............................................ Configure > SSL clients > SSL Client n ..............................................253
4.86 ............................................ Configure > SSL server ..........................................................................254
4.87 ............................................ Configure > Static Multicast Routes ...................................................255
4.88 ............................................ Configure > Static NAT Mappings .......................................................256
4.89 ............................................ Configure > SYNC Ports > SYNC n ..................................................258
4.90 ............................................ Configure > Syslog Clients > Syslog n ................................................ 259
4.91 ............................................ Configure > System Messages ..............................................................261
4.92 ............................................ Configure > TACACS+ ...........................................................................262
4.93 ............................................ Configure > TANS > TANS n ................................................................264
4.94 ............................................ Configure > Time .....................................................................................267
4.95 ............................................ Configure > Time Bands > Time Band n ............................................268
4.96 ............................................ Configure > TPAD > TPAD Statistics ..................................................270
4.97 ............................................ Configure > TPAD > TPAD n ...............................................................271
4.98 ............................................ Configure > Tunnel (GRE) .....................................................................280
4.99 ............................................ Configure > UDP Echo Client/Server > UDP Echo n ....................283
4.100 ......................................... Configure > Users > User n .................................................................285
4.101 ......................................... Configure > VXN client ..........................................................................288
4.102 ......................................... Configure > W-WAN ..............................................................................291
4.102.1 ............................... Additional Configuration for wireless .................................................296
4.103 ......................................... Configure > W-WAN module > Cell Monitor .................................297
4.104 ......................................... Configure > X25 > NUI Mappings ...................................................... 299
4.105 ......................................... Configure > X25 ......................................................................................300
4.106 ......................................... Configure > X25 > Macros ...................................................................302
4.107 ......................................... Configure > X25 > IP–>X25 Calls ......................................................303
4.108 ......................................... Configure > X25 > NUA/NUI–>Interface ........................................306
4.109 ......................................... Configure > X25 > PADs > PAD n .....................................................308
4.110 ......................................... Configure > X25 > PADs > PAD n > Parameters ..........................313
4.110.1 ............................... PAD Recall Character .............................................................................313
4.110.2 ............................... Echo .............................................................................................................313
4.110.3 ............................... Data Forwarding Characters .................................................................313
4.110.4 ............................... Idle Timer Delay .......................................................................................314
4.110.5 ............................... Ancillary Device Control .......................................................................314
4.110.6 ............................... Suppression of PAD Service Signals ....................................................314
4.110.7 ............................... Action on Break (from DTE) ................................................................314
4.110.8 ............................... Discard Output ........................................................................................315
4.110.9 ............................... Padding after CR ......................................................................................315
4.110.10 ............................. Line Folding ...............................................................................................315
4.110.11 ............................. Port Speed .................................................................................................315
4.110.12 ............................. Flow Control of PAD (by DTE) ........................................................... 315
4.110.13 ............................. LF Insertion (after CR) ........................................................................... 316
4.110.14 ............................. LF Padding ..................................................................................................316
4.110.15 ............................. Editing .........................................................................................................316
4.110.16 ............................. Character Delete Character .................................................................316
4.110.17 ............................. Line Delete Character ............................................................................316
Web Interface and Command Line Reference Guide
6
6622-3201
Web Interface and Command Line Reference Guide
4.110.18 ............................. Line Redisplay Character .......................................................................316
4.110.19 ............................. Editing PAD Service Signals ...................................................................317
4.110.20 ............................. Echo Mask ..................................................................................................317
4.110.21 ............................. Parity Treatment .......................................................................................317
4.110.22 ............................. Page Wait ...................................................................................................318
4.111 ......................................... Configure > X25 > PVCs > PVC n .....................................................319
4.112 ......................................... Saving Configuration Settings. ............................................................... 321
4.112.1 ............................... Config Files ................................................................................................321
4.112.2 ............................... SREGS.DAT ................................................................................................321
4.112.3 ............................... PWDS.DA0 ................................................................................................321
4.112.4 ............................... Factory Reset ............................................................................................322
4.112.5 ............................... Universal config.da0 using tags .............................................................322
5............................................ Statistics Pages .................................................................... 324
5.1 .............................................. Statistics > ATM PVCs > PVC n ...........................................................325
5.2 .............................................. Statistics > ADAPT > ADAPT n ...........................................................325
5.3 .............................................. Statistics > ADSL ......................................................................................326
5.4 .............................................. Statistics > ASY Ports ............................................................................. 326
5.5 .............................................. Statistics > DNS Update ........................................................................327
5.6 .............................................. Statistics > Ethernet > ETH n ..............................................................328
5.7 .............................................. Statistics > Ethernet > ETH n > QOS ...............................................329
5.8 .............................................. Statistics > Firewall ..................................................................................330
5.9 .............................................. Statistics > W-WAN Port ......................................................................330
5.10 ............................................ Statistics > IP .............................................................................................331
5.11 ............................................ Statistics > PPP > PPP n .........................................................................332
5.11.1 ................................. PPP n Stats .................................................................................................332
5.11.2 ................................. Transaction Stats ...................................................................................... 333
5.12 ............................................ Statistics > PPP > PPP n > QOS ..........................................................333
5.13 ............................................ Statistics > SYNC Channels ..................................................................334
5.13.1 ................................. ISDN D Channel ......................................................................................334
5.13.2 ................................. ISDN B1 Channel .....................................................................................335
5.13.3 ................................. ISDN B2 Channel .....................................................................................335
5.13.4 ................................. Physical Port 0 ..........................................................................................336
5.14 ............................................ Statistics > TPAD > TPAD n ..................................................................336
5.14.1 ................................. TPAD Stats ................................................................................................336
5.14.2 ................................. Layer 3 X25 Stats .....................................................................................338
5.14.3 ................................. Layer 2 LAPB Stats ..................................................................................338
5.14.4 ................................. Layer 1 B1 Sync Stats ..............................................................................339
5.14.5 ................................. Layer 2 LAPD Stats .................................................................................340
5.14.6 ................................. D Channel Stats .......................................................................................340
5.14.7 ................................. Layer 1 D Sync Stats ............................................................................... 341
5.15 ............................................ Statistics > X25 PADs > PAD n ..........................................................342
5.15.1 ................................. Layer 3 X25 Stats .....................................................................................342
5.15.2 ................................. Layer 2 LAPD Stats .................................................................................342
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.1 ................................... COPY Copy File .......................................................................................362
7.2.2 ................................... DEL Delete File ........................................................................................362
7.2.3 ................................... DIR List File Directory ............................................................................363
7.2.4 ................................... FLOCK Lock Files ...................................................................................363
7.2.5 ................................... FUNLOCK Unlock Files ........................................................................ 363
7.2.6 ................................... MOVE Move File ......................................................................................363
7.2.7 ................................... REN Rename File ..................................................................................... 363
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
7.3.6 ...................................USB Security .............................................................................................366
7.3.7 ................................... Disable/Enable the USB ports ...............................................................367
8............................................ SQL Commands .................................................................. 369
9............................................ Using V.120 ........................................................................... 372
9.1 .............................................. Initial Set Up ..............................................................................................372
9.2 .............................................. Initiating a V.120 Call ...............................................................................372
9.3 .............................................. Answering V.120 Calls .............................................................................373
10 .........................................Answering ISDN Calls ......................................................... 374
10.1 ............................................ Protocol Entities .......................................................................................374
10.2 ............................................ Multiple Subscriber Numbers ...............................................................375
10.3 ............................................ Multiple PPP Instances ............................................................................375
11 .........................................X.25 Packet Switching ........................................................ 376
11.1 ............................................ Introduction ...............................................................................................376
11.2 ............................................ B-channel X.25 .........................................................................................376
8
6622-3201
Web Interface and Command Line Reference Guide
11.3 ............................................ D-channel X.25 .........................................................................................376
11.4 ............................................ X.28 Commands ...................................................................................... 377
11.4.1 ................................. CALL Make an X.25 Call .......................................................................377
11.4.2 ................................. Aborting a CALL ......................................................................................379
11.4.3 ................................. CLR Clear an X.25 Call .........................................................................381
11.4.4 ................................. ICLR Invitation To CLR ...........................................................................381
11.4.5 ................................. INT Send Interrupt Packet ....................................................................381
11.4.6 ................................. LOG Logoff and Disconnect .................................................................381
11.4.7 ................................. PAR? List Local X.3 Parameters ...........................................................381
11.4.8 ................................. PROF Load/Save PAD Profile ................................................................382
11.4.9 ................................. RESET Send Reset Packet ......................................................................383
11.4.10 ............................... RPAR? Read Remote X.3 Parameters .................................................383
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.2.3 ................................. AES (128-bit key) .....................................................................................386
13.3 ............................................ What is a VPN? .........................................................................................386
13.4 ............................................ The Benefits of IPSec ..............................................................................386
13.5 ............................................ X.509 Certificates ....................................................................................387
www.westermo.com
14 .........................................The Event Log ...................................................................... 389
14.1 ............................................ What is the Event Log? ..........................................................................389
14.2 ............................................ The LOGCODES.TXT File ...................................................................390
14.2.1 ................................. Event Blocks .............................................................................................391
14.2.2 ................................. Reason Blocks ...........................................................................................391
14.2.3 ................................. Editing the File ..........................................................................................391
15 ......................................... Firewall Scripts .................................................................... 392
15.1 ............................................ Introduction ...............................................................................................392
15.2 ............................................ Firewall Script Syntax ..............................................................................392
15.2.1 ................................. Labels ..........................................................................................................392
15.2.2 ................................. Comments .................................................................................................392
15.2.3 ................................. Filter Rules .................................................................................................393
15.3 ............................................ Specifying IP Addresses and Ranges .....................................................397
15.4 ............................................ Address/Port Translation ........................................................................398
15.5 ............................................ Filtering on Port Numbers ....................................................................398
15.6 ............................................ Filtering on TCP Flags .............................................................................400
15.7 ............................................ Filtering on ICMP Codes .......................................................................401
15.8 ............................................ Stateful Inspection ....................................................................................402
15.8.1 ................................. Using [inspect-state] with Flags ............................................................403
15.8.2 ................................. Using [inspect-state] with ICMP ..........................................................403
15.8.3 ................................. Using [inspect-state] with the Out Of Service Option ..................404
15.8.4 ................................. Using [inspect-state] with the Stat Option .......................................405
15.8.5 ................................. Assigning DSCP Values ............................................................................405
15.9 ............................................ The FWLOG.TXT File ...........................................................................406
15.9.1 ................................. Log File Examples .....................................................................................407
6622-3201
9
www.westermo.com
Web Interface and Command Line Reference Guide
15.10 ......................................... Further [inspect-state] Examples .........................................................408
15.11 ......................................... Debugging a Firewall ...............................................................................410
16 ......................................... Remote Management .......................................................... 411
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.2 ................................. Dialling Stored Numbers .......................................................................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.5 ............................................ &F Load Factory Settings ....................................................................... 414
17.6 ............................................ &R CTS Control ......................................................................................414
17.7 ............................................ &V View Profiles ....................................................................................... 414
17.8 ............................................ &W Write SREGS.DAT ..........................................................................415
17.9 ............................................ &Y Set Default Profile .............................................................................415
17.10 ......................................... &Z Store Phone Number ......................................................................415
17.11 ......................................... \AT Ignore Invalid AT Commands ........................................................416
17.12 ......................................... \LS Lock Speed .........................................................................................416
17.13 ......................................... \PORT Set Active Port ............................................................................416
17.14 ......................................... \smib Commands .....................................................................................417
17.14.1 ............................... System .........................................................................................................417
17.14.2 ............................... Interfaces ....................................................................................................418
17.14.3 ............................... IP ..................................................................................................................419
18 ......................................... “S” Registers ........................................................................ 421
18.1 ............................................ S0 V.120 Answer Enabled ........................................................................421
18.2 ............................................ S1 Ring count ............................................................................................421
18.3 ............................................ S2 Escape Character ...............................................................................422
18.4 ............................................ S12 Escape Delay .....................................................................................422
18.5 ............................................ S15 Data Forwarding Timer ..................................................................422
18.6 ............................................ S23 Parity ................................................................................................... 422
18.7 ............................................ S31 ASY Interface Speed ........................................................................ 422
18.8 ............................................ S33 DTR Dialling ......................................................................................423
18.9 ............................................ S45 DTR Loss De-Bounce
.....................................................................423
19 .........................................General System Commands .............................................. 424
19.1 ............................................ CONFIG Show/Save Configuration .....................................................424
19.2 ............................................ Config changes counter ..........................................................................424
19.3 ............................................ REBOOT Reboot Unit ...........................................................................425
19.4 ............................................ Reset router to factory defaults ..........................................................425
19.5 ............................................ Disabling the reset button .....................................................................425
19.6 ............................................ TEMPLOG Temperature monitoring ...................................................425
19.7 ............................................ ADSL ...........................................................................................................426
19.8 ............................................ Ping and Traceroute .................................................................................426
10
6622-3201
Web Interface and Command Line Reference Guide
20 ......................................... TCPPERM and TCPDIAL ................................................... 427
20.1 ............................................ TCPPERM ..................................................................................................427
20.2 ............................................ TCPDIAL ...................................................................................................428
20.2.1 ................................. Aborting TCPDIAL ..................................................................................428
21 .........................................Serial Port Connections ...................................................... 429
21.1 ............................................ MR-200, MR-250, DR-250 .......................................................................429
21.1.1 ................................. Port Pin-Outs ............................................................................................429
21.1.2 ................................. X.21 25-Pin to 15-Pin Straight Through Cable – Internal Clock ..430
21.1.3 ................................. X.21 25-Pin to 15-Pin Straight Through Cable – External Clock 431
21.1.4 ................................. X.21 25-Pin to 15-Pin Crossover Cable – Internal Clock .............432
21.1.5 ................................. X.21 25-Pin to 15-Pin Crossover Cable – External Clock ............433
21.2 ............................................ RS-232 (V.24) Serial Cable Wiring .......................................................434
22 ......................................... LOGCODES.TXT ................................................................ 439
23 ......................................... Email Templates ................................................................... 453
23.1 ............................................ Template Structure ..................................................................................453
23.1.1 ................................. The Header Section ................................................................................453
23.1.2 ................................. Other Fields ..............................................................................................453
23.1.3 ................................. Body Section .............................................................................................454
www.westermo.com
24 ......................................... Glossary ................................................................................ 456
6622-3201
11
www.westermo.com
Web Interface and Command Line Reference Guide
Using the Web Interface2
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 network­ing) 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 differ­ent 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 connec­tion 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 HyperTermi­nal™ (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 fea­tures 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 sys­tem 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 mes­sage “OK”. This message is issued after successful completion of each command. If an invalid com­mand 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 connec­tion 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 charac­ters 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 wheth­er 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 Code Meaning
0 OK Command line executed correctly
1 CONNECT ISDN connection established
2 RING Incoming ring signal detected
3 NO CARRIER X.25 service not available
4 ERROR Error in command line
6 NO DIALTONE ISDN service not available
7 BUSY B-channel(s) in use
8 NO ANSWER No 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 com­mand only affects the settings for the “active” port. This is usually the port to which you are physi­cally 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 soft­ware 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 fea­tures 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 cor­rectly 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 Lit Signal Strength
None Under -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 recom­mended that you fit an external antenna to the unit.
30
6622-3201
Loading...
+ 430 hidden pages