Telnet / HTTP Configuration

ADSLM configuration is a two step process.

1. Telnet or HTTP configuration.
2. Data acquisition configuration.

Telnet or HTTP configuration:

The standard version of ADSLM communicates with the modem or router using a telnet or http connection. Once the initial telnet or http connection is stablished and the login is successful then ADSLM can issue data acquisition commands to the modem or router.

ADSLM distinguishes between a telnet or http connection by formating the 'ip address' field with the prefix 'http://' followed by the modem's ip address and the initial startup page. For example, if your modem's ip adress is '192.168.0.1' the initial startup page is 'techreadout.html' and the connection is via http then this field should contain 'http://192.168.0.1/techreadout.html'

IP Address:

IP address of the modem. ie. 10.0.0.1
FQDN of the modem. ie. myrouter.mydomain.com
HTTP address of the modem. ie. http://192.168.0.1.techreadout.html

Login Sequence:

This field contains the string sequence needed to connect to the router. A '^M' represents a carriage return. In the example above ADSL Monitor will wait for the Login Prompt Username: and then it will send user ^M password ^M terminal length 200 ^M. A '^M' must be placed at the end of this field.

Show Command 1,2:

This fields contain the commands needed to display other router statistics. Many commands can be concatenated into on single string separated by '^M' carriage returns. A '^M' must be placed at the end of this field.

Conditional Command:

This field has this format IF, [SNRD] | [CRCD] | [HDRD], [<] | [>], Value, THEN, [execute a router command^M] [WAIT] n , [execute a router command^M], [WAIT] n, ENDIF

Note: Words are case sensitive and shown spaces are required. The first 5 words must match the conditional statement (IF XXXD O V THEN ...)

The keywords IF and ENDIF must be placed at the start and end of the conditional statement. The first five words must match the conditional command format. Any combination of WAIT n and router commands can be placed anywhere after the THEN keyword.

For example: IF SNRD < 5.0 THEN command1^M WAIT 10000 command2^M command3^M WAIT 5000 command4^M ENDIF Is a valid conditional statement.

Any router command that will make the router loose connectivity on the monitoring interface should be placed at the end. For example the following command wil reboot the cisco 837 when the noise margin falls below 10db and then wait 5 seconds before reconnecting and start collecting data again. IF SNRD < 10 THEN reload^M^M WAIT 5000 ENDIF

SNRD = noisemargin down, CRCD = CRC errors down, HDRD = header errors down, Value = decimal number, n = milliseconds to wait after conditional command is executed tha default value is 1000 milliseconds ( 1 sec ).

Prompt:

This fields contains the 'ready to accept commands' router prompt. Careful attention must be placed in trailing spaces.

Interval:

The data gathering interval in milliseconds (ms)The example above shows 5000 ms or 5 seconds.

Statistics filename:

The file name for the statistics file.

DMT Matrix filename:

The file name for the DMT matrix statistics file.

Login Prompt:

The initial login prompt. ADSLMonitor will wait for this prompt before sending the login information. Careful attention must be placed in trailing spaces.

Password Prompt:

The initial login password prompt. ADSLMonitor will wait for this prompt before sending the login password information. Careful attention must be placed in trailing spaces. This command is not needed if multiple commands are concatenated into a single command. Currently inactive.


feedback Copyright © 2000-2017 by Dohrenburg Systems' Web Development Team.
Legal Stuff. Viewing of this website signifies your agreement.
Dohrenburg Systems Privacy Policy.
Please report any problems with this website to the Webmaster.
Last Update: October 8, 2014