Accessing the Command Line Interface .................................................................................................................... 22
Basic Navigation and Manipulation..............................................................................................................................24
Command Line Interface Top Level Structure ........................................................................................................28
Command Line Interface Commands ........................................................................................................................ 29
Service Template Files and the CLI ............................................................................................................................ 33
Direct FTP Access .......................................................................................................................................................... 35
adsl info ............................................................................................................................................................................. 39
atm oam status ................................................................................................................................................................ 48
atmf list ..............................................................................................................................................................................57
config list ........................................................................................................................................................................... 90
dhcp relay list .................................................................................................................................................................119
dhcp server clear...........................................................................................................................................................121
dhcp server config.........................................................................................................................................................122
dhcp server flush ...........................................................................................................................................................123
dhcp server policy.........................................................................................................................................................124
dhcp server stats ...........................................................................................................................................................125
dhcp server lease add...................................................................................................................................................127
dhcp server lease delete..............................................................................................................................................129
dhcp server lease flush.................................................................................................................................................130
dhcp server lease list....................................................................................................................................................131
dhcp server pool add ...................................................................................................................................................132
dhcp server pool config ...............................................................................................................................................133
dhcp server pool delete...............................................................................................................................................135
dhcp server pool flush .................................................................................................................................................136
dhcp server pool list.....................................................................................................................................................137
E-DOC-CTC-20040210-0028 v3.0
5
Page 8
DNS Commands .......................................................................................... 139
dns add ............................................................................................................................................................................140
dns clear ..........................................................................................................................................................................141
dns clrstats......................................................................................................................................................................142
dns delete........................................................................................................................................................................143
dns domain .....................................................................................................................................................................144
dns flush...........................................................................................................................................................................145
dns fwdadd......................................................................................................................................................................146
dns fwddelete.................................................................................................................................................................147
dns fwdlist .......................................................................................................................................................................148
dns fwdtable ...................................................................................................................................................................149
dns list..............................................................................................................................................................................150
dns nslookup ..................................................................................................................................................................151
dns start...........................................................................................................................................................................152
dns stats...........................................................................................................................................................................153
dns status ........................................................................................................................................................................154
dns stop...........................................................................................................................................................................155
dns toutfwd ....................................................................................................................................................................156
dns troff...........................................................................................................................................................................157
dns tron...........................................................................................................................................................................158
env get .............................................................................................................................................................................161
env set .............................................................................................................................................................................163
Eth Commands............................................................................................. 165
eth config.........................................................................................................................................................................166
eth ifconfig ......................................................................................................................................................................167
eth iflist ............................................................................................................................................................................168
firewall chain list ............................................................................................................................................................190
firewall rule list ..............................................................................................................................................................198
grp rip show ...................................................................................................................................................................221
8
E-DOC-CTC-20040210-0028 v3.0
Page 11
IP Commands ............................................................................................... 223
ip apadd ...........................................................................................................................................................................224
ip apdelete.......................................................................................................................................................................226
ip aplist.............................................................................................................................................................................227
ip arpadd .........................................................................................................................................................................228
ip arpdelete.....................................................................................................................................................................229
ip arplist...........................................................................................................................................................................230
ip config ...........................................................................................................................................................................231
ip flush..............................................................................................................................................................................234
ip httpprobe ...................................................................................................................................................................235
ip ifconfig .........................................................................................................................................................................236
ip iflist...............................................................................................................................................................................237
ip ifwait ............................................................................................................................................................................238
ip mcadd..........................................................................................................................................................................239
ip mcdelete .....................................................................................................................................................................240
ip mclist ...........................................................................................................................................................................241
ip ping...............................................................................................................................................................................242
ip rtadd ............................................................................................................................................................................243
ip rtdelete .......................................................................................................................................................................244
ip rtlist..............................................................................................................................................................................245
ip sendto..........................................................................................................................................................................246
ip traceroute ..................................................................................................................................................................247
ip auto flush ....................................................................................................................................................................248
ip auto ifadd....................................................................................................................................................................249
ip auto ifattach ...............................................................................................................................................................250
ip auto ifconfig................................................................................................................................................................251
ip auto ifdelete ...............................................................................................................................................................252
ip auto ifdetach ..............................................................................................................................................................253
ip auto iflist .....................................................................................................................................................................254
ipqos list ..........................................................................................................................................................................269
ipsec show ......................................................................................................................................................................281
ipsec cert list ..................................................................................................................................................................288
ipsec cert cep list ..........................................................................................................................................................297
ipsec connection list .....................................................................................................................................................304
ipsec descriptor list ......................................................................................................................................................312
ipsec peer list .................................................................................................................................................................316
ipsec policy chain list ....................................................................................................................................................326
ipsec policy rule list ......................................................................................................................................................333
label rule list ...................................................................................................................................................................354
Language Commands .................................................................................. 357
language config...............................................................................................................................................................358
language list.....................................................................................................................................................................359
language remove............................................................................................................................................................360
nat list ..............................................................................................................................................................................376
phonebook list ...............................................................................................................................................................387
qosbook list ....................................................................................................................................................................441
shdsl config show ..........................................................................................................................................................455
shdsl config CO 4-wire_mode ...................................................................................................................................457
shdsl config CO annex.................................................................................................................................................458
shdsl config CO margins..............................................................................................................................................459
shdsl config CO rate ....................................................................................................................................................460
shdsl config CO show ..................................................................................................................................................461
shdsl config CO wires..................................................................................................................................................462
shdsl config CPE show .................................................................................................................................................466
snmp list ..........................................................................................................................................................................488
snmp walk .......................................................................................................................................................................491
sntp del ............................................................................................................................................................................496
sntp list ............................................................................................................................................................................498
software addon list .......................................................................................................................................................506
switch group flush .........................................................................................................................................................508
switch group list ............................................................................................................................................................509
switch group move .......................................................................................................................................................510
syslog list .........................................................................................................................................................................518
syslog msgbuf show ......................................................................................................................................................521
System Commands...................................................................................... 523
system clearpassword ..................................................................................................................................................524
system config..................................................................................................................................................................525
system flush ....................................................................................................................................................................526
system reboot................................................................................................................................................................527
system reset ...................................................................................................................................................................528
system setpassword......................................................................................................................................................529
system settime ...............................................................................................................................................................530
system stats ....................................................................................................................................................................531
DHCP Server Module..................................................................................................................................................546
Supported Internet Protocol (IP) Protocol Names ..............................................................................................553
Supported TCP/UDP Port Names............................................................................................................................554
Supported ICMP Type Names ...................................................................................................................................557
Welcome to the SpeedTouch™ Command Line Interface (CLI) Reference Guide!
For the Service Provider, this Reference Guide aims to be a concise and practical document for creating a customized
Service Template file, based on the SpeedTouch™ CLI command set, to be used by the end-user to configure the
SpeedTouch™ and PC(s).
For the fastidious user, this Reference Guide aims to be a handbook for advanced and detailed configuration and
troubleshooting of the SpeedTouch™ via its character based CLI command set.
Applicability
This CLI Reference Guide covers the CLI commands of the following Digital Subscriber Line (DSL) SpeedTouch™
products:
•SpeedTouch™610 (i/s) Business DSL Router (R4.2.7(.2))
For readability, all are referred to as SpeedTouch™ throughout this document unless a specific variant is concerned.
Contents
The Reference Guide consists of two main parts:
•CLI Navigation:
This chapter familiarizes the user with the SpeedTouch™ CLI. It describes general manipulations to navigate
through the CLI and to perform some operations on the CLI.
•CLI Command Description:
The other chapters describe all the available CLI commands of the SpeedTouch™ per command group and in
alphabetical order.
Each command is described in a systematic manner:
•The full name of the CLI command (including the group selection)
•A short description of the CLI command, if necessary completed by a description of the possible impact on
the user and/or the SpeedTouch™
•The syntax of the command with a description of each parameter
•An example to demonstrate the use of the CLI command
•A list of related CLI commands.
E-DOC-CTC-20040210-0028 v3.0
19
Page 22
About this Document
Trademarks
The following trademarks are used in this document:
•SpeedTouch™ is a trademark of THOMSON Telecom.
•Netscape and Netscape Navigator are registered trademarks of Netscape Communications Corporation.
•Windows and Internet Explorer are trademarks of Microsoft Corporation.
•Apple and MacOS are registered trademarks of Apple Computer Inc.
•UNIX is a registered trademark of UNIX System Laboratories, Inc.
•Ethernet is a trademark of Xerox Corporation.
Other products may be trademarks or registered trademarks of their respective manufacturers.
Updates
Due to the continuous evolution of SpeedTouch™ technology, existing products are regularly improved.
For more information on the latest technological innovations, software upgrades, and documents, please visit the
SpeedTouch™ web site at:
www.speedtouch.com
20
E-DOC-CTC-20040210-0028 v3.0
Page 23
CLI Navigation
CLI Navigation
Introduction
This chapter familiarizes the user with the SpeedTouch™ CLI. It describes general manipulations:
•to navigate through the CLI
•to perform some operations on the CLI.
Contents
This chapter covers the following topics:
Topi cPag e
Accessing the Command Line Interface 22
Basic Navigation and Manipulation 24
Command Line Interface Top Level Structure 28
Command Line Interface Commands 29
Menu-driven CLI Navigation 30
Service Template Files and the CLI 33
Direct FTP Access 35
E-DOC-CTC-20040210-0028 v3.0
21
Page 24
CLI Navigation
Accessing the Command Line Interface
Users can access the Command Line Interface via a Telnet session. This requires that TCP/IP connectivity exists
between the host from which the Telnet session is opened and the SpeedTouch™.
Users can access the Command Line Interface via:
•The SpeedTouch™ CLI web pages:
This requires that TCP/IP connectivity exists between the host from which the web browser is opened and the
SpeedTouch™.
•A Telnet session:
This requires that TCP/IP connectivity exists between the host from which the Telnet session is opened and the
SpeedTouch™.
•The serial 'Console' interface.
•Quote site commands (over FTP).
Access via the CLI Web Pages
Proceed as follows to access the SpeedTouch™ CLI via its web interface:
•Browse to the SpeedTouch™ web pages.
•Click Advanced > CLI in the left frame. The CLI web menu opens:
All CLI groups and commands are placed in a menu:
•To open a command group, do one of the following:
•click the mark next to a group name.
•click the group name.
•Click on a command name to open the command:
•Commands without parameters are indicated with and are executed immediately.
•Commands which require additional parameters are indicated with .
•After you have configured all parameters, click Apply to execute the command.
22
E-DOC-CTC-20040210-0028 v3.0
Page 25
CLI Navigation
Access via a Telnet Session or Serial Console
Proceed as follows to open a Telnet session:
1Open a Command Prompt window, e.g. by clicking Start > All Programs > Accessories > Command Prompt.
2At the prompt, type telnet followed by the IP address of the SpeedTouch™ (default is 10.0.0.138).
As soon a session to the CLI is opened, the SpeedTouch™ banner pops up, followed by the CLI prompt.
If the SpeedTouch™ is protected by a username and a system password, authentication will be required before access is
granted.
The following figure shows an example of the SpeedTouch™610 banner after opening a session and authentication.
Manipulation commands are commands that manipulate operations on the command line, for example changing the
command group, go to the beginning of the command line, go to the end of the command line, etc.
Command group navigation
From top level, you can change to a command group by executing the name of the desired command group.
To obtain a list of all available command groups, execute help from the top level.
The example below shows every possible CLI command group for the SpeedTouch™610 ADSL/POTS variant:
=>help
Following commands are available :
help: Displays this help information
menu: Displays menu
?: Displays this help information
exit: Exits this shell.
..: Exits group selection.
saveall: Saves current configuration.
The following command groups are specific for certain variants:
•adsl is only available for the SpeedTouch™610 ADSL/POTS and SpeedTouch™610i ADSL/ISDN variants
•atmf is only applicable for models equipped with an ATMF-25.6Mb/s port
•ipsec is only available on SpeedTouch™610 routers with the IPSEC_VPN software key enabled
•shdsl is only available for the SpeedTouch™610 SHDSL variant
•sip is only available on SpeedTouch™610 routers with the SIP software key enabled
To return to top level, or to go up one level (in case of nested command groups), enter .. at the prompt.
Example:
=>phonebook
[phonebook]=>
[phonebook]=>..
=>
24
E-DOC-CTC-20040210-0028 v3.0
Page 27
CLI Navigation
The Help Command
Execute help or ? from top level to list all available commands and command groups for the SpeedTouch™.
Example for the SpeedTouch™610 ADSL/POTS variant:
=>help
Following commands are available :
help: Displays this help information
menu: Displays menu
?: Displays this help information
exit: Exits this shell.
..: Exits group selection.
saveall : Saves current configuration.
You can execute the help or ? command from each command group selection. This results in a list of the available
commands (and nested command groups, if available) in this particular command group.
Example:
=>firewall
[firewall]=>
[firewall]=>?
Following commands are available :
tron: Enables verbose console messaging.
troff: Disables verbose console messaging.
match: Defines an ip packet match.
assign: Assign a chain to an entry point.
list: Shows a list of all the hooks with the chain attached.
flush: Clears all hooks. If a hook is provided, that hook is cleared.
Following command groups are available :
chainrule
[firewall]=>
As both help and ? have the exact same functionality in the SpeedTouch™ CLI, the help command may always be equally
replaced by the ? command.
Executing e.g. help firewall from top level gives the same result as executing help from the firewall command group
selection.
E-DOC-CTC-20040210-0028 v3.0
25
Page 28
CLI Navigation
Example:
=>firewall help
Following commands are available :
assign: Assign a chain to an entry point.
unassign: Clear a specific hook
list: Shows a list of all the hooks with the chains attached.
flush: Clears all hooks, chains and rules
tron: Enables verbose console messaging.
troff: Disables verbose console messaging.
Following command groups are available :
chainrule
=>
Entering help followed by a specific command, e.g. help firewall assign (starting from top level) or help assign (executed
from the firewall command group selection) results in a description of the syntax for the command.
Example:
=>help firewall assign
Assign a chain to an entry point.
Syntax : assign hook = <{input|sink|forward|source|output}> chain = <string>
Parameters :
hook = <{input|sink|forward|source|output}>
Name of hook to assign chain to.
chain = <string>
Name of chain to use.
=>
Executing help all will generate the complete listing of all available CLI commands with syntax description.
Command Completion
The CLI features command completion, which means that when starting to enter a command it can be completed by
pressing the TAB key.
For the completion to be successful, the part to be added must be unique. Completion works for the command groups,
for the commands, for the options, but not for values.
Example:
Pressing a and TAB at the firewall command group selection results in the full assign command being completed. Entering
firewall a and pressing the TAB key from top level gives the same result.
=>firewall
[firewall]=>"a+TAB"
[firewall]=>assign
Command Line Navigation
•Press CTRL+A to go to the beginning of the command line.
•Press CTRL+L to go to the end of the command line.
26
E-DOC-CTC-20040210-0028 v3.0
Page 29
CLI Navigation
Breaking off Commands
You can break off a command by pressing CTRL+G. This can be useful in a situation where a user is prompted to enter
a value which he does not know and wants to quit the command. Instead of being prompted over and over again for the
same value, this allows to quit the command and return to the command line prompt.
In the example below, CTRL+G is pressed after the third prompt chain =
Note! in a command means ‘NOT‘, e.g. the [!]syn parameter in the firewall rule create command.
Entering a CLI Command
A CLI command can be entered in one of the following ways:
1As a completely built-up command with all its parameters.
E.g. the command firewall assign hook=input chain=input.
=>firewall assign hook=input chain=input
=>
2Just the command itself without its parameters. After pressing Enter, you are prompted to complete the command
with the required and the optional parameters.
The example below is the equivalent of the command firewall assign hook=input chain=input.
=>firewall assign
hook = input
chain = input
=>
•For required CLI command parameter values, either enter a value or scroll through the possible values with
the arrow keys.
•For optional CLI command parameters, either enter a value or simply press Enter without giving a value.
NoteThis manner of entering a command is not applicable to all the CLI commands.
E.g. system config, upnp config, ...
E-DOC-CTC-20040210-0028 v3.0
29
Page 32
CLI Navigation
Menu-driven CLI Navigation
Introduction
To improve the user-friendliness of the SpeedTouch™ CLI, the CLI features a menu-driven interface.
The semi-graphical menu offers an attractive and easy-to-use configuration environment for the CLI.
Calling the menu
To call the menu-driven interface, type menu at the CLI prompt.
Example (for the SpeedTouch™610 ADSL/POTS variant):
Leaving the menu
To leave the menu-driven interface, use the TAB key to go to the Cancel field and press ENTER.
NoteThis can be done on any level of the menu, i.e. there is no need to return to the top level.
Navigating through the menu
Follow the procedure below to navigate through the menu and select CLI commands:
1Browse through the CLI command groups with the ARROW keys:
2Press ENTER to select a command group. The figure below shows the menu after the phonebook command group
has been selected:
30
E-DOC-CTC-20040210-0028 v3.0
Page 33
CLI Navigation
3Browse through the CLI commands with the ARROW keys or select .. to go back up one level:
4Press ENTER to select the command. The figure below shows the menu after the add command has been
selected:
Entering parameter values
1Browse through the parameters with the ARROW keys:
2To enter a value for a parameter, press ENTER:
3Fill in the parameter value and press ENTER:
E-DOC-CTC-20040210-0028 v3.0
31
Page 34
CLI Navigation
4Use the ARROW keys to scroll to the next parameter:
5When all the necessary parameters have been entered, use the TAB key to go to the OK field and press ENTER.
NoteDo not forget to save your changes by executing saveall (from any CLI prompt).
Preset parameter values
In case preset values are provided for a parameter, they are shown at the bottom of the menu.
You can scroll through these preset values with the ARROW keys or enter the value manually.
32
E-DOC-CTC-20040210-0028 v3.0
Page 35
CLI Navigation
Service Template Files and the CLI
Service Template Files
The Service Template files, used by the Setup wizard, or directly uploaded via the SpeedTouch™ web pages, consist of
a set of CLI commands. Only CLI commands, which are part of the SpeedTouch™ CLI command set, may be used in
the .ini and .def files.
For readability, Service Template files are partitioned in paragraphs. These paragraphs reflect a CLI command group
selection in the SpeedTouch™ CLI. However, due to internal processing, not all paragraph names are the same as their
corresponding CLI command group selection, as shown in the table below:
[<configuration>.ini]
paragraphs
[adslisdn.ini]The adsl CLI command group (only for a ADSL/ISDN variant)
[adslpots.ini]The adsl CLI command group (only for a ADSL/POTS variant)
[atmf.ini]The atmf CLI command group (only for a variant with an ATMF-25.6Mb/s port).
[autoip.ini]The ip auto CLI command subgroup
[autopvc.ini]The autopvc CLI command subgroup
[bridge.ini]The bridge CLI command group
[cip.ini]The cip CLI command group
[dhcc.ini]The dhcp client CLI command subgroup
[dhcp.ini]The dhcp server CLI command subgroup
[dhcr.ini]The dhcp relay CLI command subgroup
[diagnostics.ini]The ip ping CLI command
[dnsc.ini] and [dnsd.ini]The dns CLI command group
[env.ini]The env CLI command group
Available SpeedTouch™ CLI commands
[eth.ini]The eth CLI command group
[ethoa.ini]The ethoa CLI command group
[grp.ini]The grp CLI command group (except those part of the grp rip CLI command subgroup).
[switch.ini]The switch CLI command group (only for SpeedTouch™ devices with a four port switch).
[swk.ini]The software addon CLI command subgroup.
[syslog.ini]The syslog CLI command group.
[system.ini]The system CLI command group
[upnp.ini]The upnp CLI command group
CLI Commands in Service Template Files
CLI commands in a paragraph of a Service Template file should always be constructed in their complete form.
Uncompleted CLI commands, i.e. commands in which required parameters are not specified, will be discarded by the
CLI commend interpreter. This may result in a incorrectly configured SpeedTouch™.
In Service Template files, the use of customization variables allow the Setup wizard to invite the end-user to provide
some input regarding the settings of the SpeedTouch™. The declaration of such customization variables must be done
in the [env.ini] paragraph of the Service Template file. A preset (i.e. default) value can be declared for a customization
variable. Further use of these customization variables is allowed through all other paragraphs, even several times.
When a customization variable is used in a CLI command, the value of the variable must always conform to the syntax
of the CLI command.
Customizing Service Template Files
For more information on the customization possibilities of the SpeedTouch™, the Setup wizard and the
configuration profile files, please check the SpeedTouch™ support pages at www.speedtouch.com.
34
E-DOC-CTC-20040210-0028 v3.0
Page 37
CLI Navigation
Direct FTP Access
The SpeedTouch™ File System
The SpeedTouch™ permanent storage, further referred to as 'file system', exists of nonvolatile memory responsible for
storing, retrieving and maintaining the SpeedTouch™ software image(s), Service Template files and optionally default
settings files.
The file system of the SpeedTouch™ is accessible via the File Transfer Protocol (FTP) transport protocol. This allows to
transfer the SpeedTouch™ software image(s) and/or Service Template files and default settings files.
Proceed as indicated in the example below to open an FTP session to the SpeedTouch™ file system:
/home/doejohn{1}$ftp 10.0.0.138
Connected to 10.0.0.138
220 Inactivity timer = 120 seconds. Use 'site idle <secs>' to change.
Name (10.0.0.138:doejohn):
331 SpeedTouch™ (00-90-D0-01-02-03) User 'doejohn' OK. Password required.
Password : ######
330 OK
ftp>
SpeedTouch™ File System Structure
The files system features a tiny multilevel directory structure with a single root node called 'root' and two leaf nodes
called 'active' and 'dl'. The 'root' contains:
•all the necessary files for the SpeedTouch™ to boot correctly.
•the 'active' subdirectory always contains the software image in execution, i.e. the active software image.
•the 'dl' directory contains the dormant software image, i.e. the passive software image . If you have made changes
to the SpeedTouch™configuration and saved them (be it via a Telnet session, via the web pages or via the Setup
wizard), a user.ini Service Template file is created in the 'dl' subdirectory.
In other words, after each 'Save all', or config save all, the user.ini Service Template file present in the 'dl'
subdirectory reflects the current configuration of the SpeedTouch™.
SpeedTouch™ File System Access Rights
From the ‘root’ directory, you can access the ‘active’ and ‘dl’ subdirectories. No read/write permission is granted for
the ‘root’ directory.
Following access rights apply for the subdirectories:
•for the 'active' subdirectory:
•Listing of 'active' subdirectory files (dir)
•FTP (m)get of (multiple) 'active' subdirectory files
•for the 'dl' subdirectory:
•Listing of 'dl' subdirectory files (dir)
•FTP (m)get of (multiple) 'dl' subdirectory files
•FTP (m)put of (multiple) 'dl' subdirectory files
•FTP (m)delete of (multiple) 'dl' subdirectory files.
E-DOC-CTC-20040210-0028 v3.0
35
Page 38
CLI Navigation
FTP File Transfer
To allow correct file transfers, set the transfer mode to “binary”.
NoteTurn on the hashing option to see the progression of the file transfer.
Example:
/home/doejohn{1}$ftp 10.0.0.138
Connected to 10.0.0.138
220 Inactivity timer = 120 seconds. Use 'site idle <secs>' to change.
Name (10.0.0.138:doejohn):
331 SpeedTouch™ (00-90-D0-01-02-03) User 'doejohn' OK. Password required.
Password : ######
330 OK
ftp>
ftp>bin
200 TYPE is now 8-bit binary
ftp>
ftp>hash
200Hash mark printing on (8192 bytes/hash mark).
ftp>
Quote Site Command
All the CLI commands can be executed from within an FTP session. Only complete CLI commands (i.e. the complete
command syntax with all the parameters already specified) can be executed.
Example:
To execute the ‘firewall list’ command, type the following at the FTP prompt:
The adsl command group is only applicable to the SpeedTouch™610 ADSL/POTS and ADSL/ISDN variants.
Contents
This chapter covers the following commands:
Topi cPag e
adsl config 38
adsl info 39
E-DOC-CTC-20040210-0028 v3.0
37
Page 40
ADSL Commands
adsl config
Show/set the Asymmetric Digital Subscriber Line (ADSL) configuration.
Although the command is the same for both SpeedTouch™ ADSL/POTS and SpeedTouch™ ADSL/ISDN variants, the
command features specific parameter values per variant:
SYNTAX FOR ADSL/Plain Old Telephone Service (POTS) variants:
opermodeThe operational mode of the SpeedTouch™ modem.
Choose between:
•ansi
•g.dmt_annex_b
•multimode.
OPTIONAL
OPTIONAL
OPTIONAL
The default is multimode.
maxbitspertoneUSA number between 10 and 14 (bits per tone).
Represents the maximum number of bits which can be allocated to
each ADSL DMT tone in the upstream direction.
The default is 13.
traceEnable/disable adsl tracing.OPTIONAL
NoteIf the command adsl config is executed and no parameters are specified, then the current ADSL
configuration is shown.
38
OPTIONAL
E-DOC-CTC-20040210-0028 v3.0
Page 41
ADSL Commands
adsl info
Show ADSL statistics and information about the SpeedTouch™DSL line status.
Although the same command is used for both SpeedTouch™ ADSL/POTS and SpeedTouch™ ADSL/ISDN variants, the
command features specific output parameters and counters per variant.
SYNTAX:
adsl info
EXAMPLE (for a SpeedTouch™ ADSL/POTS variant):
=>adsl info
Modemstate: up
Operation Mode: G.DMT Annex A [POTS Overlay Mode]
Channel Mode: fast
Number of resets: 1
Represents the Virtual Channel identifier.
For a VP cross-connection, use VCI=0 or do not specify.
actionEnable or disable CC.
The default is disabled.
directionIndicates the direction of CC activity.
Select either:
•source
•sink
•both.
The default is both.
NoteIf not specified, CC is activated/deactivated for both
directions.
RELATED COMMANDS:
atmf ccconfig Configure CC of a ATMF-25.6Mb/s interface cross-connection.
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
atmf cclist Show current CC configuration on ATMF-25.6Mb/s interface cross-connections.
E-DOC-CTC-20040210-0028 v3.0
53
Page 56
ATMF Commands
atmf config
Show/set the ATMF-25.6Mb/s interface configuration.
SYNTAX:
atmf config[status = <line|on>]
[policing = <{disabled|enabled}>]
where:
statusLet the SpeedTouch™ assume that the physical link of the ATMF
OPTIONAL
connection is always enabled (on) or allow to check the physical link
(line).
The default is line (i.e. the SpeedTouch™ may be the source of F4/F5
AIS OAM cells).
policingEnable or disable ATM-Forum policing.OPTIONAL
EXAMPLE (default configuration):
=>atmf config
ATM-Forum state= line
ATM-Forum policing = enabled
=>
54
E-DOC-CTC-20040210-0028 v3.0
Page 57
atmf delete
Delete a cross-connection on the ATMF-25.6Mb/s interface.
SYNTAX:
atmf deletevpi = <number {0-7}>
[vci = <number {0-511}>]
where:
ATMF Commands
vpiA number between 0 and 7.
Represents the Virtual Path identifier.
vciA number between 0 and 511.
Represents the Virtual Channel identifier.
NoteFor a VP cross-connection, use VCI=0 or do not specify.
RELATED COMMANDS:
atmf add Add a cross-connection on the ATMF-25.6Mb/s interface.
atmf list Show current ATMF-25.6Mb/s interface configuration.
REQUIRED
OPTIONAL
E-DOC-CTC-20040210-0028 v3.0
55
Page 58
ATMF Commands
atmf flush
Flush complete ATMF-25.6Mb/s interface configuration, i.e. delete all cross-connections.
SYNTAX:
atmf flush
56
E-DOC-CTC-20040210-0028 v3.0
Page 59
atmf list
Show all current ATMF-25.6Mb/s interface cross-connections.
enable only pseudo-ILMI (VP/VC 15/16). When connection
parameters are written to the MIB, display this information on
CLI or web-interface but do not use these parameters for
configuration.
•passive:
enable both ILMI (VP/VC 0/16) and pseudo-ILMI (VP/VC 15/
16). When connection parameters are written to the MIB,
display this information on CLI or web-interface but do not use
these parameters for configuration.
•active:
enable both ILMI (VP/VC 0/16) and pseudo-ILMI (VP/VC 15/
16). When connection parameters are written to the MIB, use
these parameters to configure phonebook entries, qosbook
profiles and bind bridge or PPPoE interfaces on top.
The default is passive.
typeType of autopvc:
•bridge
•pppoerelay:
an ETHoA interface will be created, will be bound to the ILMI
PVC and will be added to the PPPoE relay as relay port.
OPTIONAL
OPTIONAL
The default is bridge.
opmodeOperational autopvc mode:
•partial: only read the ILMI VPC and VCC MIB tables
OBCOn Board Controller: indicates the physical bridge port.
RELATED COMMANDS:
bridge ifadd Create a bridged Ethernet interface.
bridge ifattach Attach a bridge interface.
bridge ifconfig Configure a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge ifdetach Detach a bridge interface.
72
E-DOC-CTC-20040210-0028 v3.0
Page 75
Bridge Commands
bridge macadd
Add a static MAC address to the filtering database.
This command allows to manually add static addresses, which should normally be dynamically discovered by the bridge
itself.
SYNTAX:
bridge macaddintf = <intfname>
hwaddr = <hardware-address>
where:
intfThe name of the bridge interface for which the MAC address must be
REQUIRED
added.
hwaddrThe Ethernet MAC address of the new entry.REQUIRED
Save the current configuration, i.e. all existing configurations and modifications entered by the user.
The result of executing this command is a user.ini file saved in the SpeedTouch™ permanent storage. This file can be
downloaded via the SpeedTouch™ web pages or via an FTP session.