Alcatel-lucent SPEED TOUCH 510, SPEDDTOUCH 510 1, 530, SPEED TOUCH 570, 510I 1 User Manual

...
TM
SpeedTouch
510(i)/530/570(i) Multi-User ADSL Gateways CLI Reference Guide
500 SERIES
SpeedTouch
CLI Reference Guide
Release R4.0
TM
Status Released
Change Note PeckelbeenS
Short Title CLI ST500Series R4.0
Copyright
© 2003 THOMSON. All rights reserved. Passing on, and copying of this document, use and communication of its contents is not permitted without written authorization from THOMSON. The content of this document is furnished for informational use only, may be subject to change without notice, and should not be construed as a commitment by THOMSON. THOMSON assumes no responsibility or liability for any errors or inaccuracies that may appear in this document.
Content
About this Document ...................................................................................................................................................... 9
Accessing the Command Line Interface .................................................................................................................... 11
Basic Navigation and Manipulation..............................................................................................................................12
Command Line Interface Top Level Structure ........................................................................................................ 17
Command Line Interface Commands ........................................................................................................................ 18
Menu-driven CLI Navigation ........................................................................................................................................ 19
Configuration Profile Files and the CLI......................................................................................................................20
Direct FTP Access ..........................................................................................................................................................22
ADSL Commands .......................................................................................... 25
adsl config .........................................................................................................................................................................26
adsl info ............................................................................................................................................................................. 27
ATM Commands............................................................................................ 29
atm portstats.................................................................................................................................................................... 30
atm oam config ................................................................................................................................................................ 31
atm oam status ................................................................................................................................................................ 32
Bridge Commands ......................................................................................... 33
bridge config.....................................................................................................................................................................34
bridge flush .......................................................................................................................................................................35
bridge ifadd ....................................................................................................................................................................... 36
bridge ifattach................................................................................................................................................................... 39
bridge ifconfig................................................................................................................................................................... 42
bridge ifdelete .................................................................................................................................................................. 44
bridge ifdetach ................................................................................................................................................................. 45
bridge iflist ........................................................................................................................................................................46
bridge macadd.................................................................................................................................................................. 48
bridge macdelete............................................................................................................................................................. 49
bridge maclist ...................................................................................................................................................................50
E-SIT-CTC-20021203-0003 v1.0
1
CIP Commands .............................................................................................. 51
cip flush.............................................................................................................................................................................. 52
cip ifadd .............................................................................................................................................................................53
cip ifdelete.........................................................................................................................................................................54
cip iflist...............................................................................................................................................................................55
cip pvcadd ......................................................................................................................................................................... 57
cip pvcdelete ....................................................................................................................................................................58
cip pvclist...........................................................................................................................................................................59
Config Commands ......................................................................................... 61
config erase.......................................................................................................................................................................62
config flush ........................................................................................................................................................................ 63
config load......................................................................................................................................................................... 64
config save.........................................................................................................................................................................65
2
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands ......................................................................................... 67
dhcp client clear .............................................................................................................................................................. 68
dhcp client config ............................................................................................................................................................ 69
dhcp client flush............................................................................................................................................................... 70
dhcp client ifadd............................................................................................................................................................... 71
dhcp client ifattach .......................................................................................................................................................... 72
dhcp client ifconfig .......................................................................................................................................................... 73
dhcp client ifdelete..........................................................................................................................................................75
dhcp client iflist................................................................................................................................................................ 76
dhcp client ifrelease ........................................................................................................................................................ 77
dhcp client ifrenew ......................................................................................................................................................... 79
dhcp client stats............................................................................................................................................................... 81
dhcp server clear............................................................................................................................................................. 82
dhcp server config...........................................................................................................................................................83
dhcp server flush .............................................................................................................................................................84
dhcp server policy...........................................................................................................................................................85
dhcp server spoof ...........................................................................................................................................................86
dhcp server start............................................................................................................................................................. 87
dhcp server stats .............................................................................................................................................................88
dhcp server stop ............................................................................................................................................................. 90
dhcp server lease add..................................................................................................................................................... 91
dhcp server lease delete................................................................................................................................................93
dhcp server lease flush................................................................................................................................................... 94
dhcp server lease list......................................................................................................................................................95
dhcp server pool add .....................................................................................................................................................96
dhcp server pool config ................................................................................................................................................. 98
dhcp server pool delete...............................................................................................................................................100
dhcp server pool flush .................................................................................................................................................101
dhcp server pool list.....................................................................................................................................................102
E-SIT-CTC-20021203-0003 v1.0
3
DNS Commands .......................................................................................... 103
dns add ............................................................................................................................................................................104
dns clear ..........................................................................................................................................................................105
dns clrstats......................................................................................................................................................................106
dns delete........................................................................................................................................................................107
dns domain .....................................................................................................................................................................108
dns flush...........................................................................................................................................................................109
dns fwdadd......................................................................................................................................................................110
dns fwddelete.................................................................................................................................................................111
dns fwdlist .......................................................................................................................................................................112
dns fwdtable ...................................................................................................................................................................113
dns list..............................................................................................................................................................................114
dns nslookup ..................................................................................................................................................................115
dns start...........................................................................................................................................................................116
dns stats...........................................................................................................................................................................117
dns status ........................................................................................................................................................................118
dns stop...........................................................................................................................................................................119
dns toutfwd ....................................................................................................................................................................120
dns troff...........................................................................................................................................................................121
dns tron...........................................................................................................................................................................122
Env Commands ............................................................................................ 123
env def .............................................................................................................................................................................124
env flush ..........................................................................................................................................................................125
env get .............................................................................................................................................................................128
env list..............................................................................................................................................................................129
env set .............................................................................................................................................................................130
env unset.........................................................................................................................................................................131
Eth Commands............................................................................................. 133
eth ifconfig ......................................................................................................................................................................134
eth iflist ............................................................................................................................................................................135
4
E-SIT-CTC-20021203-0003 v1.0
Firewall Commands..................................................................................... 137
firewall assign .................................................................................................................................................................138
firewall flush....................................................................................................................................................................139
firewall list.......................................................................................................................................................................140
firewall troff ....................................................................................................................................................................141
firewall tron....................................................................................................................................................................142
firewall unassign.............................................................................................................................................................143
firewall chain create......................................................................................................................................................144
firewall chain delete......................................................................................................................................................145
firewall chain list ............................................................................................................................................................146
firewall rule clear...........................................................................................................................................................147
firewall rule create........................................................................................................................................................148
firewall rule delete ........................................................................................................................................................152
firewall rule flush ...........................................................................................................................................................153
firewall rule list ..............................................................................................................................................................154
firewall rule stats ...........................................................................................................................................................155
IP Commands ............................................................................................... 157
ip apadd ...........................................................................................................................................................................158
ip apdelete.......................................................................................................................................................................160
ip aplist.............................................................................................................................................................................161
ip arpadd .........................................................................................................................................................................162
ip arpdelete.....................................................................................................................................................................163
ip arplist...........................................................................................................................................................................164
ip config ...........................................................................................................................................................................165
ip flush..............................................................................................................................................................................168
ip ifconfig .........................................................................................................................................................................169
ip iflist...............................................................................................................................................................................170
ip ping...............................................................................................................................................................................171
ip rtadd ............................................................................................................................................................................172
ip rtdelete .......................................................................................................................................................................174
ip rtlist..............................................................................................................................................................................175
ip sendto..........................................................................................................................................................................176
E-SIT-CTC-20021203-0003 v1.0
5
IPoA Commands.......................................................................................... 177
ipoa flush .........................................................................................................................................................................178
ipoa ifadd.........................................................................................................................................................................179
ipoa ifattach ....................................................................................................................................................................180
ipoa ifconfig.....................................................................................................................................................................181
ipoa ifdelete ....................................................................................................................................................................183
ipoa ifdetach ...................................................................................................................................................................184
ipoa iflist ..........................................................................................................................................................................185
MER Commands .......................................................................................... 187
mer flush .........................................................................................................................................................................188
mer ifadd .........................................................................................................................................................................189
mer ifattach.....................................................................................................................................................................190
mer ifconfig.....................................................................................................................................................................191
mer ifdelete ....................................................................................................................................................................193
mer ifdetach....................................................................................................................................................................194
mer iflist ..........................................................................................................................................................................195
NAT Commands .......................................................................................... 197
nat applist........................................................................................................................................................................198
nat bind............................................................................................................................................................................199
nat bindlist.......................................................................................................................................................................200
nat create........................................................................................................................................................................201
nat defserver ..................................................................................................................................................................203
nat delete ........................................................................................................................................................................204
nat disable .......................................................................................................................................................................206
nat enable........................................................................................................................................................................207
nat flush ...........................................................................................................................................................................208
nat list ..............................................................................................................................................................................209
nat unbind .......................................................................................................................................................................210
Phonebook Commands ............................................................................... 211
phonebook add..............................................................................................................................................................212
phonebook autolist.......................................................................................................................................................214
phonebook delete.........................................................................................................................................................215
phonebook flush............................................................................................................................................................216
phonebook list ...............................................................................................................................................................217
6
E-SIT-CTC-20021203-0003 v1.0
PPP Commands ........................................................................................... 219
ppp flush ..........................................................................................................................................................................220
ppp ifadd..........................................................................................................................................................................221
ppp ifattach .....................................................................................................................................................................223
ppp ifconfig......................................................................................................................................................................225
ppp ifdelete.....................................................................................................................................................................230
ppp ifdetach ....................................................................................................................................................................232
ppp iflist ...........................................................................................................................................................................233
ppp ifscan ........................................................................................................................................................................234
ppp rtadd.........................................................................................................................................................................235
ppp rtdelete....................................................................................................................................................................237
PPTP Commands......................................................................................... 239
pptp flush.........................................................................................................................................................................240
pptp list............................................................................................................................................................................241
pptp profadd...................................................................................................................................................................242
pptp profdelete..............................................................................................................................................................243
pptp proflist ....................................................................................................................................................................244
QoSBook Commands .................................................................................. 245
qosbook add...................................................................................................................................................................246
qosbook delete..............................................................................................................................................................248
qosbook flush.................................................................................................................................................................249
qosbook list ....................................................................................................................................................................250
Software Commands ................................................................................... 251
software cleanup ...........................................................................................................................................................252
software deletepassive.................................................................................................................................................253
software duplicate.........................................................................................................................................................254
software setpassive.......................................................................................................................................................255
software switch .............................................................................................................................................................256
software version............................................................................................................................................................257
E-SIT-CTC-20021203-0003 v1.0
7
System Commands...................................................................................... 259
system clearpassword ..................................................................................................................................................260
system config..................................................................................................................................................................261
system flush ....................................................................................................................................................................262
system reboot................................................................................................................................................................263
system reset ...................................................................................................................................................................264
system setpassword......................................................................................................................................................265
TD Commands ............................................................................................. 267
td call................................................................................................................................................................................268
UPnP Commands......................................................................................... 269
upnp config .....................................................................................................................................................................270
upnp flush........................................................................................................................................................................271
upnp list...........................................................................................................................................................................272
Wireless Commands ................................................................................... 273
wireless wepconfig........................................................................................................................................................274
wireless aclconfig...........................................................................................................................................................275
wireless acllist ................................................................................................................................................................276
wireless aclflush .............................................................................................................................................................277
wireless aclentry............................................................................................................................................................278
wireless ifconfig .............................................................................................................................................................279
wireless status................................................................................................................................................................281
wireless counters ..........................................................................................................................................................282
wireless scan ..................................................................................................................................................................283
wireless flush ..................................................................................................................................................................284
Abbreviations ............................................................................................... 285
Supported Key Names ................................................................................ 289
Supported Internet Protocol (IP) Protocol Names ..............................................................................................289
Supported TCP/UDP Port Names............................................................................................................................290
Supported ICMP Type Names ...................................................................................................................................293
8
E-SIT-CTC-20021203-0003 v1.0

About this Document

Introduction
Welcome to the SpeedTouch
TM
500Series Command Line Interface (CLI) Reference Guide!
For the Service Provider this Reference Guide aims to give a concise and practical document for creating a customized configuration profile file, based on the SpeedTouch configure the SpeedTouch
For the fastidious user this Reference Guide aims to give a handbook for advanced and detailed configuration and trou­bleshooting of the SpeedTouch
TM
500Series and PC(s).
TM
500Series via its character based Command Line Interface.
This CLI Reference Guide covers the CLI commands of the following DSL SpeedTouch
SpeedTouch
SpeedTouch
SpeedTouch
SpeedTouch
SpeedTouch
TM
TM
TM
TM
TM
510
510i
530
570
570i
TM
500Series CLI command set, to be used by the end-user to
TM
products:
Contents
The Reference Guide consists of two main parts:
CLI Navigation
The CLI navigation is decribed in this chapter. Here the user is familiarised with the SpeedTouch
TM
500Series CLI.
It describes general manipulations to navigate through and to perform some operations on the CLI.
CLI Command Description
The other chapters describe all the available CLI commands of the SpeedTouch
TM
500Series 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 needed completed by a description of the possible impact on the
user and/or the SpeedTouch
TM
500Series
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-SIT-CTC-20021203-0003 v1.0
9
Trademarks
The following trademarks are used in this document:
SpeedTouch
TM
is a trademark of THOMSON
Netscape‚ and Netscape Navigator‚ are registered trademarks of Netscape Communications Corporation
Windows and Internet Explorer are trademarks of Microsoft Corporation
Apple‚ and Mac‚OS 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 DSL technology, existing products are regularly upgraded.
For more information on the latest technological innovations, software upgrades, and documents, please visit the SpeedTouch
TM
web site at:
http://www.speedtouch.com
Directive
Unless expressly and unambiguously approved by THOMSON, you may not:
disassemble, de-compile, reverse engineer, trace or otherwise analyze the equipment, its content, operation, or
functionality, or otherwise attempt to derive source code (or the underlying ideas, algorithms, structure or orga­nization) from the equipment or from any other information provided by THOMSON, except to the extent that this restriction is expressly prohibited by local law;
copy, rent, loan, re-sell, sublicense, or otherwise transfer or distribute the equipment to others;
modify, adapt or create a derivative work of the equipment;
remove from any copies of the equipment any product identification, copyright or other notices;
disseminate performance information or analysis (including, without limitation, benchmarks) from any source
relating to the equipment.
Such acts not expressly approved by THOMSON will result in the loss of product warranty and will invalidate the
user's authority to operate this equipment.
10
E-SIT-CTC-20021203-0003 v1.0

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
As soon a session to the CLI is opened, the SpeedTouch
In case the SpeedTouch granted.
The following figure shows an example of the SpeedTouch authentication.
/home/doejohn{1}$ telnet 10.0.0.138 Trying 10.0.0.138... Connected to 10.0.0.138. Username : Password : ######
-----------------------------------------------------------------------­* * ______ Speedtouch 510 * ___/_____/\ * / /\\ Version R4.0.0.9.0 * _____/__ / \\ * _/ /\_____/___ \ Copyright (c) 1999-2002, * // / \ /\ \ THOMSON multimedia * _______//_______/ \ / _\/______ * / /\ \/// /\ * __/ / \ \ / / / / _\__ * / / / \_______\/ / / / / /\ * /_/______/___________________/ /________/ /___/ \ * \ \ \ ___________ \ \ \ \ \ / * \_\ \ / /\ \ \ \ \___\/ *\ \/ /\\\ \/ * \_____/ / \ \ \________\/ * /__________/ \ \ / * \ _____ \ /_____\/ * \ / /\ \ /___\/ * /____/\\/ * \ \ /___\/ * \____\/ *
-----------------------------------------------------------------------­=>
TM
500Series.
TM
500Series banner pops up, followed by the CLI prompt.
TM
500Series is protected by a System password, authentication will be required before access is
TM
500Series banner after opening a session and
E-SIT-CTC-20021203-0003 v1.0
11

Basic Navigation and Manipulation

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
=>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.
Following command groups are available :
adsl atm bridge cip config dhcp dns env eth firewall ip ipoa mer nat password phonebook ppp pptp qosbook software system td upnp
TM
510.
=>
However:
TM
eth is only available on SpeedTouch
SpeedTouch
TM
530
upnp is only available for the SpeedTouch
wireless is only available for the SpeedTouch
510 variants equipped with a single Ethernet port and the
TM
510 variants and the SpeedTouchTM530
TM
570
To return to top level, or to descend one level (in case of nested command groups) execute .. .
EXAMPLE:
=>phonebook [phonebook]=> [phonebook]=>.. =>
12
E-SIT-CTC-20021203-0003 v1.0
The Help Command
Execute help or ? from top level to list all available command groups for the SpeedTouch
EXAMPLE for the SpeedTouch
=>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.
Following command groups are available :
adsl atmstats bridge cip config dhcp dns env eth firewall ip mer nat password phonebook ppp pptp qosbook software system td wireless =>
TM
570:
TM
500Series.
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 :
chain rule
[firewall]=>
As both help and ? have the exact same functionality in the SpeedTouch
TM
500Series 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-SIT-CTC-20021203-0003 v1.0
13
EXAMPLE:
=>firewall help 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 :
chain rule
=>
14
E-SIT-CTC-20021203-0003 v1.0
Entering help followed by a specific command, e.g. help firewall assign (starting from top level) or help assign (executed from the 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.
For 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.
EXAMPLE:
=>firewall [firewall]=>"a+TAB" [firewall]=>assign
Going to the beginning or end of the Command Line
To go to ... Press ...
the beginning of the Command Line CTRL+A
the end of the Command Line CTRL+E
E-SIT-CTC-20021203-0003 v1.0
15
Breaking off Commands
Press CTRL+G to break off a command. 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 =
[firewall]=>match chain = chain = chain = “CTRL+G” [firewall]=>
History of Commands
To select previously executed commands, use the UP and DOWN ARROW keys to select a previously executed command. Press ENTER to execute the selected command.
EXAMPLE:
=>firewall [firewall]=>list assign hook=input chain=input assign hook=sink chain=sink assign hook=forward chain=forward assign hook=source chain=source [firewall]=> “UP ARROW” [firewall]=>:firewall list
16
E-SIT-CTC-20021203-0003 v1.0

Command Line Interface Top Level Structure

The following command groups are always available:
atm
bridge
cip
config
dhcp
dns
env
firewall
ip
ipoa
mer
nat
phonebook
ppp
pptp
qosbook
software
system
td
Following command groups are optional:
adsl (only applicable for the SpeedTouch
SpeedTouch
TM
570i ADSL/ISDN variants)
TM
510, SpeedTouchTM570 ADSL/POTS, and the SpeedTouchTM510i and
eth (only applicable for models equipped with a single 10/100Base-T Ethernet port)
upnp (only applicable for the SpeedTouch
wireless (only applicable for the SpeedTouch
TM
510 and SpeedTouchTM530 variants)
TM
570 variants)
E-SIT-CTC-20021203-0003 v1.0
17

Command Line Interface Commands

All CLI commands are commands that operate on, or configure, the SpeedTouchTM500Series settings.
You can execute these commands from top level, preceded by the name of the command group from which the command should be executed (e. g. firewall list).
You can also execute the commands from the command group itself, using the reduced form of the command (e.g. list at the firewall command group selection).
! in a command means ‘NOT‘, e.g. the [!]syn parameter in the firewall rule create command.
EXAMPLE:
=>firewall list assign hook=input chain=input assign hook=sink chain=sink assign hook=forward chain=forward assign hook=source chain=source =>firewall [firewall]=>list assign hook=input chain=input assign hook=sink chain=sink assign hook=forward chain=forward assign hook=source chain=source [firewall]=>
Instead of entering a completely built-up command with all its parameters, you can also enter just the command itself, without its parameters. After this you are prompted to complete the command with the required and the optional parameters. For the optional parameters you can simply press enter without giving a value.
The example below is the equivalent of firewall assign hook=input chain=input. To break of such incomplete command press CTRL+G.
EXAMPLE:
=>firewall assign hook = input chain = input =>
18
E-SIT-CTC-20021203-0003 v1.0
Menu-driven CLI Navigation
To improve the user-friendliness of the SpeedTouchTM500Series CLI, the CLI features a menu-driven interface.
To enter the menu-driven interface, simply execute menu from the CLI prompt:
EXAMPLE (for the SpeedTouch
The semi-graphical CLI offers you an attractive and easy-to-use configuration environment for the CLI.
You can browse through the CLI command groups via the ARROW keys. Press ENTER to execute your selection. From each level you can select '..' to go back one level up.
TM
510):
Use the TAB key to change from the CLI command menu to the control menu and vice versa.
To setup a CLI command, simply press ENTER on its name. You can configure and overview its various parameters at one time. In case the parameter provides preset values, you can go through these via the ARROW keys. If you are satis­fied, use the TAB key to go to the OK field and press ENTER.
Note Do not forget to save your changes by executing saveall (from any CLI prompt).
E-SIT-CTC-20021203-0003 v1.0
19

Configuration Profile Files and the CLI

Configuration Profile Files500Series
The configuration profile files, used by the Setup wizard, or directly uploaded via the SpeedTouch pages, consist of a set of CLI commands. Only CLI commands, which are part of the SpeedTouch command set may be used in the .ini and .def files. For readability, configuration profile files are partitioned in para­graphs. These paragraphs reflect a CLI command group selection in the SpeedTouch
TM
500Series CLI. However, due to
TM
500Series web
TM
500Series CLI
internal processing, not all paragraph names are the same as their corresponding CLI command group selection.
In the following overview the relationship between the available SpeedTouch
TM
500Series CLI commands and the
[<configuration>.ini] paragraphs is given:
TM
[<configuration>.ini] paragraphs Available SpeedTouch
500Series CLI commands
[adslisdn.ini] The adsl CLI command group in case of a ADSL/ISDN variant.
[adslpots.ini] The adsl CLI command group in case of a ADSL/POTS variant.
[brfilter.ini] The hidden brfilter CLI command group.
[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.
[dnsd.ini] The dns CLI command group.
[env.ini] The env CLI command group.
[eth.ini] The eth CLI command group.
[ip.ini] The ip CLI command group.
[ipoa.ini] The cip CLI command group.
[mer.ini] The mer CLI command group.
[nat.ini] The nat CLI command group.
[oam.ini] The atm oam CLI command subgroup.
[pfilter.ini] The firewall chain CLI command subgroup
The firewall rule CLI command subgroup.
[pfirewall.ini] The firewall CLI command group (except those part of the firewall chain
and firewall rule CLI command subgroups).
[phone.ini] The phonebook CLI command group.
[ppp.ini] The ppp CLI command group.
[pptp.ini] The pptp CLI command group.
[qos.ini] The qosbook CLI command group.
20
E-SIT-CTC-20021203-0003 v1.0
[<configuration>.ini] paragraphs Available SpeedTouch
TM
500Series CLI commands
[snmp.ini] The snmp CLI command group.
[system.ini] The system CLI command group.
[wireless.ini] The wireless CLI command group.
CLI Commands in Configuration Profile Files
CLI commands in a paragraph of a configuration profile file should always be constructed in their complete form. Uncompleted CLI commands, i.e. commands in which required parameters are not specified, used in a configuration profile file will be discarded by the CLI commend interpreter. This may result in a wrongly configured SpeedTouch
TM
500Series.
In configuration profile 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
TM
500Series. The declaration of such variables must be done in the [env.ini] paragraph. Further use of the resulting variable TAG is allowed through all other paragraphs, even multiple times.
To make sure that a variable always will result in a valid variable TAG, the [env.ini] paragraph also allows to declare a preset value for the variable.
In case the variable TAG is used in a CLI command, the value of the variable should always be in conformity with the syntax of the CLI command.
Customizing Configuration Profile Files
For more information on the customization possibilities of the SpeedTouch configuration profile files, please check the SpeedTouch
TM
support pages at:
TM
500Series, the Setup wizard and the
http://www.speedtouch.com
E-SIT-CTC-20021203-0003 v1.0
21

Direct FTP Access

The SpeedTouchTM500Series File System
The SpeedTouch responsible for storing, retrieving and maintaining the SpeedTouch
TM
500Series permanent storage, further referred to as 'file system', exists of nonvolatile memory
TM
500Series software image(s), configuration profile
files and optionally default settings files.
The file system of the SpeedTouch SpeedTouch
TM
500Series software image(s) and/or configuration profile files and default settings files.
TM
500Series is accessible via the FTP transport protocol. This allows to transfer the
Moreover, via FTP's quote site command you can execute CLI commands from the FTP prompt.
Proceed as indicated in the example below to open an FTP session to the SpeedTouch
/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 Password : ###### 330 OK ftp>
SpeedTouch
TM
(00-90-D0-01-02-03) User 'doejohn' OK. Password required.
TM
500Series File System Structure
TM
500Series file system:
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 next to the two subdirectories 'active' and 'dl' all necessary files for the SpeedTouch
TM
500Series to
boot correctly.
The 'active' subdirectory always contains the software image in execution.
The 'dl' directory contains dormant software image. In case you have made changes to the SpeedTouch
TM
500Series configuration and saved them, be it via a Telnet session, via the web pages or via the Setup wizard, a user.ini configura­tion profile file is created in the 'dl' subdirectory.
In other words, after each 'Save all', or config save call, the user.ini configuration profile file present in the 'dl' subdirec­tory reflects the current configuration of the SpeedTouch
TM
500Series.
22
E-SIT-CTC-20021203-0003 v1.0
SpeedTouchTM500Series File System Access Rights
Following access rights apply on the file system:
'root' Directory
Listing of 'root' directory files (dir)
'active' Subdirectory
Listing of 'active' subdirectory files (dir) FTP (m)get of (multiple) 'active' subdirectory files
'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.
FTP File Transfer
To allow correct file transfers, set the transfer mode to “binary”.
Note Turn 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 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>
TM
(00-90-D0-01-02-03) User 'doejohn' OK. Password required.
E-SIT-CTC-20021203-0003 v1.0
23
24
E-SIT-CTC-20021203-0003 v1.0

ADSL Commands

ADSL Commands
Contents
This chapter covers the following commands:
Topic Page
adsl config 26
adsl info 27
E-SIT-CTC-20021203-0003 v1.0
25
ADSL Commands

adsl config

Show/set the Asymmetric Digital Subscriber Line (ADSL) configuration.
Although the same command for both SpeedTouch command features specific parameter values per variant:
SYNTAX FOR ADSL/Plain Old Telephone Service (POTS) variants:
adsl config [opermode = <{ansi|g.dmt_annex_a|g.lite|multimode}>]
[maxbitspertoneUS = <number{10-14}>]
TM
ADSL/POTS and SpeedTouchTM ADSL/ISDN variants, the
[opermode] The operational mode of the SpeedTouch
TM
modem.
Choose between:
ansi
g.dmt_annex_a
g.lite
multimode
By default the SpeedTouch
TM
will start in multimode.
maxbitspertoneUS A 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. By default the modem will use up to 13 bits per tone.
SYNTAX FOR ADSL/Integrated Services Digital Network (ISDN) variants:
adsl config [opermode = <{etsi|g.dmt_annex_b|multimode}>]
[maxbitspertoneUS = <number{10-14}>]
[opermode] The operational mode of the SpeedTouch
TM
modem.
Choose between:
ansi
g.dmt_annex_b
OPTIONAL
OPTIONAL
OPTIONAL
multimode
By default the SpeedTouch
maxbitspertoneUS A number between 10 and 14 (bits per tone).
TM
will start in multimode.
OPTIONAL Represents the maximum number of bits whic hcan be allocated to each ADSL DMT tone in the upstream direction. By default the modem will use up to 13 bits per tone.
Note Executing the :adsl config without specifying parameters, shows the current ADSL configuration.
26
E-SIT-CTC-20021203-0003 v1.0

adsl info

Show ADSL statistics and information about the SpeedTouchTM DSL line status.
Although the same command for both SpeedTouch command features specific output parameters and counters pe variant:
SYNTAX:
adsl info
TM
ADSL/POTS and SpeedTouchTM ADSL/ISDN variants, the
ADSL Commands
EXAMPLE (for a SpeedTouch
=>adsl info Modemstate : up Operation Mode : G.DMT Annex A [POTS Overlay Mode] Channel Mode : fast Number of resets : 1
Vendor (ITU) Local Remote
Country : 0f 0f Vendor : ALCB ALCB VendorSpecific : 0000 0000 StandardRevisionNr : 01 01
Margin [dB] : 25 31 Attenuation [dB] : 26 15
Available Bandwidth Cells/s Kbit/s
Downstream : 7924 3360 Upstream : 452 192
Transfer statistics
Total since power On Cells Kbit
Downstream : 10153 4304 Upstream : 3399 1441
Current Connection
Downstream : 10153 4304 Upstream : 3399 1441 Errors
Received FEC : 0 Received CRC : 0 Received HEC : 0
TM
500Series ADSL/POTS variant):
Downstream Upstream
.. Continued output on following page ..
E-SIT-CTC-20021203-0003 v1.0
27
ADSL Commands
.. Continued output ..
Far End Failure
No Failure
Near end failure
No failure
Far end failures since reset
Loss of frame: 0 failures Loss of signal: 0 failures Loss of power: 0 failures Loss of link: 0 failures Errored seconds: 0 seconds
Far end failures last 15 minutes
Loss of frame: 0 seconds Loss of signal: 0 seconds Loss of power: 0 seconds Loss of link: 0 seconds Errored seconds: 0 seconds
Far end failures current day
Errored seconds: 0 seconds
Far end failures previous day
Errored seconds: 0 seconds
Near end failures since reset
Loss of frame: 0 failures Loss of signal: 0 failures Loss of power: 0 failures Errored seconds: 0 seconds
Near end failures last 15 minutes
Loss of frame: 0 seconds Loss of signal: 0 seconds Loss of power: 0 seconds Errored seconds: 0 seconds
Near end failures current day
Errored seconds: 0 seconds
Near end failures previous day
Errored seconds: 0 seconds
=>
28
E-SIT-CTC-20021203-0003 v1.0

ATM Commands

ATM Commands
Contents
This chapter covers the following commands:
Topic Page
atm portstats 30
atm oam config 31
atm oam status 32
Note The command :atm portstats is replaced by the command :atmstats portstats for the SpeedTouch
The command :atmstats portstats is the only ATM command for the SpeedTouch
TM
570.
TM
570.
E-SIT-CTC-20021203-0003 v1.0
29
ATM Commands

atm portstats

Show port specific Asynchronous Transfer Mode (ATM) statistics.
SYNTAX:
atm portstats port = <{DSL0|ATM|ATMF25|ATM3|ATM4|ATM5} or number>
port The port to show the ATM statistics of.
Choose between:
DSL0
ATM
ATM F2 5
ATM 3
ATM 5
Or specify a port number.
Note The parameter DSL0 is replaced by the parameter
ADSL0 for the SpeedTouch
EXAMPLE:
=>atm portstats port=DSL0
# of received octets = 547649. # of transmitted octets = 191648. # of received cells = 10333. # of transmitted cells = 3616. # of unknown cells = 0. # of errors on the input = 0. # of errors on output = 0.
=>
TM
REQUIRED
570.
30
E-SIT-CTC-20021203-0003 v1.0

atm oam config

Configure Operation and Maintenance (OAM) cell settings.
SYNTAX:
atm oam config clp = <number{0-1}>
ATM Commands
clp The CLP bit value of the OAM cells.
Select either:
0
1
REQUIRED
E-SIT-CTC-20021203-0003 v1.0
31
ATM Commands

atm oam status

Show OAM data blocking mode of all ports.
SYNTAX:
atm oam status
EXAMPLE:
=>atm oam status
OAM config dump
------------------­CLP bit value : 1
=>
32
E-SIT-CTC-20021203-0003 v1.0

Bridge Commands

Bridge Commands
Contents
This chapter covers the following commands:
Topic Page
bridge config 34
bridge flush 35
bridge ifadd 36
bridge ifattach 39
bridge ifconfig 42
bridge ifdelete 44
bridge ifdetach 45
bridge iflist 46
bridge macadd 48
bridge macdelete 49
bridge maclist 50
E-SIT-CTC-20021203-0003 v1.0
33
Bridge Commands

bridge config

Show/set bridge ageing policy for dynamically learned Medium Access Control (MAC) addresses.
SYNTAX:
bridge config [age = <number {10 - 100000}>]
[age] A number between 10 and 100000 (seconds).
Represents the lifetime of a dynamically learned MAC address. By default the ageing timer is 300 seconds.
EXAMPLE:
=>bridge config Ageing : 300 =>bridge config age=600 =>bridge config Ageing : 600 =>
OPTIONAL
34
E-SIT-CTC-20021203-0003 v1.0

bridge flush

Flush bridge interfaces and parameters.
Note The flush command does not impact previously saved configurations.
SYNTAX:
bridge flush
Bridge Commands
E-SIT-CTC-20021203-0003 v1.0
35
Bridge Commands

bridge ifadd

Create a bridged Ethernet interface.
36
E-SIT-CTC-20021203-0003 v1.0
SYNTAX:
bridge ifadd [intf = <string>]
[dest = <available ETHoA phonebook entries>]
Bridge Commands
[intf] The bridged Ethernet interface name.
If not specified, the destination parameter must be specified. In this case the name of the destination will double as interface name.
[dest] The destination address for the new interface.
Typically a phonebook entry. Browse through the available entries via the ARROW UP and ARROW DOWN keys.
EXAMPLE:
=>bridge iflist OBC : Internal
Connection State: connected Port: OBC PortState: forwarding RX bytes: 75783 frames: 572 TX bytes: 82768372 frames: 341221 dropframes: 0
eth0 : Internal
Connection State: connected Port: eth0 PortState: forwarding RX bytes: 156344216 frames: 5899238 TX bytes: 75689 frames: 425 dropframes: 5558017
usb_bridge : dest : usb_port
Retry : 10 QoS : default Encaps : llc/snap Fcs : off Connection State: connected Port: wan2 PortNr: 4 PortState: forwarding RX bytes: 0 frames: 0
TX bytes: 0 frames: 0 dropframes: 0 =>bridge ifadd intf=TestBridge dest=Br1 =>bridge iflist OBC : Internal
Connection State: connected Port: OBC PortState: forwarding
RX bytes: 75783 frames: 572
TX bytes: 82843610 frames: 341554 dropframes: 0 eth0 : Internal
Connection State: connected Port: eth0 PortState: forwarding
RX bytes: 156472129 frames: 5903256
TX bytes: 75689 frames: 425 dropframes: 5561702 usb_bridge : dest : usb_port
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State: connected
Port: wan2 PortNr: 4 PortState: forwarding
RX bytes: 0 frames: 0
TX bytes: 0 frames: 0 dropframes: 0 TestBridge : dest : Br1
Retry: 10 QoS: default Encaps: llc/snap Fcs: off
Connection State: not-connected Port: (Unassigned) PortState: forwarding =>
OPTIONAL
OPTIONAL
E-SIT-CTC-20021203-0003 v1.0
37
Bridge Commands
RELATED COMMANDS:
bridge ifattach Attach a bridge interface.
bridge ifdetach Detach a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge ifconfig Configure a bridge interface.
bridge iflist Show current bridge configuration.
38
E-SIT-CTC-20021203-0003 v1.0

bridge ifattach

Attach (i.e. connect) a bridged Ethernet interface.
Bridge Commands
E-SIT-CTC-20021203-0003 v1.0
39
Bridge Commands
SYNTAX:
bridge ifattach intf = <available Bridged Ethernet interfaces>
intf The name of the interface to attach.
Browse through the available entries via the ARROW UP and ARROW DOWN keys.
EXAMPLE:
=>bridge iflist OBC : Internal
Connection State: connected Port: OBC PortState: forwarding
RX bytes: 75783 frames: 572
TX bytes: 82843610 frames: 341554 dropframes: 0 eth0 : Internal
Connection State: connected Port: eth0 PortState: forwarding
RX bytes: 156472129 frames: 5903256
TX bytes: 75689 frames: 425 dropframes: 5561702 usb_bridge : dest : usb_port
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State: connected
Port: wan2 PortNr: 4 PortState: forwarding
RX bytes: 0 frames: 0
TX bytes: 0 frames: 0 dropframes: 0 TestBridge : dest : Br1
Retry: 10 QoS: default Encaps: llc/snap Fcs: off
Connection State: not­connected Port: (Unassigned) PortState: forwarding =>bridge ifattach intf=TestBridge =>bridge iflist OBC : Internal
Connection State: connected Port: OBC PortState: forwarding
RX bytes: 75783 frames: 572
TX bytes: 82843610 frames: 341554 dropframes: 0 eth0 : Internal
Connection State: connected Port: eth0 PortState: forwarding
RX bytes: 156472129 frames: 5903256
TX bytes: 75689 frames: 425 dropframes: 5561702 usb_bridge : dest : usb_port
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State: connected
Port: wan2 PortNr: 4 PortState: forwarding
RX bytes: 0 frames: 0
TX bytes: 0 frames: 0 dropframes: 0 TestBridge : dest : Br1
Retry: 10 QoS: default Encaps: llc/snap Fcs: off
Connection State: connected Port: wan0 PortState: forwarding
RX bytes: 75 frames: 12
TX bytes: 30246 frames: 91 dropframes: 0 =>
REQUIRED
40
E-SIT-CTC-20021203-0003 v1.0
RELATED COMMANDS:
bridge ifadd Create a bridge interface.
bridge ifdetach Detach a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge ifconfig Configure a bridge interface.
bridge iflist Show current bridge configuration.
Bridge Commands
E-SIT-CTC-20021203-0003 v1.0
41
Bridge Commands

bridge ifconfig

Configure a bridge interface.
SYNTAX:
bridge ifconfig intf = <intfname>
[dest = <available interface name>] [qos = <string>] [encaps = <{llc/snap|vcmux}>] [fcs = <{off|on}>] [portstate = <{disabled|learning|forwarding}>] [retry = <number {0-65535}>]
intf The name of the bridge interface to configure. REQUIRED
[dest] The destination for this interface. Typically a phonebook entry.
This parameter needs only to be specified in case of an interface created without specified destination.
[qos] The name of the Quality Of Service book entry to apply on this
bridge interface.
[encaps] The type of encapsulation to be used for this bridge interface.
Choose between:
llc/snap
vcmux
[fcs] Whether or not to include the Ethernet FCS in the packet header on
the WAN side. Choose between:
off
on
[portstate] The bridge portstate for this interface. Choose between:
disabled
learning
forwarding
[retry] A number between 0 and 65535.
Represents the number of WAN connection setup retries before giving up. By default the retry value is 10.
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
Note In case of a SpeedTouch
42
TM
530 device, never change, or delete the usb_bridge interface!
E-SIT-CTC-20021203-0003 v1.0
EXAMPLE:
=>bridge iflist intf=TestBridge TestBridge : dest : Br1
Retry: 10 QoS: default Encaps: llc/snap Fcs: off Connection State: connected Port: wan0 PortState: forwarding RX bytes: 75 frames: 12
TX bytes: 30246 frames: 91 dropframes: 0 =>bridge ifconfig intf=TestBridge encaps=vcmux retry=15 =>bridge iflist intf=TestBridge TestBridge : dest : Br1
Retry: 15 QoS: default Encaps: vcmux Fcs: off
Connection State: connected Port: wan0 PortState: forwarding
RX bytes: 83 frames: 13
TX bytes: 30740 frames: 102 dropframes: 0 =>
RELATED COMMANDS:
bridge ifadd Create a bridge interface.
Bridge Commands
bridge ifattach Attach a bridge interface.
bridge ifdetach Detach a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge iflist Show current bridge configuration.
E-SIT-CTC-20021203-0003 v1.0
43
Bridge Commands

bridge ifdelete

Delete a bridge interface.
SYNTAX:
bridge ifdelete intf = <available Bridged Ethernet interfaces>
intf The name of the interface name to delete.
Browse through the available entries via the ARROW UP and ARROW DOWN keys.
EXAMPLE:
=>bridge ifdelete intf=TestBridge =>bridge iflist OBC : Internal
Connection State: connected Port: OBC PortState: forwarding RX bytes: 75783 frames: 572 TX bytes: 82843610 frames: 341554 dropframes: 0
eth0 : Internal
Connection State: connected Port: eth0 PortState: forwarding RX bytes: 156472129 frames: 5903256 TX bytes: 75689 frames: 425 dropframes: 5561702
usb_bridge : dest : usb_port
=>
Note In case of a SpeedTouch
Retry : 10 QoS : default Encaps : llc/snap Fcs : off Connection State: connected Port: wan2 PortNr: 4 PortState: forwarding RX bytes: 0 frames: 0 TX bytes: 0 frames: 0 dropframes: 0
TM
530 device, never change, or delete the usb_bridge interface!
REQUIRED
RELATED COMMANDS:
bridge ifadd Create a bridge interface.
bridge ifattach Attach a bridge interface.
bridge ifconfig Configure a bridge interface.
bridge ifdetach Detach a bridge interface.
bridge iflist Show current bridge configuration.
44
E-SIT-CTC-20021203-0003 v1.0

bridge ifdetach

Detach (i.e. disconnect) a bridge interface.
SYNTAX:
bridge ifdetach intf = <available Bridged Ethernet interfaces>
Bridge Commands
intf The name of the bridge interface to detach.
Browse through the available entries via the ARROW UP and ARROW DOWN keys.
EXAMPLE:
=>bridge iflist intf=TestBridge TestBridge : dest : Br1
=>bridge ifattach intf=TestBridge =>bridge iflist intf=TestBridge TestBridge : dest : Br1
=>
Note In case of a SpeedTouch
Retry: 10 QoS: default Encaps: llc/snap Fcs: off Connection State: connected Port: wan0 PortState: forwarding RX bytes: 75 frames: 12 TX bytes: 30246 frames: 91 dropframes: 0
Retry: 10 QoS: default Encaps: llc/snap Fcs: off Connection State: not-connected Port: (unassigned) PortState: forwarding
TM
530 device, never change, or delete the usb_bridge interface!
RELATED COMMANDS:
REQUIRED
bridge ifadd Create a bridge interface.
bridge ifattach Attach a bridge interface.
bridge ifconfig Configure a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge iflist Show current bridge configuration.
E-SIT-CTC-20021203-0003 v1.0
45
Bridge Commands

bridge iflist

Show the current state of all or the selected bridge interfaces.
SYNTAX:
bridge iflist [intf = <available Bridged Ethernet interfaces>]
[intf] The name of the bridge interface to show the configuration of.
Browse through the available entries via the ARROW UP and ARROW DOWN keys. If not specified all bridge interfaces are shown.
EXAMPLE OUTPUT:
=>bridge iflist OBC : Internal
Connection State: connected Port: OBC PortState: forwarding RX bytes: 75783 frames: 572 TX bytes: 82768372 frames: 341221 dropframes: 0
eth0 : Internal
Connection State: connected Port: eth0 PortState: forwarding RX bytes: 156344216 frames: 5899238 TX bytes: 75689 frames: 425 dropframes: 5558017
usb_bridge : dest : usb_port
Retry : 10 QoS : default Encaps : llc/snap Fcs : off Connection State: connected Port: wan2 PortNr: 4 PortState: forwarding RX bytes: 0 frames: 0 TX bytes: 0 frames: 0 dropframes: 0
TestBridge : dest : Br1
Retry: 15 QoS: default Encaps: vcmux Fcs: off Connection State: connected Port: wan0 PortState: forwarding RX bytes: 83 frames: 13 TX bytes: 30740 frames: 102 dropframes: 0
=>
OPTIONAL
Note In case of a SpeedTouch
46
TM
530 device, never change, or delete the usb_bridge interface!
E-SIT-CTC-20021203-0003 v1.0
Bridge Commands
DESCRIPTION::
RX bytes The number of Received bytes
TX bytes The number of Transmitted bytes
OBC Short for On Board Controller and indicates the physical bridge port.
RELATED COMMANDS:
bridge ifadd Create a bridge interface.
bridge ifattach Attach a created bridge interface.
bridge ifconfig Configure a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge ifdetach Detach a bridge interface.
E-SIT-CTC-20021203-0003 v1.0
47
Bridge Commands

bridge macadd

Add a static MAC address to the filtering database. Allows to manually add static addresses, which should normally be dynamically discovered by the bridge itself.
SYNTAX:
bridge macadd intf = <available bridge interfaces>
hwaddr = <hardware-address>
intf The name of the bridge interface to add the MAC address for. REQUIRED
hwaddr The MAC address of the new entry. REQUIRED
EXAMPLE:
=>bridge maclist 00:90:d0:01:02:03 -- static, OBC ff:ff:ff:ff:ff:ff -- static, OBC 01:80:c2:00:00:00 -- static, OBC 01:80:c2:00:00:01 -- static, OBC ... 01:80:c2:00:00:10 -- static, OBC 00:01:42:5f:7d:81 -- dynamic, eth0, 597 seconds 00:50:8b:31:cc:aa -- dynamic, eth0, 513 seconds 08:00:20:c1:9a:12 -- dynamic, eth0, 600 seconds ... =>bridge macadd intf=eth0 hwaddr=00:80:9f:01:23:45 =>bridge maclist 00:90:d0:01:02:03 -- static, OBC ff:ff:ff:ff:ff:ff -- static, OBC 01:80:c2:00:00:00 -- static, OBC 01:80:c2:00:00:01 -- static, OBC ... 01:80:c2:00:00:10 -- static, OBC 00:80:9f:01:23:45 -- permanent, eth0 00:01:42:5f:7d:81 -- dynamic, eth0, 598 seconds 00:50:8b:31:cc:aa -- dynamic, eth0, 379 seconds 08:00:20:c1:9a:12 -- dynamic, eth0, 600 seconds 00:08:c7:c3:5f:fc -- dynamic, eth0, 215 seconds ... =>
RELATED COMMANDS:
bridge macdelete Delete a MAC address entry.
bridge maclist Show current filtering database.
48
E-SIT-CTC-20021203-0003 v1.0
Bridge Commands

bridge macdelete

Remove a MAC address from the filtering database.
SYNTAX:
bridge macdelete hwaddr = <hardware-address>
hwaddr The MAC address of the entry to delete. REQUIRED
EXAMPLE:
=>bridge maclist 00:90:d0:01:02:03 -- static, OBC ff:ff:ff:ff:ff:ff -- static, OBC 01:80:c2:00:00:00 -- static, OBC 01:80:c2:00:00:01 -- static, OBC ... 01:80:c2:00:00:10 -- static, OBC 00:80:9f:01:23:45 -- permanent, OBC 00:01:42:5f:7d:81 -- dynamic, eth0, 597 seconds 00:50:8b:31:cc:aa -- dynamic, eth0, 513 seconds 08:00:20:c1:9a:12 -- dynamic, eth0, 600 seconds ... =>bridge macdelete hwaddr=00:80:9f:01:23:45 =>bridge maclist 00:90:d0:01:02:03 -- static, OBC ff:ff:ff:ff:ff:ff -- static, OBC 01:80:c2:00:00:00 -- static, OBC 01:80:c2:00:00:01 -- static, OBC ... 01:80:c2:00:00:10 -- static, OBC 00:01:42:5f:7d:81 -- dynamic, eth0, 598 seconds 00:50:8b:31:cc:aa -- dynamic, eth0, 379 seconds 08:00:20:c1:9a:12 -- dynamic, eth0, 600 seconds 00:08:c7:c3:5f:fc -- dynamic, eth0, 215 seconds ... =>
RELATED COMMANDS:
bridge macadd Add a static MAC address entry.
bridge maclist Show current filtering database.
E-SIT-CTC-20021203-0003 v1.0
49
Bridge Commands

bridge maclist

Show current MAC address filtering database.
SYNTAX:
bridge maclist
EXAMPLE:
=>bridge maclist =>bridge maclist 00:90:d0:01:02:03 -- static, OBC ff:ff:ff:ff:ff:ff -- static, OBC 01:80:c2:00:00:00 -- static, OBC 01:80:c2:00:00:01 -- static, OBC ... 01:80:c2:00:00:10 -- static, OBC 00:80:9f:24:ab:cf -- static, OBC 00:01:42:5f:7d:81 -- dynamic, eth0, 598 seconds 00:50:8b:31:cc:aa -- dynamic, eth0, 379 seconds 08:00:20:c1:9a:12 -- dynamic, eth0, 600 seconds 00:08:c7:c3:5f:fc -- dynamic, eth0, 215 seconds 08:00:20:a8:f4:34 -- dynamic, eth0, 600 seconds 08:00:20:83:b7:26 -- dynamic, eth0, 600 seconds 00:10:83:1b:13:18 -- dynamic, eth0, 599 seconds ... =>
RELATED COMMANDS:
bridge macadd Add a static MAC address entry.
bridge macdelete Delete a MAC address entry.
50
E-SIT-CTC-20021203-0003 v1.0

CIP Commands

CIP Commands
Contents
This chapter covers the following commands:
Topic Page
cip flush 52
cip ifadd 53
cip ifdelete 54
cip iflist 55
cip pvcadd 57
cip pvcdelete 58
cip pvclist 59
E-SIT-CTC-20021203-0003 v1.0
51
CIP Commands

cip flush

Flush complete Classical IP over ATM (IPoA) configuration.
Note The flush command does not impact previously saved configurations.
SYNTAX:
cip flush
52
E-SIT-CTC-20021203-0003 v1.0
CIP Commands

cip ifadd

Create a Classical IPoA interface at the local side of the Logical IP Subnet (LIS).
SYNTAX:
cip ifadd addr = <ip-address>
[netmask = <ip-mask (dotted or cidr)>] [uniaddr = <portspec:address[.selector]>]
addr The Classical IPoA interface's local IP address in the LIS. REQUIRED
netmask The LIS's subnetmask. OPTIONAL
uniaddr The UNI-address/port specification for incoming connections, e.g.
‘A0:*.04‘: ADSL port, any address, selector 3. Only applicable in an Switched Virtual Channel (SVC) environment. In most cases the Classical IPoA LIS is built in a Permanent Virtual Channel (PVC) environment.
EXAMPLE:
=>cip iflist cip1 addr = 172.16.0.5 mask = 255.255.255.0
UNI address = A0:*.04
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0 =>cip ifadd addr=172.16.1.1 netmask=255.255.255.0 =>cip iflist cip1 addr = 172.16.0.5 mask = 255.255.255.0
UNI address = A0:*.04
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0 cip0 addr = 172.16.1.1 mask = 255.255.255.0
UNI address = A0:*.03
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0 =>
OPTIONAL
RELATED COMMANDS:
cip ifdelete Delete a Classical IPoA interface.
cip ifadd Show current Classical IPoA configuration.
E-SIT-CTC-20021203-0003 v1.0
53
CIP Commands

cip ifdelete

Delete a Classical IPoA interface at the local side of the Logical IP Subnet (LIS).
SYNTAX:
cip ifdelete addr = <ip-address>
addr The Classical IPoA interface's local IP address in the LIS. REQUIRED
EXAMPLE:
=>cip iflist cip0 addr = 172.16.1.1 mask = 255.255.255.0
cip1 addr = 172.16.0.5 mask = 255.255.255.0
=>cip ifdelete addr=172.16.1.1 =>cip iflist cip1 addr = 172.16.0.5 mask = 255.255.255.0
=>
UNI address = A0:*.03
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0
UNI address = A0:*.04
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0
UNI address = A0:*.04
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0
RELATED COMMANDS:
cip ifadd Create a Classical IPoA interface.
cip iflist Show current Classical IPoA configuration.
54
E-SIT-CTC-20021203-0003 v1.0

cip iflist

Show current Classical IPoA configuration.
SYNTAX:
cip iflist
EXAMPLE OUTPUT:
=>cip iflist cip0 addr = 172.16.1.1 mask = 255.255.255.0
UNI address = A0:*.03
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0 cip1 addr = 172.16.0.5 mask = 255.255.255.0
UNI address = A0:*.04
inarp_reqs_in = 0 inarp_repl_in = 0 inarp_inv_in = 0
inarp_reqs_out = 0 inarp_repl_out = 0 inarp_inv_out = 0 =>
CIP Commands
DESCRIPTION:
inarp_reqs_in/inarp_reqs_out Incoming/outgoing inverse ARP requests
inarp_repl_in/inarp_repl_out Incoming/outgoing inverse ARP replies
inarp_inv_in/inarp_inv_out Incoming/outgoing invalid inverse ARP messages
EXAMPLE INPUT/OUTPUT: EVOLUTION OF ARP REQUESTS IN A NETWORKED ENVIRONMENT:
=>cip iflist cip0 addr = 200.200.200.138 mask = 255.255.255.0
=>cip iflist cip0 addr = 200.200.200.138 mask = 255.255.255.0
=>cip iflist cip0 addr = 200.200.200.138 mask = 255.255.255.0
=>
UNI address = A0:*.03
inarp_reqs_in = 18 inarp_repl_in = 75 inarp_inv_in = 0
inarp_reqs_out = 18 inarp_repl_out = 75 inarp_inv_out = 0
UNI address = A0:*.03
inarp_reqs_in = 22 inarp_repl_in = 75 inarp_inv_in = 0
inarp_reqs_out = 22 inarp_repl_out = 75 inarp_inv_out = 0
UNI address = A0:*.03
inarp_reqs_in = 22 inarp_repl_in = 76 inarp_inv_in = 0
inarp_reqs_out = 22 inarp_repl_out = 76 inarp_inv_out = 0
E-SIT-CTC-20021203-0003 v1.0
55
CIP Commands
RELATED COMMANDS:
cip ifadd Create a Classical IPoA interface.
cip ifdelete Delete a Classical IPoA interface.
56
E-SIT-CTC-20021203-0003 v1.0
CIP Commands

cip pvcadd

Create a PVC Address Resolution Protocol (ARP) entry for destinations which are not RFC 1577/RFC2225 compliant.
SYNTAX:
cip pvcadd dest = <phonebookname>
[destaddr = <ip-address>] [mtu = <number {273-20000}>]
dest The ATM address (hardware address) of the destination host.
REQUIRED
Typically a phonebook name.
[destaddr] The IP address of the destination host. OPTIONAL
[mtu] A number between 273 and 20000 (bytes).
OPTIONAL Represents the maximum ATM Adaption Layer 5 (AAL5) packet size for this connection. By default the mtu is 9180 bytes.
EXAMPLE:
=>phonebook list Name Type Use Address Br1 bridge 1 8.35 Br2 bridge 1 8.36 Br3 bridge 1 8.37 Br4 bridge 0 8.38 RELAY_PPP1 ppp 0 8.48 RELAY_PPP2 ppp 0 8.49 RELAY_PPP3 ppp 0 8.50 RELAY_PPP4 ppp 0 8.51 PPP1 ppp 1 8.64 PPP2 ppp 1 8.65 PPP3 ppp 1 8.66 DHCP_SPOOF ppp 1 8.67 CIPPVC1 cip 0 8.80 CIPPVC2 cip 0 8.81 CIPPVC3 cip 0 8.82 CIPPVC4 cip 0 8.83 =>cip pvclist =>cip pvcadd dest CIPPVC1 destaddr 172.16.1.2 mtu 546 =>cip pvclist CIPPVC1 atmport = 0 vpi = 8 vci = 80 dest_ip = 172.16.1.2
=>
encaps = llc mtu = 546
RELATED COMMANDS:
cip pvcdelete Delete a PVC ARP entry.
cip pvclist Show current PVC ARP entries.
E-SIT-CTC-20021203-0003 v1.0
57
CIP Commands

cip pvcdelete

Delete a PVC ARP entry.
SYNTAX:
cip pvcdelete dest = <phonebookname>
dest Typically a phonebook entry name.
Represents the ATM address (hardware address) or name of the entry to delete.
EXAMPLE:
=>cip pvclist CIPPVC1 atmport = 0 vpi = 8 vci = 80 dest_ip = 172.16.1.2
encaps = llc mtu = 546 =>cip pvcdelete dest=CIPPVC1 =>cip pvclist =>
RELATED COMMANDS:
cip pvcadd Create a PVC ARP entry.
cip pvclist Show current PVC ARP entries.
REQUIRED
58
E-SIT-CTC-20021203-0003 v1.0

cip pvclist

Show current PVC ARP entries.
SYNTAX:
cip pvclist
EXAMPLE OUTPUT:
=>cip pvclist CIPPVC1 atmport = 0 vpi = 8 vci = 80 dest_ip = 172.16.1.2
encaps = llc mtu = 546 =>
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT:
CIP Commands
=>cip iflist cip0 addr = 200.200.200.138 mask = 255.255.255.0
=>cip pvclist 699 atmport = 0 vpi = 6 vci = 99 dest_ip = 172.16.1.3
8.50 atmport = 0 vpi = 8 vci = 50 dest_ip = 200.200.200.14
=>
UNI address = A0:*.03 inarp_reqs_in = 0 inarp_repl_in = 75 inarp_inv_in = 0 inarp_reqs_out = 0 inarp_repl_out = 75 inarp_inv_out = 0
encaps = llc mtu = 9180
encaps = llc mtu = 9180
RELATED COMMANDS:
cip pvcdelete Delete a PVC ARP entry.
cip pvcadd Create a PVC ARP entry.
E-SIT-CTC-20021203-0003 v1.0
59
CIP Commands
60
E-SIT-CTC-20021203-0003 v1.0

Config Commands

Config Commands
Contents
This chapter covers the following commands:
Topic Page
config erase 62
config flush 63
config load 64
config save 65
E-SIT-CTC-20021203-0003 v1.0
61
Config Commands

config erase

Physically remove all saved configurations, i.e. the user configuration file, saved in the SpeedTouchTM permanent storage, is deleted.
SYNTAX:
config erase
RELATED COMMANDS:
config flush Flush complete runtime configuration.
config load Load complete saved or default configuration.
config save Save complete runtime configuration.
62
E-SIT-CTC-20021203-0003 v1.0
Config Commands

config flush

Flush complete current configuration without affecting saved configurations.
This combines all flush commands: bridge flush, cip flush, dhcp client flush, dhcp server flush, dns flush, env flush, firewall flush, firewall rule flush, ipoa flush, mer flush, nat flush, phonebook flush, ppp flush, pptp flush, qosbook flush, system flush and optionally ip flush.
SYNTAX:
config flush [flush_ip = <{no|yes}>]
[flush_ip] Keep current IP configuration (yes) or not (no).
Not keeping the IP settings could cause lost IP connectivity in the LAN. By default IP settings are preserved.
EXAMPLE:
=>ip rtlist
Destination Source Gateway Intf Mtrc
10.0.0.0/24 10.0.0.0/24 10.0.0.140 eth0 0
172.16.0.5/32 0.0.0.0/0 172.16.0.5 cip1 0
10.0.0.140/32 0.0.0.0/0 10.0.0.140 eth0 0
127.0.0.1/32 0.0.0.0/0 127.0.0.1 loop 0
10.0.0.0/24 0.0.0.0/0 10.0.0.140 eth0 0
172.16.0.0/24 0.0.0.0/0 172.16.0.5 cip1 1 =>config flush flush_ip=no =>ip rtlist
Destination Source Gateway Intf Mtrc
10.0.0.0/24 10.0.0.0/24 10.0.0.140 eth0 0
10.0.0.140/32 0.0.0.0/0 10.0.0.140 eth0 0
127.0.0.1/32 0.0.0.0/0 127.0.0.1 loop 0
10.0.0.0/24 0.0.0.0/0 10.0.0.140 eth0 0 =>config flush flush_ip=yes
######### ALL TCP/IP CONNECTIVITY IS LOST ##########
OPTIONAL
RELATED COMMANDS:
config erase Physically remove all saved configurations.
config load Load complete saved or default configuration.
config save Save current runtime configuration.
E-SIT-CTC-20021203-0003 v1.0
63
Config Commands

config load

Load complete saved or default configuration.
Note Execute config flush prior to config load.
SYNTAX:
config load [load_ip = <{no|yes}>]
[defaults = <{yes|no}>]
[load_ip] Load IP settings (yes) or not (no).
Not keeping the IP settings could cause lost IP connectivity in the LAN.
[defaults] Load default configuration (yes) or saved configuration (no).
Not specifying this parameter loads the saved configuration
EXAMPLE:
=>ip rtlist
Destination Source Gateway Intf Mtrc
10.0.0.0/24 10.0.0.0/24 10.0.0.140 eth0 0
172.16.0.5/32 0.0.0.0/0 172.16.0.5 cip1 0
10.0.0.140/32 0.0.0.0/0 10.0.0.140 eth0 0
127.0.0.1/32 0.0.0.0/0 127.0.0.1 loop 0
10.0.0.0/24 0.0.0.0/0 10.0.0.140 eth0 0
172.16.0.0/24 0.0.0.0/0 172.16.0.5 cip1 1 =>config flush flush_ip=no =>ip rtlist
Destination Source Gateway Intf Mtrc
10.0.0.0/24 10.0.0.0/24 10.0.0.140 eth0 0
10.0.0.140/32 0.0.0.0/0 10.0.0.140 eth0 0
127.0.0.1/32 0.0.0.0/0 127.0.0.1 loop 0
10.0.0.0/24 0.0.0.0/0 10.0.0.140 eth0 0 =>config load load_ip=yes =>ip rtlist
Destination Source Gateway Intf Mtrc
10.0.0.0/24 10.0.0.0/24 10.0.0.140 eth0 0
10.0.0.140/32 0.0.0.0/0 10.0.0.140 eth0 0
172.16.0.5/32 0.0.0.0/0 172.16.0.5 cip1 0
127.0.0.1/32 0.0.0.0/0 127.0.0.1 loop 0
10.0.0.0/24 0.0.0.0/0 10.0.0.140 eth0 0
172.16.0.0/24 0.0.0.0/0 172.16.0.5 cip1 1 =>
OPTIONAL
OPTIONAL
RELATED COMMANDS:
config erase Physically remove all saved configurations.
config flush Flush complete runtime configuration.
config save Save current runtime configuration.
64
E-SIT-CTC-20021203-0003 v1.0

config save

Config Commands
Save all existing configurations and modifications entered by the user. The result of executing this command is a user.ini file saved in the SpeedTouch downloaded via the SpeedTouch
TM
web pages or via an FTP session.
TM
SYNTAX:
config save
EXAMPLE:
=>config save =>
RELATED COMMANDS:
config erase Physically remove all saved configurations.
config flush Flush complete current configuration.
config load Load complete saved or default configuration.
permanent storage. This file can be
E-SIT-CTC-20021203-0003 v1.0
65
Config Commands
66
E-SIT-CTC-20021203-0003 v1.0

DHCP Commands

DHCP Commands
Contents
Topic Page
dhcp client clear 68
dhcp client config 69
dhcp client flush 70
dhcp client ifadd 71
dhcp client ifattach 72
dhcp client ifconfig 73
dhcp client ifdelete 75
dhcp client iflist 76
dhcp client ifrelease 77
dhcp client ifrenew 79
dhcp client stats 81
dhcp server clear 82
dhcp server config 83
dhcp server flush 84
dhcp server policy 85
dhcp server spoof 86
dhcp server start 87
dhcp server stats 88
dhcp server stop 90
dhcp server lease add 91
dhcp server lease delete 93
dhcp server lease flush 94
dhcp server lease list 95
dhcp server pool add 96
dhcp server pool config 98
dhcp server pool delete 100
dhcp server pool flush 101
dhcp server pool list 102
E-SIT-CTC-20021203-0003 v1.0
67
DHCP Commands

dhcp client clear

Clear Dynamic Host Configuration Protocol (DHCP) client statistics.
SYNTAX:
dhcp client clear
EXAMPLE:
=>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 OFFERs recv : 0 ACKs recv : 0 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 253 REQUESTs sent : 9 DECLINEs sent : 0 RELEASEs sent : 0 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>dhcp client clear =>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 OFFERs recv : 0 ACKs recv : 0 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 0 REQUESTs sent : 0 DECLINEs sent : 0 RELEASEs sent : 0 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>
RELATED COMMANDS:
dhcp client stats Show DHCP client statistics.
68
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp client config

Show/set DHCP client configuration.
SYNTAX:
dhcp client config [trace = <{off|on}>]
[trace] Enable tracing (on) or not (off). OPTIONAL
EXAMPLE:
=>dhcp client config tracing: off =>dhcp client config trace=on =>dhcp client config tracing: on =>
RELATED COMMANDS:
dhcp client ifconfig Configure a DHCP lease created for a specific interface.
E-SIT-CTC-20021203-0003 v1.0
69
DHCP Commands

dhcp client flush

Flush complete DHCP client configuration and dynamic interfaces.
Note The flush command does not impact previously saved configurations.
SYNTAX:
dhcp client flush
EXAMPLE:
=>dhcp client iflist NewMer : [SELECTING]
flags= uc IP address : 10.0.0.10 HW address : 0:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime= 10800 s trying to get a lease for 8 min, 32 sec transmission of DISCOVER in 57 sec retransmission timeout: 64
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>dhcp client flush =>dhcp client iflist No dynamic interfaces defined. =>
nbr of retransmissions: 14
70
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp client ifadd

Create a DHCP lease for a specific interface.
SYNTAX:
dhcp client ifadd intf = <interface name>
intf The name of an existing interface, e.g. created via :mer ifadd. REQUIRED
EXAMPLE:
=>dhcp client iflist No dynamic interfaces defined. =>dhcp client ifadd intf=NewMer =>dhcp client iflist NewMer : [INIT]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>
flags= uc IP address : 0.0.0.0 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255
RELATED COMMANDS:
dhcp client ifattach Attach a DHCP lease to an interface.
dhcp client ifconfig Configure a DHCP lease created for a specific interface.
dhcp client ifdelete Delete a dynamic interface.
dhcp client iflist Show all dynamic interfaces.
E-SIT-CTC-20021203-0003 v1.0
71
DHCP Commands

dhcp client ifattach

Attach a DHCP lease to a dynamic interface.
Note Create the interface first with :dhcp client ifadd.
SYNTAX:
dhcp client ifattach intf = <interface name>
intf The name of the dynamic interface. REQUIRED
EXAMPLE:
=>dhcp client iflist NewMer : [INIT]
flags= uc IP address : 0.0.0.0 HW address : 00:90:d0:01:47:de
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>dhcp client ifattach intf=NewMer =>dhcp client iflist NewMer : [SELECTING]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>
DHCP server : 255.255.255.255
flags= uc IP address : 10.0.0.10 HW address : 0:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s trying to get a lease for 8 min, 32 sec transmission of DISCOVER in 57 sec retransmission timeout: 64 nbr of retransmissions: 14
RELATED COMMANDS:
dhcp client ifadd Create a DHCP lease for a specific interface.
dhcp client ifconfig Configure a DHCP lease created for a specific interface.
dhcp client ifrelease Release a lease attached to a dynamic interface.
dhcp client iflist Show all dynamic interfaces.
72
E-SIT-CTC-20021203-0003 v1.0

dhcp client ifconfig

Show/set the configuration of DHCP lease created for a specific interface.
Note Execute the dhcp client ifrelease command before configuring the dhcp client.
SYNTAX:
dhcp client ifconfig intf = <interface name>
[clientid = <{client-id|none}>] [hostname = <hostname|"">] [addr = <ip-address>] [leasetime = <number>] [addrtrans = <{none|pat}>] [dns = <{off|on}>] [gateway = <{off|on}>] [metric = <number{0-100}>]
DHCP Commands
intf The name of the dynamic interface to be configured. REQUIRED
[clientid] The client identity to be associated with the lease. Use none in case
no clientid should be associated with this lease.
[hostname] The host name of the client to be associated with the lease. Use “” in
case no hostname should not be associated with this lease.
[addr] The preferred dynamic IP address. OPTIONAL
[leasetime] A number between 0 and 1814400 (seconds).
Represents the preferred time the client wants to use an address. By default the leasetime is 7200 seconds (2 hours). Specifying -1 makes the lease permanent.
[addrtrans] Automatically enable address translation for this dynamic interface
(pat) or not (none).
[dns] Request (and accept) DNS server IP addresses (on) or not (off). OPTIONAL
[gateway] Request (and accept) gateway IP addresses (on) or not (off). OPTIONAL
[metric] A number between 10 and 100000.
Represents the gateway route metric By default the gateway route metric is 1.
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
E-SIT-CTC-20021203-0003 v1.0
73
DHCP Commands
EXAMPLE:
=>dhcp client iflist NewMer : [INIT]
flags= uc IP address : 0.0.0.0 HW address : 00:90:d0:01:47:de
Number of leases: 1 Total size of table: 19, in use: 1, free: 4 % =>dhcp client ifconfig intf=NewMer hostname=NewLease addr=10.0.0.10 leasetime=10800 =>dhcp client iflist NewMer : [INIT]
Number of leases: 1 Total size of table: 19, in use: 1, free: 4 % =>
DHCP server : 255.255.255.255
flags= uc IP address : 10.0.0.10 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s
RELATED COMMANDS:
dhcp client ifadd Create a DHCP lease for a specific interface.
dhcp client ifdelete Delete a dynamic interface.
dhcp client iflist Show all dynamic interfaces.
dhcp client ifrelease Release a lease attached to a dynamic interface.
74
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp client ifdelete

Delete a dynamic interface.
SYNTAX:
dhcp client ifdelete intf = <interface name>
intf The name of the dynamic interface. REQUIRED
EXAMPLE:
=>dhcp client iflist NewMer : [SELECTING]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>dhcp client ifdelete intf NewMer =>dhcp client iflist No dynamic interfaces defined. =>
flags= uc IP address : 10.0.0.10 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s trying to get a lease for 8 min, 32 sec transmission of DISCOVER in 57 sec retransmission timeout: 64 nbr of retransmissions: 14
RELATED COMMANDS:
dhcp client ifadd Create a DHCP lease for a specific interface.
dhcp client ifattach Attach a DHCP lease to an interface.
dhcp client ifconfig Configure a DHCP lease created for a specific interface.
dhcp client iflist Show all dynamic interfaces.
dhcp client ifrelease Release a lease attached to a dynamic interface.
E-SIT-CTC-20021203-0003 v1.0
75
DHCP Commands

dhcp client iflist

Show all dynamic interfaces.
SYNTAX:
dhcp client iflist
EXAMPLE:
=>dhcp client iflist NewMer : [INIT]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>
flags= uc IP address : 0.0.0.0 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT:
The SpeedTouch
=>dhcp client iflist eth0 : [BOUND]
Number of leases: 1 Total size of table: 18, in use: 1, free: 94 % =>dhcp client iflist eth0 : [BOUND]
Number of leases: 1 Total size of table: 18, in use: 1, free: 94 % =>
TM
is configured as DHCP client on its Ethernet interface eth0.
flags= uc IP address : 10.0.0.3 HW address : 00:90:d0:01:47:f1 DHCP server : 10.10.1.1 lease renewal in 5 days, 1 h, 26 min, 45 sec lease rebinding in 8 days, 20 h, 34 min, 15 sec lease expires in 10 days, 2 h, 56 min, 45 sec
flags= uc IP address : 10.0.0.3 HW address : 00:90:d0:01:47:f1 DHCP server : 10.10.1.1 lease renewal in 5 days, 1 h, 25 min, 27 sec lease rebinding in 8 days, 20 h, 32 min, 57 sec lease expires in 10 days, 2 h, 55 min, 27 sec
RELATED COMMANDS:
dhcp client ifadd Create a DHCP lease for a specific interface.
dhcp client ifdelete Delete a dynamic interface.
76
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp client ifrelease

Release a lease attached to a dynamic interface.
SYNTAX:
dhcp client ifrelease intf = <interface name>
intf The name of the dynamic interface. REQUIRED
EXAMPLE:
=>dhcp client iflist NewMer : [SELECTING]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>dhcp client ifattach intf=NewMer =>dhcp client iflist NewMer : [SELECTING]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>
flags= uc IP address : 10.0.0.10 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s trying to get a lease for 8 min, 32 sec transmission of DISCOVER in 57 sec retransmission timeout: 64 nbr of retransmissions: 14
flags= uc IP address : 0.0.0.0 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s
E-SIT-CTC-20021203-0003 v1.0
77
DHCP Commands
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT:
The SpeedTouch
=>dhcp client iflist eth0 : [BOUND]
Number of leases: 1 Total size of table: 18, in use: 1, free: 94 % =>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 DECLINEs sent : 0 RELEASEs sent : 0 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>dhcp client ifrelease intf=eth0 =>(CTRL + Q) =>STATE ACTIVATE ! STATE IDLE ! STATE ACTIVATE ! dhcc: intf 1 releases 10.0.0.3 to server 10.10.1.1. dhcc: 10.0.0.3 deleted: ok. STATE IDLE ! STATE ACTIVATE !
.............
dhcc: intf 1 in init state. n_send() broadcast triggered; To be verified dhcc: broadcast discover on intf 1. =>(CTRL + S) =>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 DECLINEs sent : 0 RELEASEs sent : 1 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>
TM
is configured as DHCP client on its Ethernet interface eth0.
flags= uc IP address : 10.0.0.3 HW address : 00:90:d0:01:47:f1 DHCP server : 10.10.1.1 lease renewal in 5 days, 58 min, 45 sec lease rebinding in 8 days, 20 h, 6 min, 18 sec lease expires in 10 days, 2 h, 28 min, 48 sec
RELATED COMMANDS:
dhcp client ifattach Attach a DHCP lease to an interface.
dhcp client ifconfig Configure a DHCP lease created for a specific interface.
dhcp client ifdelete Delete a dynamic interface.
78
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp client ifrenew

Renew the lease of a dynamic interface.
SYNTAX:
dhcp client ifrenew intf = <interface name>
intf The name of the dynamic interface. REQUIRED
EXAMPLE:
=>dhcp client iflist NewMer : [BOUND]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>dhcp client ifrenew intf=NewMer =>dhcp client iflist NewMer : [SELECTING]
Number of leases: 1 Total size of table: 19, in use: 1, free: 94 % =>
flags= uc IP address : 10.0.0.10 HW address : 00:90:d0:01:47:f1 DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s lease renewal in 5 days, 58 min, 48 sec lease rebinding in 8 days, 20 h, 6 min, 18 sec lease expires in 10 days, 2 h, 28 min, 48 sec
flags= uc IP address : 10.0.0.10 HW address : 00:90:d0:01:47:de DHCP server : 255.255.255.255 hostname : NewLease req.leasetime = 10800 s trying to get a lease for 12 sec transmission of DISCOVER in 24 sec retransmission timeout: 64 nbr of retransmissions: 11
E-SIT-CTC-20021203-0003 v1.0
79
DHCP Commands
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT:
The SpeedTouch
=>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 OFFERs recv : 0 ACKs recv : 0 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 0 REQUESTs sent : 0 DECLINEs sent : 0 RELEASEs sent : 1 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 18, in use: 1, free: 94 % =>dhcp client ifrenew intf=eth0 =>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 OFFERs recv : 1 ACKs recv : 1 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 1 REQUESTs sent : 1 DECLINEs sent : 0 RELEASEs sent : 1 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 18, in use: 1, free: 94 % =>(CTRL + Q)
..................
STATE IDLE ! STATE ACTIVATE ! dhcc: intf 1 renews lease 10.0.0.3. dhcc: intf 1 requests 10.0.0.3 from 10.10.1.1 dhcc: 10.10.1.1 acks 10.0.0.3 to intf 1. dhcc: lease 10.0.0.3 bound to intf 1. STATE IDLE ! STATE ACTIVATE !
...........
=>(CTRL + S)
TM
is configured as DHCP client on its Ethernet interface eth0.
RELATED COMMANDS:
dhcp client ifadd Create a DHCP lease for a specific interface.
dhcp client ifattach Attach a DHCP lease to an interface.
80
E-SIT-CTC-20021203-0003 v1.0

dhcp client stats

Show DHCP client statistics.
SYNTAX:
dhcp client stats
EXAMPLE:
=>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 OFFERs recv : 1 ACKs recv : 1 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 244 REQUESTs sent : 9 DECLINEs sent : 0 RELEASEs sent : 1 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>
DHCP Commands
RELATED COMMANDS:
dhcp client clear Clear DHCP client statistics.
E-SIT-CTC-20021203-0003 v1.0
81
DHCP Commands

dhcp server clear

Clear SpeedTouchTM DHCP server statistics.
SYNTAX:
dhcp server clear
EXAMPLE:
=>dhcp client stats Corrupted packet recv : 0 OFFERs recv : 9575 ACKs recv : 121 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 9552 REQUESTs sent : 142 DECLINEs sent : 0 RELEASEs sent : 0 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>dhcp server clear =>dhcp client stats DHCP client statistics: Corrupted packet recv : 0 OFFERs recv : 0 ACKs recv : 0 NAKs recv : 0 Pure BOOTP REPLIES : 0 Other message types : 0 DISCOVERs sent : 0 REQUESTs sent : 0 DECLINEs sent : 0 RELEASEs sent : 0 INFORMs sent : 0 Number of dynamic interfaces: 1 Memory usage: Table size of dyn leases: 19, in use: 1, free: 94 % =>
RELATED COMMANDS:
dhcp server stats Show DHCP server statistics.
82
E-SIT-CTC-20021203-0003 v1.0

dhcp server config

Show/set SpeedTouchTM DHCP server configuration settings.
SYNTAX:
dhcp server config [autodhcp = <{off|on}>]
[scantime = <number>] [spoofing = <{off|on}>] [trace = <{off|on}>]
DHCP Commands
[autodhcp] Allow the SpeedTouch
TM
to present itself as DHCP client (AutoDHCP mode) at boot time and probe for another DHCP server on the network for some time before starting its own DHCP server (yes) or immediately start the DHCP server (no).
[scantime] A number between 0 and 1814400 (seconds).
Represents the time the SpeedTouch
TM
scans for another DHCP server to be active in the network. By default the scantime is 20 seconds.
[spoofing] Allow a remote DHCP server to hand out IP addresses negotiated
by PPP on WAN side (yes) or not (no). DHCP spoofing is used to relay local DHCP requests to an external PPP connection having a specific IP address negotiation mechanism. DHCP replies are in turn generated by the DHCP server based on the IP address information received by the PPP link.
[trace] Disable verbose console logging and generation of debug traces (off)
or enable verbose console logging and generation of debug traces (on). By default tracing is disabled.
EXAMPLE:
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
=>dhcp server config autodhcp: on scantime: 20s spoofing: off tracing: off =>dhcp server config scantime=30 tracing=on =>dhcp server config autodhcp: on scantime: 30s spoofing: off tracing: on =>
RELATED COMMANDS:
dhcp server stats Show current DHCP server state and statistics.
E-SIT-CTC-20021203-0003 v1.0
83
DHCP Commands

dhcp server flush

Flushes all DHCP server pool and lease entries.
Note The flush command does not impact previously saved configurations.
SYNTAX:
dhcp server flush
RELATED COMMANDS:
dhcp server stats Show current DHCP server state and statistics.
dhcp server config Show/set current DHCP server configuration.
84
E-SIT-CTC-20021203-0003 v1.0

dhcp server policy

Show/set SpeedTouchTM DHCP server policy.
SYNTAX:
dhcp server policy [verifyfirst = <off|on>]
[trustclient = <off|on>]
DHCP Commands
[verifyfirst] Probe the network for conflicting IP addresses before giving a
suggested IP address to the requesting DHCP client (on) or not (off).
[trustclient] Take the IP address suggested by a DHCP client into account (on) or
not (off).
EXAMPLE:
=>dhcp server policy Verify first: off Trust client: on =>dhcp server policy verifyfirst=on trustclient=off =>dhcp server policy Verify first: on Trust client: off =>
RELATED COMMANDS:
dhcp server stats Show current DHCP server state and statistics.
dhcp server config Show/set current DHCP server configuration.
OPTIONAL
OPTIONAL
E-SIT-CTC-20021203-0003 v1.0
85
DHCP Commands

dhcp server spoof

Show/set DHCP spoofing parameters. Only applicable in case of a PPP-to-DHCP Spoofing connection. (See dhcp server config command).
SYNTAX:
dhcp server spoof [failtime = <number>]
[errorlt = <number>] [dodlt = <number>]
[failtime] A number between 0 and 1814400 (seconds).
Represents the time to wait for a PPP link to successfully negotiate an IP address. This parameter determines how long the SpeedTouch to set up a PPP connection before returning to normal DHCP mode, i.e. in case the PPP connection cannot be established within the time lapse determined by failtime, the SpeedTouch allocate an local private IP address to the DHCP client. By default the failtime is 4 seconds.
[errorlt] A number between 0 and 1814400 (seconds).
Represents the leasetime of the private address issued when a PPP link fails. In case the PPP link fails after failtime has elapsed, this parameter determines how long the private DHCP lease must be maintained before retrying to set up the PPP link again. By default the error lease time is 60 seconds.
[dodlt] A number between 0 and 1814400 (seconds).
Represents the leasetime of the temporary private IP address in case of a dial-on-demand PPP link. In case of a dial-on-demand PPP link, this parameter determines the interval at which the the temporary DHCP lease must be maintained before checking whether a public IP address negotiated by a trig­gered PPP link is available. By default the dial-on-demand lease time is 10 seconds.
TM
should try
TM
DHCP server will
OPTIONAL
OPTIONAL
OPTIONAL
EXAMPLE:
=>dhcp server spoof failtime=8 errorlt=120 dodlt=20 =>dhcp server spoof Failure timeout (!DoD): 8 sec Failure lease time (!DoD): 120 sec Temp. lease time (DoD): 20 sec =>
RELATED COMMANDS:
dhcp server policy Set DHCP server policy.
dhcp server stats Show current DHCP server state and statistics.
86
E-SIT-CTC-20021203-0003 v1.0

dhcp server start

Start SpeedTouchTM DHCP server.
SYNTAX:
dhcp server start
EXAMPLE:
=>dhcp server stats DHCP Server State: Stopped DHCP server statistics: Corrupted packet recv : 0
.....
=>dhcp server start =>dhcp server stats DHCP server state: Running DHCP server statistics: Corrupted packet recv : 0
.....
=>
DHCP Commands
RELATED COMMANDS:
dhcp server stats Show current DHCP server state and statistics.
dhcp server stop Stop DHCP server.
E-SIT-CTC-20021203-0003 v1.0
87
DHCP Commands

dhcp server stats

Show SpeedTouchTM DHCP server statistics.
SYNTAX:
dhcp server stats
EXAMPLE OUTPUT:
=>dhcp server stats DHCP Server State: Stopped DHCP server statistics: Corrupted packet recv : 0 DISCOVER : 2451 REQUEST : 28 DECLINE : 0 RELEASE : 22 INFORM : 1 Pure BOOTP REQUESTS : 2 Other message types : 0 OFFERs sent : 2451 ACKs sent : 19 NAKs sent : 0 Lease table got full : no Ping table got full : no Second dhcp server seen : no Total size of lease table: 32, in use: 16, free: 50 % =>
88
E-SIT-CTC-20021203-0003 v1.0
DESCRIPTION:
DHCP Commands
DHCP server state Indicates the state of the SpeedTouch
Corrupted packet recv
Indicates the number of corrupted packets (not complaint to RFC2131) received from the LAN.
TM
DHCP server.
DISCOVER Indicates the number of DHCP server discovery packets received from the Local Area
Network (LAN). These broadcasts are sent by potential DHCP clients to locate available DHCP servers.
REQUEST Indicates the number of DHCP address lease requests received from the LAN.
DECLINE Indicates the number of DHCP address lease requests declined.
RELEASE Indicates the number of DHCP address release requests received from DHCP clients.
INFORM Indicates the number of information requests received from DHCP clients.
Pure BOOTP
Indicates the number of BOOTP requests received from the LAN.
requests
OFFERs sent Indicates the number of IP address offers sent in reply to DHCP requests.
ACKs sent Indicates the number of ACKnowledgement replies sent to successfully configured DHCP
clients.
NAKs sent Indicates the number of Not-AcKnowledgement replies sent to wrongly configured
DHCP clients.
Lease table got full Indicates whether the maximum number of DHCP leases is reached or not.
Ping table got full Indicates whether the history list of IP address pings got full or not. These pings are sent
by the SpeedTouch
TM
DHCP server to verify whether the IP address is already in use on
the LAN or not. (dhcp server policy verifyfirst=yes)
Second DHCP
Indicates whether a concurrent DHCP server was found on the LAN or not.
server
RELATED COMMANDS:
dhcp server clear Clear DHCP server statistics.
E-SIT-CTC-20021203-0003 v1.0
89
DHCP Commands

dhcp server stop

Stop SpeedTouchTM DHCP server.
SYNTAX:
dhcp server stop
EXAMPLE:
=>dhcp server stats DHCP Server State: Running DHCP server statistics: Corrupted packet recv : 0
.....
=>dhcp server start =>dhcp server stats DHCP server state: Stopped DHCP server statistics: Corrupted packet recv : 0
.....
=>
RELATED COMMANDS:
dhcp server start Start DHCP server.
dhcp server stats Show current DHCP server state and statistics.
90
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp server lease add

Assign a DHCP server lease to a DHCP host in the local network.
SYNTAX:
dhcp server lease add clientid = <client-id>
pool = <string> [addr = <ip-address>] [offset = <number>] [leasetime = <number>] [hostname = <{hostname|""}>]
clientid The DHCP client identification string of the booting host. REQUIRED
pool The name of the DHCP server pool from which the DHCP lease
should be taken from. Use :dhcp server pool list for a list of available DHCP server pools.
[addr] The favoured IP address for this DHCP host. This IP address, if spec-
ified, must be in the range of the DHCP pool specified.
[offset] A number between 0 and the integer number defined by the number
of available IP addresses in the DHCP server pool. Represents the IP address offset in the DHCP server pool preserved for this host. Not specifying this parameter does not preserve an IP address for the host.
[leasetime] A number between 0 and 1814400 (seconds).
Represents the time the host is allowed to use this address, before renewing. Specifying -1 makes the lease permanent.
[hostname] The hostname to add to the local Domain Name System (DNS) table
for this host. Use “” in case no hostname is associated with this lease.
EXAMPLE:
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
=>dhcp server lease list Lease Pool TTL State Clientid 0 0.0.0.0 dhcp_pool_1 00:26:40 FREE 00:90:D0:12:34:56 =>dhcp server lease add clientid=01:23:55:67:89:ab pool=Local_pool leasetime=3600 =>dhcp server lease list Lease Pool TTL State Clientid 0 0.0.0.0 dhcp_pool_1 00:26:40 FREE 00:90:D0:12:34:56 1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB =>
E-SIT-CTC-20021203-0003 v1.0
91
DHCP Commands
RELATED COMMANDS:
dhcp server lease delete Delete a DHCP lease.
dhcp server lease flush Delete all DHCP leases.
dhcp server lease list Show current DHCP leases.
92
E-SIT-CTC-20021203-0003 v1.0
DHCP Commands

dhcp server lease delete

Delete a DHCP lease.
SYNTAX:
dhcp server lease delete clientid = <clientid>
[index = <number>]
clientid The DHCP client identification string of the DHCP lease. REQUIRED
[index] The index number of the entry to be deleted.
Use :dhcp server lease list to see a list of the index numbers of all current DHCP leases.
EXAMPLE:
=>dhcp server lease list Lease Pool TTL State Clientid 0 0.0.0.0 dhcp_pool_1 00:26:40 FREE 00:90:D0:12:34:56 1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB =>dhcp server lease delete index=0 =>dhcp server lease list Lease Pool TTL State Clientid 1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB =>
RELATED COMMANDS:
dhcp server lease add Add a DHCP lease manually.
dhcp server lease flush Delete all DHCP leases.
dhcp server lease list Show current DHCP leases.
OPTIONAL
E-SIT-CTC-20021203-0003 v1.0
93
DHCP Commands

dhcp server lease flush

Flush complete DHCP server configuration and dynamic leases.
Note The flush command does not impact previously saved configurations.
SYNTAX:
dhcp server lease flush
EXAMPLE:
=>dhcp server lease list Lease Pool TTL State Clientid 0 0.0.0.0 dhcp_pool_1 00:26:40 FREE 00:90:D0:12:34:56 1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB 2 10.0.0.101 local_pool 00:21:01 USED 01:23:89:AB:80:CD 3 10.0.0.132 local_pool 00:45:37 USED 09:D0:25:CE:F1:31 5 10.0.0.5 local_pool 00:21:11 USED AB:33:A1:7C:89:DD 4 10.0.0.6 local_pool 00:59:01 USED E3:81:9F:11:11:11 8 10.0.0.8 local_pool 00:01:00 USED 08:80:09:90:AB:DC 9 10.0.0.15 local_pool 00:00:23 USED 08:93:DA:AE:01:AF =>dhcp server lease flush =>dhcp server lease list =>
RELATED COMMANDS:
dhcp server lease add Add a DHCP lease manually.
dhcp server lease delete Delete a DHCP lease.
dhcp server lease list Show current DHCP leases.
94
E-SIT-CTC-20021203-0003 v1.0

dhcp server lease list

List current DHCP leases, indicated by their index number.
SYNTAX:
dhcp server lease list
EXAMPLE OUTPUT:
=>dhcp server lease list =>dhcp server lease list Lease Pool TTL State Clientid 0 0.0.0.0 dhcp_pool_1 00:26:40 FREE 00:90:D0:12:34:56 1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB 2 10.0.0.101 local_pool 00:21:01 USED 01:23:89:AB:80:CD 3 10.0.0.132 local_pool 00:45:37 USED 09:D0:25:CE:F1:31 5 10.0.0.5 local_pool 00:21:11 USED AB:33:A1:7C:89:DD 4 10.0.0.6 local_pool 00:59:01 USED E3:81:9F:11:11:11 8 10.0.0.8 local_pool 00:01:00 USED 08:80:09:90:AB:DC 9 10.0.0.15 local_pool 00:00:23 USED 08:93:DA:AE:01:AF =>
DHCP Commands
RELATED COMMANDS:
dhcp server lease add Add a DHCP lease manually.
dhcp server lease delete Delete a DHCP lease.
dhcp server lease flush Delete complete DHCP server configuration and dynamic leases.
E-SIT-CTC-20021203-0003 v1.0
95
DHCP Commands

dhcp server pool add

Add a DHCP server pool.
SYNTAX:
dhcp server pool add [name = <string>]
[index = <number>]
[name] A name for the DHCP server pool. If not specified, the name is
“dhcp_pool_x”, where x is a subsequent number.
[index] A number between 0 (highest priority) and the highest number
(lowest priority) found in the list of existing DHCP server pools. Represents a (higher) priority for the DHCP server pool. If not specified, the DHCP pool is given the lowest subsequent priority.
EXAMPLE:
=>dhcp server pool list Pool Start End State PPP 0 dhcp_pool_1 0.0.0.0 0.0.0.0 FREE 1 My_LAN_Pool 10.0.0.1 10.0.0.254 USED 2 dhcp_pool_2 0.0.0.0 0.0.0.0 FREE =>dhcp server pool add =>dhcp server pool list Pool Start End State PPP 0 dhcp_pool_1 0.0.0.0 0.0.0.0 FREE 1 My_LAN_Pool 10.0.0.1 10.0.0.254 USED 2 dhcp_pool_2 0.0.0.0 0.0.0.0 FREE 3 dhcp_pool_3 0.0.0.0 0.0.0.0 FREE =>dhcp server pool add name=POOL_EXTRA1 =>dhcp server pool list Pool Start End State PPP 0 dhcp_pool_1 0.0.0.0 0.0.0.0 FREE 1 My_LAN_Pool 10.0.0.1 10.0.0.254 USED 2 dhcp_pool_2 0.0.0.0 0.0.0.0 FREE 3 dhcp_pool_3 0.0.0.0 0.0.0.0 FREE 4 POOL_EXTRA1 0.0.0.0 0.0.0.0 FREE =>ppp ifconfig name=PPP_Test pool=POOL_EXTRA1 =>dhcp server pool list Pool Start End State PPP 0 dhcp_pool_1 0.0.0.0 0.0.0.0 FREE 1 My_LAN_Pool 10.0.0.1 10.0.0.254 USED 2 dhcp_pool_2 0.0.0.0 0.0.0.0 FREE 3 dhcp_pool_3 0.0.0.0 0.0.0.0 FREE 4 POOL_EXTRA1 0.0.0.0 0.0.0.0 FREE PPP_Test =>
OPTIONAL
OPTIONAL
96
E-SIT-CTC-20021203-0003 v1.0
Loading...