ST510 Undocumented CLI Commands



Found at SpeedtTouch 510 V5 Info. Note that part of it also applies to ST716.

USE AT YOUR OWN RISK!!!

The following commands apply to the latest firmware (4.2.10.0.0).

Command Groups

[adsl]=>config status

Parameters :
[status = <{down|up}>]
The administrative state of the interface.

[wizard]=>help
Following commands are available :

config : configuration of embedded wizard
def : Profile definition.
view : View active profile
flush : Clear active profile

[diag]=>help
Following commands are available :

config : Configure diagnostics settings
ifhide : Specify interfaces to hide
iflist : List (dynamically generated at webpage load) of all
interfaces to be diagnosed (debug command)
ifconfig : Configure pingoption and/or ip-address for connection
flush : Flush all hidden interfaces and ifconfigurations

[dnsc]=>help
Following commands are available :

add : Add a DNS server.
config : Modify the DNS resolver configuration.
delete : Delete a DNS server.
flush : Remove all DNS servers.
list : List all DNS servers.
nslookup : DNS lookup for a domain name or an address.

[stream]=>help
Following commands are available :

info : Shows all modules with some info.
list : List the currently known streams. (most recent first.)
desc : Describes a stream by ID.
dump : Hexdump the stream cache.
enable : Enables the stream cache (default).
disable : Disables the stream cache.
flush : Flushes the stream cache.
stats : Displays memory/cache statistics.

[dhcp server]=>config spoofing
Missing parametervalue at the end of command :
:dhcp server config spoofing
[spoofing = <{off|on}>]
Enable/disable DHCP handing out addresses negotiated by PPP on WAN side.

The following speedtouch debug commands can be executed

ip dt match [match] …
match == <offset>,<size>,<byte1>,<byte2>,…
<offset> : byte offset in pdu to start match
<size> : specifies size of match
<byte> : ’size’ 8-bit values to match
e.g. :
dt 12,4,192,0,0,1 16,4,255,255,255,255 matches all broadcasts from 192.0.0.1
: Define/add new ip trace
ip lt : List ip trace(s)
ip ct trace_num [trace_num] …: Clear/delete ip trace(s) (’*’ = all)
ip -t : Disable tracing
ip +t : Enable tracing
sea bstats : Show periodic bridge statistics.
sea istats : Show interrupt statistics.
sea pstats [<port>[’-'<port>]] : Show port statistics.
sea clear : Clear statistics.
sea sq [’-a’] | ([’-b’ [’-h’]][’-[serw]’][<queue> [<limit>]])
: Show SEA queue info.
upnp stats : Print upnp statistics
upnp search : Send out test SSDP MSearch message
mdap search : Sends out a MDAP search datagram
mdap tron : Enables mdap trace
mdap troff : Disables mdap trace
eth stats [<intf>] : Show Ethernet interface statistics.
eth clear [<port>] : Clear Ethernet port statistics.
eth trace [<port>][<mode>] : Toggle tracing of Ethernet frames.
Mode is a set of filter bits:
(1=others, 2=LLC, 4=ARP, 8=IP)
eth <len> : Set the length of traced frames.
sachem get_config : Get current modem configuration.
sachem get_state : Get current modem state.
sachem activate_performance [time]
: Activate the performance reports every time sec.
sachem deactivate_performance : Deactivate the performance reports.
sachem get_data {dataType} : Get data from modem.
sachem do : ?
tdsl LOVTest : Longitudinal Output Voltage
tdsl LCLTest : Longitudinal Conversion Loss
atm otrace : Toggle OAM F4/F5 tracing.
atm sxt : Show the full/VPL/VCL Cross-connect table.
atm stt : Show the Traffic descriptor table.
atm svt : Show the full/VPL/VCL table.
atm tvc <prt> <vp> <vc> : Trace VP/VC toggle.
atm tlen <number> : Traced bytes per cell/frame.
atml stats : Show ADSL0/AAL5/? statistics
atml pstats : ? statistics.
atml gstats : ? statistics.
atml istats : Show interrupt statistics.
atml dstats : Show detailed discard/congestion statistics.
atml clear : Clear statistics.
pptp ctrace [on/off] : set or toggle control flow tracing
pptp dtrace [on/off] : set or toggle data flow tracing
dbg spt [-m <module>] [-l <prio>]
: Set priority and
[-f <fgcolor>] [-b <bgcolor>]
: colors of print module(s).
dbg fvt <vtrace> : Flush contents of vs-traces.
dbg spo [<time | module> on | off]
: Set (Get) trace output format.
dbg cpuload -t : Toggle load calculation on or of.
dbg cpuload -s : Show load calculation.
dbg cpuload -c [<count>] : Calibrate load calculation.
err stats : Show Error statistics.
err stats -c : Clear Error statistics.

Some Examples

[td]=>call

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

cmd = atml stats 1
:td call cmd=”atml stats 1″
Periodic statistics enabled - period = 1 seconds.

Press [ALT + Q] to start console logging, [ALT + S] to stop.

(full downstream utilized.)

Port Name Rxed: cps - bps Txed: cps - bps HEC-errors Hdr-errors
—- —- —————- —————- ———- ———-
0 ADSL-0 7553 - 3202472 236 - 100064 0 0 <-
1 VOICE 0 - 0 0 - 0 0 0
2 ATMF25 0 - 0 0 - 0 0 0
4 AAL5 236 - 100064 7553 - 3202472 0 0
5 CELL 0 - 0 0 - 0 0 0

(full upstream utilized.)

Port Name Rxed: cps - bps Txed: cps - bps HEC-errors Hdr-errors
—- —- —————- —————- ———- ———-
0 ADSL-0 78 - 33072 1813 - 768712 0 0 <-
1 VOICE 0 - 0 0 - 0 0 0
2 ATMF25 0 - 0 0 - 0 0 0
4 AAL5 1813 - 768712 78 - 33072 0 0
5 CELL 0 - 0 0 - 0 0 0

For a fully utilized link, values 3202472 DS and 768712 US, should be close
to the reported sync speeds:

[td]=>call cmd=”sachem get_data [{far_ch_fast|near_ch_fast|far_ch_interl|near_ch_interl}]”

Channel operational data report

Downstream used ATM rate Fast : 3200 kbit/sec (= 3.200.000 bit/s)
Upstream used ATM rate Fast : 768 kbit/sec (= 768.000 bit/s)

[td]=>:td call cmd=”sachem get_data pm”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Performance counters report

Near end : Upstream
Far end : Downstream

NearEnd : Fec NI = 0
Fec I = 0
Crc NI = 0
Crc I = 0
Hec NI = 0
Hec I = 0
Tot I = 0
Tot NI = 8410
Act I = 0
Act NI = 36
BER I = 0
BER NI = 0
FarEnd : Fec NI = 0
Fec I = 0
Crc NI = 0
Crc I = 0
Hec NI = 0
Hec I = 0

[td]=>:td call cmd=”sachem get_data fm”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Defects poll report

Near End present alarms :
Near End alarms state change occurred :
Far End present alarms :
Far end alarms state change occurred :

[td]=>:td call cmd=”sachem get_data near_id”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Near end identification :
ITU_VendorId countryCode : 0
ITU_VendorId vendorCode : ALCB
ITU_VendorId vendorSpecific : 0
ITU_StandardRevisionNbr : 0
ANSI_ETSI_VendorId : 0
ANSI_ETSI_VendorRevisionNbr : 0
ANSI_ETSI_StandardRevisionNbr : 0
ALC_ManagementInfo : 0

[td]=>:td call cmd=”sachem get_data far_id”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Far end identification :
ITU_VendorId countryCode : 0
ITU_VendorId vendorCode : ALCB
ITU_VendorId vendorSpecific : 0
ITU_StandardRevisionNbr : 0
ANSI_ETSI_VendorId : 0
ANSI_ETSI_VendorRevisionNbr : 0
ANSI_ETSI_StandardRevisionNbr : 0

[td]=>:td call cmd=”sachem get_data near_line”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Near End line operational data :
RelCapacity downstream = 48 pct
NoiseMargin downstream = 22.5 dB
OutputPower upstream = 4.5 dBm
Attenuation downsteam = 18.0 dB
Operational Mode = 2

[td]=>:td call cmd=”sachem get_data far_line”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Far end line operational data
relCapacity upstream = 77 pct
noiseMargin upstream = 8.0 dB
outputPower downstream = 12.5 dBm
Attenuation upstream = 7.0 dB
Carrier Load :
0 : 0 0 0 0 0 0 0 0 0 0
10 : 0 0 0 0 0 0 0 0 0 0
20 : 0 0 0 0 0 0 0 0 0 6
30 : 7 8 9 10 10 10 10 10 10 10
40 : 10 10 10 10 10 10 9 9 9 8
50 : 8 7 6 0 0 0 0 0 0 0
60 : 0 0 0 0 0 0 0 2 2 2
70 : 2 3 4 4 4 4 5 5 5 5
80 : 5 5 5 6 6 6 6 6 6 6
90 : 6 6 6 6 6 6 6 6 2 6
100 : 6 6 6 6 6 6 6 6 6 6
110 : 6 6 6 6 6 6 6 6 6 6
120 : 6 6 6 6 6 6 6 6 6 6
130 : 6 6 6 6 6 6 6 6 6 6
140 : 5 5 5 5 5 5 5 5 5 5
150 : 5 5 5 5 5 5 5 5 5 5
160 : 5 5 5 5 5 5 5 5 5 5
170 : 5 5 5 5 5 5 5 5 5 5
180 : 5 5 5 5 5 5 5 5 5 5
190 : 5 5 5 5 5 5 5 5 4 5
200 : 5 5 5 5 5 5 4 5 5 5
210 : 5 5 5 5 4 4 5 5 4 5
220 : 4 5 4 5 5 4 5 5 4 5
230 : 4 4 5 5 4 5 4 5 4 4
240 : 4 4 4 2 2 0 0 0 0 0
250 : 0 0 0 0 0 0

[td]=>:td call cmd=”sachem get_data near_ch_fast”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Channel operational data report

Downstream used ATM rate Fast : 3200 kbit/sec

[td]=>:td call cmd=”sachem get_data far_ch_fast”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Channel operational data report

Upstream used ATM rate Fast : 768 kbit/sec

[td]=>:td call cmd=”sachem get_config”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

CUSTOMER CONFIGURATION DATA :

US Power Cutback : 0
POTSoverlayOperationModes : 0
ISDNoverlayOperationModes : 0
POTSoverlayPermissions : [ 0] [ 0] [ 0] [ 0] [ 0] [ 0] [ 0] [ 0]
ISDNoverlayPermissions : [ 0] [ 0] [ 0] [ 0] [ 0] [ 0] [ 0] [ 0]

CarrierMask : [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
STATIC CONFIGURATION DATA :

UtopiaMode : 0
UtopiaFast : 0
UtopiaSlow : 0
Analog FrontEnd Id : 0
Max Bits Per Tone US : 13
Max Bits Per Tone DS : 14
GoldenMode : 0
T_ITU_VendorId : countryCode 0
: reserved 0
: vendorCode 0
: vendorSpecific 0
Max DS line rate : 65535
ManagementVersion : 0
serialNumber : [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
: [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
: [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
: [0] [0]
vendorRevMinusOne : 510 4.2.10.0.0
options : 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
vendorIdentif_ANSI_ETSI : 0
ISDN_extendedBandwidth : ISDN_EXT_BW_MODE_0_OR_POTS
modem_trace : TRACE_PRINT_OFF

POWER CONFIGURATION DATA :

powerStateControl : 8

[td]=>:td call cmd=”sachem get_state”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Current modem state : SHOWTIME.

[td]=>:td call cmd=”atml pstats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Port Rx0+1 Rx0 Tx0+1 Tx0 Disc0+1 Disc0 HEC Header
—- —– — —– — ——- —– — ——
0 1208693 1208693 205913 205865 0 0 0 0
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
4 205865 205865 1208693 1208693 0 0 0 0
5 0 0 0 0 0 0 0 0

[td]=>:td call cmd=”atml gstats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

# of incoming cells (CLP0+1) = 1414568.
# of incoming cells (CLP0) = 1414568.
# of discarded cells = 0.
# of overbooked discards (ng/g) = 0/0.
# of selective discards (ng/g) = 0/0.
# of full discards (ng/g) = 0/0.
Normal access times (min/avg/max) = 0/1/943us.
Timer requests/retries = 10435912/6240500(59%)

[td]=>:td call cmd=”atml istats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Total # of cell IP interrupts = 38724.
# of diverse interrupts = 38724.
# of PM events processed = 38724.

Total # of events processed = 38724.

[td]=>:td call cmd=”atm sxt”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

# VxLLo VxLHi PrtLo-VPILo-VCILo PrtHi-VPIHi-VCIHi AS OSlh/OShl Timelh
—————————————————————————
1 1 2 [0] 15/16 [4] 0/32 UP UP UP 0:00:16.19
2 3 4 [0] 8/48 [4] 0/33 UP UP UP 0:00:16.19
3 5 6 [0] 0/16 [4] 0/34 UP UP UP 0:00:16.19

[td]=>:td call cmd=”atm stt”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

# Ref Type Name BE FD Cl Parameters
——————————————–
0 0 1 UBR Y N 0
1 0 0
2 2 2 UBR.0 Y Y 0 PCR=150
3 2 2 UBR.0 Y N 0 PCR=16

[td]=>:td call cmd=”atm svt”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

# Type Port-VPI-VCI CAC UPC Kind TxTD RxTD VXX XType Encaps
————————————————————————
1 VCL [0] 15/16 N N PVC 2 0 1 PTP
2 AAL5 [4] 0/32 N N PVC 0 2 1 PTP unknown
3 VCL [0] 8/48 N N PVC 0 0 2 PTP
4 AAL5 [4] 0/33 N N PVC 0 0 2 PTP unknown
5 VCL [0] 0/16 N N PVC 3 0 3 PTP
6 AAL5 [4] 0/34 N N PVC 0 3 3 PTP unknown
349 ROOT [0] 0 N N
350 ROOT [0] 8 N N
351 ROOT [4] 0 N N
352 ROOT [0] 15 N N

[td]=>:td call cmd=”sea sq”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

# FIFO Start End Read Write Number Size
– —- —– — —- —– —— —-
0: AAL5_0 0007ebf0 0007f284 0007ebf8 0007ebf8 0 422
1: AAL5_1 0007f288 0007f91c 0007f2d8 0007f2d8 0 422
2: AAL5_2 0007f920 0007ffb4 0007fe60 0007fe60 0 422
32: ETQ 0008bef0 0008c584 0008c468 0008c468 0 422
33: PPQ 0008c588 0008c850 0008c68c 0008c68c 0 179
34: TCQ 0008c854 0008cee8 0008ccd0 0008ccd0 0 422
35: TRQ 0008ceec 0008d580 0008d368 0008d368 0 422
36: RCQ 0008d584 0008db18 0008d930 0008d930 0 358
37: FPQ 0008db1c 0008e0b0 0008dec4 0008dec4 0 358
38: FBQ 0008e0b4 0008ebe0 0008e360 0008e348 710 716
39: FDQ 0008ebe4 00090238 0008f17c 0008fc94 710 1430

[td]=>:td call cmd=”sea bstats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Periodic statistics enabled - period = 5 seconds.
[td]=>Port Name Rxed: fps - bps Txed: fps - bps Discarded: fps
—- —- —————- —————- ————–
0 OBC 1 - 899 1 - 544 0
1 ETHERNET 1 - 678 1 - 902 0
15 NATIVE 0 - 22 0 - 22 0

[td]:td call cmd=”sea istats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Total # of packet IP interrupts = 222801.
# of diverse interrupts = 222859.
# of packet extraction interrupts = 90150.
# of packet released interrupts = 93931.
# of performance monitoring interrupts = 38921.
# of dynamic memory interrupts = 0.
# of configuration problem interrupts = 0.
# of AAL5 interrupts = 0.
# of Ethernet interrupts (Rx/Tx) = 0/0.
# of bridge interrupts = 39.
# of packet port changed interrupts = 0.
# of address learned interrupts = 0.
# of address forgotten interrupts = 0.
# of packet event overflows = 0.

[td]=>:td call cmd=”sea pstats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Port Frames-Rx Frames-Tx Octets-Rx Octets-Tx Discards
———————————————————————
0 95112 90291 68651279 15019564551625 0
1 39032 55101 8986961 60767068 0
15 51259 40011 56194626 8128770 0

[td]=>:td call cmd=”upnp stats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

UPnP pool stats (cur,max,avail):
handle(0,0,3),
device(0,0,30),
service(0,0,30),
subscription(0,0,50),
firstdeviceevent(0,0,50),

UPnP subscription stats:
Timer list length: 0 current, 0 max.
Notify sockets: 0 current, 4 total
Notify timeouts: 0 connect, 0 reply
Notify data: 0 updated, 0 extended
Notifies: 0 sent, 0 started, 0 delayed

Current time (sec): 39025

[td]=>:td call

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

cmd = eth stats
:td call cmd=”eth stats”
ETH0: Ethernet statistics:
Tx/Rx frames = 91/111
Tx/Rx octets = 13002/7914
Tx/Rx multicast = 0/0
Tx/Rx broadcast = 0/0
Rx - discarded = 0
Alignment errors = 0
FCS errors = 0
Single collisions = 0
Multiple collisions = 0
SQE test errors = 0
Deferred frames = 0
Late collisions = 0
Excessive collisions = 0
Internal Tx errors = 0
Carrier sense errors = 0
Too long frames = 0
Internal Rx errors = 1
Symbol errors = 0

Too long frames = 1
Too short frames = 0
Invalid preambles = 0
Rx - FCS errors = 0
Unaligned frames = 0
Rx - overruns = 0
Link failures = 2
Excessive deferrals = 0
Tx - underruns = 0
Excessive lengths = 0
Deferred frames = 0
Tx - FCS errors = 0
Late collisions = 0
Total collisions = 0

[td]=>:td call cmd=”err stats”

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Last Reset Reason : WARM_RESET
————————————-
ERR_CLASS_RECOV = 00000000
ERR_CLASS_NOTIFY_ONLY = 00000000
ERR_CLASS_NON_RECOV = 00000000
ERR_CLASS_HW_ERROR = 00000000
ERR_CLASS_SW_CORRUPT = 00000000
ERR_CLASS_FILE_CORRUPT = 00000000
ERR_CLASS_STACK_CORRUPT = 00000000
ERR_CLASS_HW_WDOG_EXP = 00000000
ERR_CLASS_SW_WDOG_EXP = 00000000
ERR_CLASS_PARITY_ERROR = 00000000
ERR_CLASS_WARM_RESET = 00000000
ERR_CLASS_COLD_RESET = 00000000
ERR_CLASS_FRC_HW_WDOG = 00000000
ERR_CLASS_ERROR_HANDLER = 00000000
ERR_CLASS_PROC_FAULTS = 00000000
ERR_CLASS_UNKNOWN = 00000000

(some errors are normal!)

[td]=>:td call cmd=”atm tvc 0 8 48″

=====================DISCLAIMER======================
Access to expert commands is intended for qualified
personnel only.
==================END=OF=DISCLAIMER==================

Tracing enabled for VP/VC 8/48.

Leave a Reply