All rights reserved. Passing on and copying of this
document, use and communication of its contents
not permitted without written authorization from Alcatel.
Welcome to the Alcatel Speed Touch Command Line Interface Reference Guide !
This Reference Guide aims to give the fastidious user a concise, practical and easy to use document
for configuring the Speed Touch via its character based Command Line Interface.
Although the Speed Touch Web interface is adequate enough for most users, access via the CLI
may be still important for advanced and detailed configuration and troubleshooting.
This CLI Reference Guide covers the CLI commands of all Alcatel's DSL Speed Touch products.
Therefore it is possible that far more commands are described than available on your SpeedTouch product. Please ignore all CLI commands which are not applicable for your product.
The Reference Guide consists of three main parts:
Part 1 : CLI Navigation
This part is meant to make the user familiar with the use and operation of the Speed Touch
CLI. In brief some general manipulations are described to navigate through and to perform
some operations on the CLI.
Part 2 : CLI Command Description
This part forms the main part of this Reference Guide. Here all available CLI commands of all
Speed Touch products are alphabetically described per group selection.
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 Speed Touch
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.
Part 3 : CLI Command Index
This part allows the user to look up a command alphabetically in its incomplete form.
3EC 16982 AAAA TCZZA Ed. 04
5 / 300
Page 6
Preface
Trademarks
The following trademarks are used in this document:
Speed Touch is a trademark of the Alcatel Company
Netscape and Netscape Navigator are registered trademarks of Netscape
Communications Corporation
Windows and Internet Explorer are trademarks of Microsoft Corporation
Apple and MacOS are registered trademarks of Apple Computer Inc.
UNIX is a registered trademark of UNIX System Laboratories, Inc.
Ethernet is a trademark of Xerox Corporation.
Other products may be trademarks or registered trademarks of their respective manufacturers.
Updates
Due to the continuous evolution of the Alcatel DSL technology, existing products are regularly
upgraded. Alcatel documentation changes accordingly.
For more information on the newest technological changes and documents, please consult the
Alcatel web site at following URL:
http://www.alcatel.com
http://www.alcateldsl.com
Directive
Unless expressly and unambiguously approved by Alcatel, you may not:
disassemble, decompile, reverse engineer, trace or otherwise analyse the equipment, its
content, operation, or functionality, or otherwise attempt to derive source code (or the
underlying ideas, algorithms, structure or organization) from the equipment or from any
other information provided by Alcatel, except to the extent that this restriction is expressly
prohibited by local law;
copy, rent, loan, resell, 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 Alcatel will result in the loss of product warranty and will
invalidate the user's authority to operate this equipment.
6 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 7
Alcatel
Speed Touch
CLI Navigation
3EC 16982 AAAA TCZZA Ed. 04
7 / 300
Page 8
8 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 9
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 Speed Touch
The serial 'Console' interface
This requires a Speed Touch product which is equipped with a 'Console' port on its back
panel.
As soon a session to the CLI is opened, the Speed Touch banner pops up, followed by the CLI
prompt.
In case of a Telnet session authentication via the Speed Touch System Password might be required
before access is granted.
The following figure shows an example of the Speed Touch banner after opening a Telnet session
and authentication.
Manipulation commands are commands that manipulate operations on the command line, for
example changing the command group, go to the beginning of the command line, go to the end of
the command line, etc.
Command group Navigation
From top level, you can change to a command group by executing the name of the desired
command group.
To obtain a list of all available command groups, execute help from the top level.
EXAMPLE:
=>help
Following commands are available :
help : Displays this help information
? : Displays this help information
exit : Exits group selection.
.. : Exits group selection.
Following command groups are available :
dhcp dns td atmf mer
bridge pptp ppp cip nat
qosbook phonebook ip software system
config firewall
=>atmf
[atmf]=>
To return to top level, or to descend one level (in case of nested command groups) execute .. or exit
(depending on the Speed Touch product).
EXAMPLE:
=>atmf
[atmf]=>
[atmf]=>..
=>
10 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 11
The Help Command
Execute help from top level to list all available command groups for the Speed Touch.
EXAMPLE:
=>help
Following commands are available :
help : Displays this help information
? : Displays this help information
exit : Exits group selection.
.. : Exits group selection.
Following command groups are available :
dhcp dns td atmf mer
bridge pptp ppp cip nat
qosbook phonebook ip software system
config firewall
=>
The available command groups depend on the particular Speed Touch the CLI session is opened
to, e.g. the wireless command group is only present for the SpeedTouch570 product.
You can execute the help 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:
=>atmf
[atmf]=>
[atmf]=>help
Following commands are available :
add : Adds a VP or VC cross–connection between the ATMF interface and the WAN
interface.
delete : Deletes a cross–connection on the ATM–Forum interface.
list : Shows all ATM–Forum interface cross–connections.
save : Saves the ATM–Forum interface cross–connections.
flush : Flushes the ATM–Forum interface cross–connections.
load : Loads ATM–Forum interface cross–connections.
[atmf]=>
3EC 16982 AAAA TCZZA Ed. 04
11 / 300
Page 12
Executing e.g. help atmf from top level gives the same result as executing help from the atmf
command group selection.
EXAMPLE:
=>help atmf
Following commands are available :
add : Adds a VP or VC cross–connection between the ATMF interface and the WAN
interface.
delete : Deletes a cross–connection on the ATM–Forum interface.
list : Shows all ATM–Forum interface cross–connections.
save : Saves the ATM–Forum interface cross–connections.
flush : Flushes the ATM–Forum interface cross–connections.
load : Loads ATM–Forum interface cross–connections.
=>
Entering help followed by a specific command, e.g. help atmf add (starting from top level) or help
add (e.g. on the atmf command group selection) results in a description of the syntax for the
command.
EXAMPLE:
=>help atmf add
add : Adds a VP or VC cross–connection between the ATMF interface and the WAN
interface.
vpi = <number{0–15}>
The Virtual Path Identifier.
vci = <number{0–511}>
The Virtual Channel Identifier. Use 0 for a VP crossconnect.
=>
Command Completion
For some Speed Touch products the CLI features command completion, which means that when
starting to enter a command it can be completed by pressing the Tab" key.
For example, entering a at the atmf command group selection, followed by a Tab" stroke results
in the full add command being completed. Entering atmf a from top level gives the same result.
For the completion to be successful, the part to be added must be unique. Completion works for the
command groups, for the commands, for the options, but not for values.
EXAMPLE:
=>atmf
[atmf]=>a “Tab“
[atmf]=>add
12 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 13
Going to the beginning or end of the Command Line
Go to the beginning of the Command Line by pressing "Ctrl+A"; to go to the end of the
Command Line press "Ctrl+E".
In the following example, the first
second
the position of the cursor after pressing "Ctrl+E".
indicates the position of the cursor after pressing "Ctrl+A", the
EXAMPLE:
=>list
Breaking off Commands
You can break off a command by pressing Ctrl+G". This can be useful in a situation where a user
is prompted to enter a value which it does not know and wants to abort the command. Instead of
being prompted over and over again for the same value, this allows to break of the command.
In the example below Ctrl+G" is pressed after the third prompt `vpi =`. The command is broken
of and the user returns to the command line.
EXAMPLE:
[atmf]=>add
vpi =
vpi =
vpi =
Ctrl+G" [atmf]=>
History of Commands
To retake previous commands press the up arrow and come back to more recent commands
with the down arrow . Press Enter (
Depending on the Speed Touch product the following command groups are available:
adsl (only applicable for SpeedTouch ADSL variants)
atmf (only applicable for SpeedTouch models equipped with an ATMF25.6Mbps port)
bridge
cip (only applicable for SpeedTouch DSL routers)
config
dhcp
dns
env (only applicable for SpeedTouch510Series)
firewall (only applicable for SpeedTouchPro with Firewall and
SpeedTouch520Series)
ip
mer (only applicable for SpeedTouchPro with Firewall and SpeedTouch520Series)
nat (only applicable for Speed Touch DSL routers)
phonebook
ppp (only applicable for Speed Touch DSL routers)
pptp
qosbook (only applicable for SpeedTouchPro with Firewall and
SpeedTouch520Series)
shdsl (only applicable for SpeedTouch SHDSL variants)
software
system
td
voice (only applicable for the SpeedTouch700/710/720)
wireless (only applicable for the SpeedTouch570)
14 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 15
Command Line Interface Commands
All CLI commands are commands that operate on, or configure, the Speed Touch 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. atmf list).
You can also execute the commands from the command group itself, using the reduced form of the
command (e.g. list at the atmf command group selection).
When executing commands with specification of their parameter values, it is not necessary to use
`=`. E.g. `atmf add vpi 0 vci 35` is equal to `atmf add vpi=0 vci=35`.
`!` in a command means `NOT`, e.g. the `[!]syn` parameter in the firewall rule create command.
Instead of entering a completely builtup 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 `atmf add vpi 0 vci 35`. To break of such incomplete
command press Ctrl+G".
EXAMPLE:
=>atmf add
vpi = 0
vci = 35
=>
3EC 16982 AAAA TCZZA Ed. 04
15 / 300
Page 16
16 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 17
Alcatel
Speed Touch
CLI Command Description
3EC 16982 AAAA TCZZA Ed. 04
17 / 300
Page 18
18 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 19
1ADSL Commands
adsl (to access the ADSL level)
adsl info
1 ADSL Commands
3EC 16982 AAAA TCZZA Ed. 04
19 / 300
Page 20
1 ADSL Commands
adsl info
Show ADSL statistics and information about the SpeedTouch status.
SYNTAX:
adsl info
EXAMPLE:
=>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
Transfer statistics
Total since power On Cells Kbits
Downstream : 185670 71297
Upstream : 10254 3937
Current Connection
Downstream : 185668 71296
Upstream : N/Avail N/Avail
Errors
Received FEC : 0
Received CRC : 0
Received HEC : 0
=>
20 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 21
2ATMF Commands
atmf (to access the ATMF level)
atmf add
atmf delete
atmf flush
atmf list
atmf load
atmf save
2 ATMF Commands
3EC 16982 AAAA TCZZA Ed. 04
21 / 300
Page 22
2 ATMF Commands
atmf add
Add a crossconnection between the ATMF25 interface and the WAN interface.
SYNTAX:
atmf addvpi = <number {07}>
vci = <number {0511}>
vpiA number between 0 and 7.
Represents the Virtual Path identifier.
vciA number between 0 and 511.
Represents the Virtual Channel identifier.
Use VCI=0 for a VP crossconnection.
bridge loadLoad saved or default bridge configuration.
bridge saveSave current bridge configuration.
3EC 16982 AAAA TCZZA Ed. 04
31 / 300
Page 32
3 Bridge Commands
bridge ifadd
Create a bridge interface.
SYNTAX:
bridge ifaddintf = <string>
dest = <phonebook entry>
intfThe bridge interface name.
If not specified, the destination parameter must be specified. In this
case the name of the destination will double as interface name.
destThe destination address for the new interface.
Typically a phonebook entry.
EXAMPLE:
=>bridge iflist
OBC : Internal
Connection State : connected Port : OBC PortState : forwarding
RX bytes: 75783 frames: 572
TX bytes: 83293945 frames: 343261 dropframes: 0
eth0 : Internal
Connection State : connected Port : eth0 PortState : forwarding
RX bytes: 157212625 frames: 5920249
TX bytes: 75689 frames: 425 dropframes: 5576988
=>phonebook list
Name Type Use Address
Br1 bridge 0 8.35
=>bridge ifadd intf NewBridge dest Br1
=>bridge iflist
OBC : Internal
Connection State : connected Port : OBC PortState : forwarding
RX bytes: 76713 frames: 578
TX bytes: 84056140 frames: 346238 dropframes: 0
eth0 : Internal
Connection State : connected Port : eth0 PortState : forwarding
RX bytes: 158501623 frames: 5952020
TX bytes: 76643 frames: 431 dropframes: 5605782
NewBridge : dest : Br1
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State : not–connected Port : (Unassigned)PortState :forwarding
=>
OPTIONAL
OPTIONAL
RELATED COMMANDS:
bridge ifattachAttach a bridge interface.
bridge ifdetachDetach a bridge interface.
bridge ifdeleteDelete a bridge interface.
bridge ifconfigConfigure a bridge interface.
bridge iflistShow current bridge configuration.
32 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 33
3 Bridge Commands
bridge ifattach
Attach (i.e. connect) a bridge interface.
SYNTAX:
bridge ifattachintf = <ifname>
intfThe name of the bridge interface to attach.REQUIRED
bridge ifaddCreate a bridge interface.
bridge ifdetachDetach a bridge interface.
bridge ifdeleteDelete a bridge interface.
bridge ifconfigConfigure a bridge interface.
bridge iflistShow current bridge configuration.
bridge ifaddCreate a bridge interface.
bridge ifattachAttach a bridge interface.
bridge ifconfigConfigure a bridge interface.
bridge ifdetachDetach a bridge interface.
bridge iflistShow current bridge configuration.
36 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 37
3 Bridge Commands
bridge ifdetach
Detach (i.e. disconnect) a bridge interface.
SYNTAX:
bridge ifdetachintf = <ifname>
intfThe name of the bridge interface to detach.REQUIRED
=>bridge iflist intf NewBridge
NewBridge : dest : Br1
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State : not–connected
=>
Port : wan0 PortState : forwarding
Port : (Unassigned) PortState :forwarding
RELATED COMMANDS:
bridge ifaddCreate a bridge interface.
bridge ifattachAttach a bridge interface.
bridge ifconfigConfigure a bridge interface.
bridge ifdeleteDelete a bridge interface.
bridge iflistShow current bridge configuration.
3EC 16982 AAAA TCZZA Ed. 04
37 / 300
Page 38
3 Bridge Commands
bridge iflist
Show the current state of all or the selected bridge interfaces.
SYNTAX:
bridge iflist[intf = <ifname>]
[intf]The name of the bridge interface to show the configuration of.
NewBridge : dest : Br1
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State : connected Port : wan0 PortState : forwarding
RX bytes: 0 frames: 0
TX bytes: 16363 frames: 98 dropframes: 0
=>
DESCRIPTION:
`RX bytes` indicates the number of R
eceived bytes, `TX bytes` the number of Transmitted bytes. OBC
is short for On Board Controller and indicates the physical bridge port.
OPTIONAL
RELATED COMMANDS:
bridge ifaddCreate a bridge interface.
bridge ifattachAttach a created bridge interface.
bridge ifconfigConfigure a bridge interface.
bridge ifdeleteDelete a bridge interface.
bridge ifdetachDetach a bridge interface.
=>bridge iflist
OBC : Internal
Connection State : connected Port : OBC PortState : forwarding
RX bytes: 3029 frames: 17
TX bytes: 2261537 frames: 8663 dropframes: 0
eth0 : Internal
Connection State : connected Port : eth0 PortState : forwarding
RX bytes: 4037236 frames: 184096
TX bytes: 3097 frames: 17 dropframes: 175245
NewBridge : dest : Br1
Retry : 10 QoS : default Encaps : llc/snap Fcs : off
Connection State : not–connected Port : (Unassigned) PortState : forwarding
=>
OPTIONAL
RELATED COMMANDS:
bridge flushFlush complete bridge configuration.
bridge saveSave current bridge configuration.
3EC 16982 AAAA TCZZA Ed. 04
39 / 300
Page 40
3 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 macaddintf = <ifname>
hwaddr = <hardwareaddress>
intfThe name of the bridge interface to add the MAC address for.REQUIRED
config (to access the Config level)
config erase
config flush
config load
config reset
config save
5 Config Commands
3EC 16982 AAAA TCZZA Ed. 04
55 / 300
Page 56
5 Config Commands
config erase
Physically remove all saved configurations.
SYNTAX:
config erase
EXAMPLE:
=>config erase
RELATED COMMANDS:
config flushFlush complete runtime configuration.
config loadLoad complete saved or default configuration.
config resetFlush current and optionally restore default configuration.
config saveSave complete runtime configuration.
56 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 57
5 Config Commands
config flush
Flush complete current configuration without affecting saved configurations.
This combines all flush commands: atmf flush, bridge flush, cip flush, config flush, dhcp flush,
dns flush, firewall flush, firewall rule flush, mer flush, nat flush, phonebook flush, ppp
flush, pptp flush, qosbook flush, system flush and optionally ip flush.
SYNTAX:
config flush[keep_ip = <{no|yes}>]
[keep_ip]Keep current IP configuration (yes) or not (no).
Not keeping the IP settings could cause lost IP connectivity in the LAN.
config erasePhysically remove all saved configurations.
config flushFlush complete runtime configuration.
config resetFlush current and optionally restore default configuration.
config saveSave current runtime configuration.
58 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 59
5 Config Commands
config reset
Flush current runtime configuration and optionally restore factory default configuration. The reset
command does not impact saved configurations.
SYNTAX:
config reset[keep_ip = <{no|yes}>]
[load_ip]Load IP settings (yes) or not (no).
Not keeping the IP settings could cause lost IP connectivity in the LAN.
EXAMPLE:
=>dns list
Domain: lan
Nr. Hostname IP Address
0 TestHost 10.0.0.140
1 Default 10.0.0.8
Total Table Size: 73 entries
Amount used: 2 (2%)
=>config reset
=>dns list
Domain: lan
Nr. Hostname IP Address
0 SpeedTouch *.*.*.*
Total Table Size: 73 entries
Amount used: 1 (1%)
=>config flush
=>config load
=>dns list
Domain: lan
Nr. Hostname IP Address
0 TestHost 10.0.0.140
1 Default 10.0.0.8
Total Table Size: 73 entries
Amount used: 2 (2%)
=>
OPTIONAL
RELATED COMMANDS:
config erasePhysically remove all saved configurations.
config flushFlush complete current configuration.
config loadLoad complete saved or default configuration.
config saveSave current runtime configuration.
3EC 16982 AAAA TCZZA Ed. 04
59 / 300
Page 60
5 Config Commands
config save
Save all existing configurations and modifications entered by the user.
This combines all save commands: atmf save, bridge save, cip save, config save, dhcp save,
dns save, firewall chain save, firewall save, ip save, mer save, nat save, phonebook save,
ppp save, pptp save, qosbook save, system save.
SYNTAX:
config save
EXAMPLE:
=>dns list
Domain: lan
Nr. Hostname IP Address
0 Default 10.0.0.8
Total Table Size: 73 entries
Amount used: 1 (1%)
=>dns list
Domain: lan
Nr. Hostname IP Address
0 Default 10.0.0.8
Total Table Size: 73 entries
Amount used: 1 (1%)
=>dns add hostname TestHost addr 172.16.1.1
=>dns list
Domain: lan
Nr. Hostname IP Address
0 Default 10.0.0.8
1 Testhost 172.16.1.1
Total Table Size: 73 entries
Amount used: 2 (2%)
=>config save
=>dns flush
=>dns load
=>dns list
Domain: lan
Nr. Hostname IP Address
0 Default 10.0.0.8
1 Testhost 172.16.1.1
Total Table Size: 73 entries
Amount used: 2 (2%)
=>
RELATED COMMANDS:
config erasePhysically remove all saved configurations.
config flushFlush complete current configuration.
config loadLoad complete saved or default configuration.
config resetFlush current and optionally restore default configuration.
dhcp client iflist
dhcp client ifrelease
dhcp client ifrenew
dhcp client load
dhcp client save
dhcp client stats
dhcp server (to access the DHCP SERVER level)
dhcp server add
dhcp server client
dhcp server clrstats
dhcp server config
dhcp server delete
dhcp server flush
dhcp server list
dhcp server load
dhcp server policy
dhcp server save
dhcp server spoof
dhcp server start
3EC 16982 AAAA TCZZA Ed. 04
61 / 300
Page 62
6 DHCP Commands
dhcp server stats
dhcp server status
dhcp server stop
dhcp server troff
dhcp server tron
62 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 63
dhcp client clear
Clear 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 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp client statsShow DHCP client statistics.
3EC 16982 AAAA TCZZA Ed. 04
63 / 300
Page 64
6 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 ifconfigConfigure a DHCP lease created for a specific interface.
64 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 65
dhcp client flush
Flush complete DHCP client configuration and dynamic interfaces.
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 : 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
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client save
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client flush
=>dhcp client iflist
No dynamic interfaces defined.
=>dhcp client load
=>dhcp client iflist
NewMer : [REBOOTING]
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 request known lease for 2 sec
retransmission of REQUEST in 2 sec
retransmission timeout : 4
retransmissions left before reinitializing : 2
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp client loadLoad saved or default DHCP client configuration and dynamic
interfaces.
dhcp client saveSave current DHCP client configuration and dynamic interfaces.
3EC 16982 AAAA TCZZA Ed. 04
65 / 300
Page 66
6 DHCP Commands
dhcp client ifadd
Create a DHCP lease for a specific interface.
SYNTAX:
dhcp client ifaddintf = <interface name>
intfThe name of an existing interface, e.g. created via mer ifadd.REQUIRED
=>dhcp client iflist
NewMer : [INIT]
flags = uc
IP address : 0.0.0.0
HW address : 00:90:d0:01:47:de
DHCP server: 255.255.255.255
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
RELATED COMMANDS:
dhcp client ifattachAttach a DHCP lease to an interface.
dhcp client ifconfigConfigure a DHCP lease created for a specific interface.
dhcp client ifdeleteDelete a dynamic interface.
dhcp client iflistShow all dynamic interfaces.
66 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 67
6 DHCP Commands
dhcp client ifattach
Attach a DHCP lease to a dynamic interface. Firstly create the interface with the dhcp client ifadd
command.
SYNTAX:
dhcp client ifattachintf = <interface name>
intfThe 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
DHCP server: 255.255.255.255
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client ifattach intf NewMer
=>dhcp client iflist
NewMer : [SELECTING]
flags = uc
IP address : 0.0.0.0
HW address : 00:90:d0:01:47:de
DHCP server: 255.255.255.255
trying to get a lease for 8 sec
transmission of DISCOVER in 4 sec
retransmission timeout: 8
nbr of retransmissions: 3
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
RELATED COMMANDS:
dhcp client ifaddCreate a DHCP lease for a specific interface.
dhcp client ifconfigConfigure a DHCP lease created for a specific interface.
dhcp client ifreleaseRelease a lease attached to a dynamic interface.
3EC 16982 AAAA TCZZA Ed. 04
67 / 300
Page 68
6 DHCP Commands
dhcp client ifconfig
Show/set the configuration of DHCP lease created for a specific interface.
Execute the dhcp client ifrelease command prior to configuring it.
=>dhcp client iflist
NewMer : [INIT]
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
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
68 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 69
6 DHCP Commands
dhcp client ifdelete
Delete a dynamic interface.
SYNTAX:
dhcp client ifdeleteintf = <interface name>
intfThe name of the dynamic interface.REQUIRED
EXAMPLE:
=>dhcp client iflist
NewMer : [SELECTING]
flags = uc
IP address : 0.0.0.0
HW address : 00:90:d0:01:47:de
DHCP server: 255.255.255.255
trying to get a lease for 2 h, 16 min, 54 sec
transmission of DISCOVER in 53 sec
retransmission timeout: 64
nbr of retransmissions: 134
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.
=>
RELATED COMMANDS:
dhcp client ifaddCreate a DHCP lease for a specific interface.
dhcp client ifattachAttach a DHCP lease to an interface.
dhcp client ifconfigConfigure a DHCP lease created for a specific interface.
dhcp client iflistShow all dynamic interfaces.
3EC 16982 AAAA TCZZA Ed. 04
69 / 300
Page 70
6 DHCP Commands
dhcp client iflist
Show all dynamic interfaces.
SYNTAX:
dhcp client iflist
EXAMPLE:
=>dhcp client iflist
No dynamic interfaces defined.
=>dhcp client ifadd intf NewMer
=>dhcp client iflist
NewMer : [INIT]
flags = uc
IP address : 0.0.0.0
HW address : 00:90:d0:01:47:de
DHCP server: 255.255.255.255
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT (SpeedTouch as DHCP client):
=>dhcp client iflist
eth0 : [BOUND]
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
Number of leases: 1
Total size of table: 18, in use: 1, free: 94 %
=>dhcp client iflist
eth0 : [BOUND]
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
Number of leases: 1
Total size of table: 18, in use: 1, free: 94 %
=>
RELATED COMMANDS:
dhcp client ifaddCreate a DHCP lease for a specific interface.
dhcp client ifdeleteDelete a dynamic interface.
70 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 71
6 DHCP Commands
dhcp client ifrelease
Release a lease attached to a dynamic interface.
SYNTAX:
dhcp client ifreleaseintf = <interface name>
intfThe name of the dynamic interface.REQUIRED
EXAMPLE:
=>dhcp client iflist
NewMer : [SELECTING]
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 6 min, 7 sec
transmission of DISCOVER in 13 sec
retransmission timeout: 64
nbr of retransmissions: 10
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client ifrelease intf NewMer
=>dhcp client iflist
NewMer : [INIT]
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
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
3EC 16982 AAAA TCZZA Ed. 04
71 / 300
Page 72
6 DHCP Commands
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT (SpeedTouch as DHCP client):
=>dhcp client iflist
eth0 : [BOUND]
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, 48 sec
lease rebinding in 8 days, 20 h, 6 min, 18 sec
lease expires in 10 days, 2 h, 28 min, 48 sec
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: 18, 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 !
.............
: intf 1 in init state.
dhcc
n_send() broadcast triggered; To be verified
: broadcast discover on intf 1.
dhcc
=>(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: 18, in use: 1, free: 94 %
=>
RELATED COMMANDS:
dhcp client ifattachAttach a DHCP lease to an interface.
dhcp client ifconfigConfigure a DHCP lease created for a specific interface.
dhcp client ifdeleteDelete a dynamic interface.
72 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 73
6 DHCP Commands
dhcp client ifrenew
Renew the lease of a dynamic interface.
SYNTAX:
dhcp client ifrenewintf = <interface name>
intfThe name of the dynamic interface.REQUIRED
EXAMPLE:
=>dhcp client iflist
NewMer : [SELECTING]
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, 13 sec
transmission of DISCOVER in 49 sec
retransmission timeout: 64
nbr of retransmissions: 13
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client ifrenew intf = NewMer
=>dhcp client iflist
NewMer : [SELECTING]
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
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
3EC 16982 AAAA TCZZA Ed. 04
73 / 300
Page 74
6 DHCP Commands
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT (SpeedTouch as DHCP client):
=>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)
.
RELATED COMMANDS:
dhcp client ifaddCreate a DHCP lease for a specific interface.
dhcp client ifattachAttach a DHCP lease to an interface.
74 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 75
dhcp client load
Load saved (or default) DHCP client configuration and dynamic interfaces.
Execute dhcp client flush prior to dhcp client load.
SYNTAX:
dhcp client load
EXAMPLE:
=>dhcp client iflist
NewMer : [SELECTING]
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
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client save
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client flush
=>dhcp client iflist
No dynamic interfaces defined.
=>dhcp client load
=>dhcp client iflist
NewMer : [REBOOTING]
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 request known lease for 2 sec
retransmission of REQUEST in 2 sec
retransmission timeout : 4
retransmissions left before reinitializing : 2
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp client flushDelete all dynamic interfaces.
dhcp client saveSave current DHCP client configuration and dynamic interfaces.
3EC 16982 AAAA TCZZA Ed. 04
75 / 300
Page 76
6 DHCP Commands
dhcp client save
Save current DHCP client configuration and dynamic interfaces.
SYNTAX:
dhcp client save
EXAMPLE:
=>dhcp client iflist
NewMer : [SELECTING]
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
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client save
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>dhcp client flush
=>dhcp client iflist
No dynamic interfaces defined.
=>dhcp client load
=>dhcp client iflist
NewMer : [REBOOTING]
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 request known lease for 2 sec
retransmission of REQUEST in 2 sec
retransmission timeout : 4
retransmissions left before reinitializing : 2
Number of leases: 1
Total size of table: 19, in use: 1, free: 94 %
=>
RELATED COMMANDS:
dhcp client flushFlush complete DHCP client configuration and dynamic interfaces.
dhcp client loadLoad saved or default DHCP client configuration and dynamic
interfaces.
76 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 77
dhcp client stats
Show DHCP client statistics.
SYNTAX:
dhcp client stats
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 : 244
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 %
=>
6 DHCP Commands
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT (SpeedTouch as DHCP client):
=>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 : 4
REQUESTs sent : 1
DECLINEs sent : 0
RELEASEs sent : 0
INFORMs sent : 0
Number of dynamic interfaces: 1
Memory usage:
Table size of dyn leases: 18, in use: 1, free: 94 %=>
RELATED COMMANDS:
dhcp client clearClear DHCP client statistics.
3EC 16982 AAAA TCZZA Ed. 04
77 / 300
Page 78
6 DHCP Commands
dhcp server add
Assign a static IP address to a host in the local network. This address is allocated on a permanent
basis, and is excluded from the pool of addresses used by the SpeedTouch DHCP server.
OPTIONAL
Represents the time he host is allowed to use this address, before
renewing.
Not specifying this parameter makes the lease permanent.
By default the lease time is 7200 seconds.
[hostname]The hostname to add to the local DNS table for this host.OPTIONAL
EXAMPLE:
=>dhcp server list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 16 min, 20 sec
lease is being used.
Total size of table: 36, in use: 1 free: 97 %
=>dhcp server list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 15 min, 19 sec
lease is being used.
Lease 1: 01:23:55:67:89:AB
Hostname = NewLease
ip address: 10.0.0.1
expires in: 1 h, 59 min, 52 sec
lease is not being used.
Total size of table: 36, in use: 2 free: 94 %
=>
RELATED COMMANDS:
dhcp server deleteDelete a DHCP lease.
dhcp server listShow current DHCP leases.
78 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 79
6 DHCP Commands
dhcp server client
Set the AutoDHCP client timeout in startup phase. Only applicable in AutoDHCP mode (See
dhcp server policy command).
SYNTAX:
dhcp server clienttimeout <number>
timeoutA number between -1 and 1814400 (seconds).
Represents the time to look for another DHCP server.
Entering `1` means infinite: the SpeedTouch will remain client.
By default the timeout is 20 seconds.
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
.......
Policies:
Verify first: no
Spoofing parameters:
Failure timeout (!DoD): 4 sec
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 7 free: 80 %
=>dhcp server client timeout 15
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
dhcp server policySet DHCP server policy.
dhcp server startStart DHCP server.
dhcp server statusShow current DHCP server configuration.
dhcp server stopStop DHCP server.
3EC 16982 AAAA TCZZA Ed. 04
79 / 300
Page 80
6 DHCP Commands
dhcp server clrstats
Clear SpeedTouch DHCP server statistics.
SYNTAX:
dhcp server clrstats
EXAMPLE:
=>dhcp server stats
DHCP server statistics:
Corrupted packet recv : 0
DISCOVER : 9575
REQUEST : 121
DECLINE : 0
RELEASE : 0
INFORM : 13
Pure BOOTP REQUESTS : 2
Other message types : 0
OFFERs sent : 9552
ACKs sent : 121
NAKs sent : 0
Lease table got full : no
Ping table got full : no
Second dhcp server seen : no
=>dhcp server clrstats
=>dhcp server stats
DHCP server statistics:
Corrupted packet recv : 0
DISCOVER : 0
REQUEST : 0
DECLINE : 0
RELEASE : 0
INFORM : 0
Pure BOOTP REQUESTS : 0
Other message types : 0
OFFERs sent : 0
ACKs sent : 0
NAKs sent : 0
Lease table got full : no
Ping table got full : no
Second dhcp server seen : no
=>
RELATED COMMANDS:
dhcp server statsShow DHCP server statistics.
80 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 81
dhcp server config
Set SpeedTouch DHCP server configuration.
Execute dhcp server status to see the actual status and configuration.
beginrangeThe lowest IP address in the DHCP address range to use for leasing.
Default value of this parameter is 10.0.0.1.
endrangeThe highest IP address in the DHCP address range to use for leasing.
Default value of this parameter is 10.255.255.254.
netmaskThe applicable netmask for the DHCP leases.OPTIONAL
leasetimeA number between 0 and 1814400 (seconds).
Represents the time for which a client can use its dynamically
allocated IP address.
By default the leasetime is 2 hours (7200 seconds).
gatewayThe IP address of the gateway for DHCP clients.OPTIONAL
dnsaddrThe IP address of the DNS server for DHCP clients.
Entering '0' sets the SpeedTouch as DNS server.
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
3EC 16982 AAAA TCZZA Ed. 04
81 / 300
Page 82
6 DHCP Commands
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
Netmask: 255.0.0.0
Lease time: 10800 seconds
Gateway (default router): 10.0.0.138
DNS server: 10.0.0.1
Domain name: lan
Policies:
Verify first: no
Trust client: yes
Spoofing: no
Start as client: yes
Spoofing parameters:
Failure timeout (!DoD): 4 sec
Failure lease time (!DoD): 60 sec
Temp. lease time (DoD): 10 sec
Start–up client parameters:
Timeout: 15 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 7 free: 80 %
=>dhcp server config beginrange=172.16.0.0 endrange=172.16.0.122 netmask=255.0.0.0
leasetime=21600 gateway=172.16.1.1 dnsaddr=172.16.1.1
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 172.16.0.0 ... 172.16.0.122
Netmask: 255.0.0.0
Lease time: 21600 seconds
Gateway (default router): 172.16.1.1
DNS server: 172.16.1.1
Domain name: lan
Policies:
Verify first: no
Trust client: yes
Spoofing: no
Start as client: yes
Spoofing parameters:
Failure timeout (!DoD): 4 sec
Failure lease time (!DoD): 60 sec
Temp. lease time (DoD): 10 sec
Start–up client parameters:
Timeout: 15 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 6 free: 83 %
=>
RELATED COMMANDS:
dhcp server statusShow current DHCP server configuration.
82 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 83
dhcp server delete
Delete a DHCP lease.
SYNTAX:
dhcp server deleteindex <number>
6 DHCP Commands
indexThe index number of the entry to be deleted.
Execute dhcp server status to see a list of the index numbers of all
current DHCP leases.
EXAMPLE:
=>dhcp server list
Leases:
Lease 1: 01:23:55:67:89:AB
Hostname = NewLease
ip address: 10.0.0.1
expires in: 1 h, 21 min, 9 sec
lease is not being used.
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 31 min, 36 sec
lease is being used.
Total size of table: 36, in use: 2 free: 94 %
=>dhcp server delete index 1
=>dhcp server list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 31 min, 18 sec
lease is being used.
Total size of table: 36, in use: 1 free: 97 %
=>
REQUIRED
RELATED COMMANDS:
dhcp server addAdd a DHCP lease manually.
dhcp server listShow current DHCP leases.
3EC 16982 AAAA TCZZA Ed. 04
83 / 300
Page 84
6 DHCP Commands
dhcp server flush
Flush complete DHCP server configuration and dynamic leases.
The flush command does not impact previously saved configurations.
SYNTAX:
dhcp server flush
EXAMPLE:
=>dhcp server list
Leases:
Lease 2: 01:52:41:53:20:A0:1B:A7:EB:AD:3C:C0:01:01:00:00:00
ip address: 10.0.7.79
expires in: 11 sec
lease is not being used.
Lease 1: 01:52:41:53:20:20:4D:0D:CB:03:40:C0:01:01:00:00:00
ip address: 10.0.7.62
Spoofed lease from 2: DHCP_SPOOF
Assigned (temporary) private ip address.
expires in: 1 min, 39 sec
lease is not being used.
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 57 min, 9 sec
lease is being used.
Lease 3: 01:23:55:67:89:AB
Hostname = Tempo
ip address: 10.0.0.1
never expires!
lease is not being used.
Total size of table: 36, in use: 7 free: 80 %
=>dhcp server flush
=>dhcp server list
No active leases
Total size of table: 36, in use: 0 free: 100 %
=>
RELATED COMMANDS:
dhcp server loadLoad saved or default DHCP server configuration and permanent
leases.
dhcp server saveSave current DHCP server configuration and permanent leases.
84 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 85
dhcp server list
List current DHCP leases, indicated by their index number.
SYNTAX:
dhcp server list
EXAMPLE OUTPUT:
=>dhcp server list
Leases:
Lease 2: 01:52:41:53:20:50:6D:C0:40:02:32:C0:01:01:00:00:00
ip address: 10.0.7.142
expires in: 3 sec
lease is not being used.
Lease 3: 01:52:41:53:20:A0:1B:A7:EB:AD:3C:C0:01:01:00:00:00
ip address: 10.0.7.143
expires in: 17 sec
lease is not being used.
Lease 5: 01:52:41:53:20:F0:90:8F:09:E1:35:BE:01:01:00:00:00
ip address: 10.0.7.144
expires in: 55 sec
lease is not being used.
Lease 6: 01:52:41:53:20:30:F4:89:5F:9B:44:C0:01:01:00:00:00
ip address: 10.0.7.145
expires in: 1 min, 6 sec
lease is not being used.
Lease 1: 01:52:41:53:20:20:4D:0D:CB:03:40:C0:01:01:00:00:00
ip address: 10.0.7.62
Spoofed lease from 2: DHCP_SPOOF
Assigned (temporary) private ip address.
expires in: 1 min, 57 sec
lease is not being used.
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 17 min, 21 sec
lease is being used.
Total size of table: 36, in use: 7 free: 80 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp server addAdd a DHCP lease manually.
dhcp server deleteDelete a DHCP lease.
dhcp server flushDelete complete DHCP server configuration and dynamic leases.
3EC 16982 AAAA TCZZA Ed. 04
85 / 300
Page 86
6 DHCP Commands
dhcp server load
Load saved (or default) DHCP server configuration and permanent leases.
SYNTAX:
dhcp server load[defaults <yes|no>]
[defaults]Load factory defaults (yes) or saved configuration (no).
Not specifying this parameter loads the saved configuration.
EXAMPLE:
=>dhcp server status
DHCP Server Status: Stopped
.....
=>dhcp server load defaults yes
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
Netmask: 255.0.0.0
Lease time: 7200 seconds
Gateway (default router): 11.11.144.144
DNS server: 10.0.0.1
Domain name: lan
Policies
Verify first: no
Trust client: yes
Spoofing: no
Start as client: yes
Spoofing parameters:
Failure timeout (!DoD): 4 sec
Failure lease time (!DoD): 60 sec
Temp. lease time (DoD): 10 sec
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 7 free: 80 %
=>
:
OPTIONAL
RELATED COMMANDS:
dhcp server flushFlush current DHCP server configuration and dynamic leases.
dhcp server loadLoad saved or default DHCP server configuration and permanent
[verifyfirst]Probe the network for conflicting IP addresses before giving a
suggested IP address to the requesting DHCP client (yes) or not (no).
[trustclient]Take the IP address suggested by a DHCP client into account (yes) or
not (no).
[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.
[client]Allow the Speed Touch DHCP server 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 the DHCP server
(yes) or immediately start the DHCP server (no).
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
.....
Policies
Verify first: no
Trust client: yes
Spoofing: no
Start as client: yes
.....
=>dhcp server policy verifyfirst yes trustclient no spoofing yes client no
=>dhcp server status
DHCP Server Status: Running
Policies
Verify first: yes
Trust client: no
Spoofing: yes
Start as client: no
.....
=>
:
:
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
RELATED COMMANDS:
dhcp server statusShow current DHCP server configuration.
3EC 16982 AAAA TCZZA Ed. 04
87 / 300
Page 88
6 DHCP Commands
dhcp server save
Save complete Speed Touch DHCP server configuration and permanent DHCP leases.
SYNTAX:
dhcp server save
EXAMPLE:
=>dhcp server list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 57 min, 9 sec
lease is being used.
Lease 1: 01:23:55:67:89:AB
Hostname = Tempo
ip address: 10.0.0.1
never expires!
lease is not being used.
Total size of table: 36, in use: 2 free: 94 %
=>dhcp server save
=>dhcp server flush
=>dhcp server list
No active leases
Total size of table: 36, in use: 0 free: 100 %
=>dhcp server load defaults no
=>dhcp server list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address: 10.0.0.8
expires in: 1 h, 57 min, 9 sec
lease is being used.
Lease 1: 01:23:55:67:89:AB
Hostname = Tempo
ip address: 10.0.0.1
never expires!
lease is not being used.
Total size of table: 36, in use: 2 free: 94 %
=>
RELATED COMMANDS:
dhcp server flushFlush complete DHCP server configuration and dynamic leases
dhcp server loadLoad saved or default DHCP server configuration and permanent
leases.
88 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 89
6 DHCP Commands
dhcp server spoof
Set DHCP spoofing parameters. Only applicable in case of a PPPtoDHCP Spoofing connection.
(See dhcp server policy command).
SYNTAX:
dhcp server spoof[failtime <number>]
[errorlt <number>]
[dodlt <number>]
[failtime]A number between 0 and (seconds).
Represents the time to wait for a PPP link to successfully negotiate an
IP address.
This parameter determines how long the Speed Touch should try
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 Speed Touch DHCP server will
allocate an local private IP address to the DHCP client.
By default the failtime is 4 seconds.
[errorlt]A number between 0 and (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 (seconds).
Represents the leasetime of the temporary private IP address in case
of a dialondemand PPP link.
In case of a dialondemand 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
triggered PPP link is available.
By default the dialondemand lease time is 10 seconds.
OPTIONAL
OPTIONAL
OPTIONAL
3EC 16982 AAAA TCZZA Ed. 04
89 / 300
Page 90
6 DHCP Commands
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
.....
Spoofing parameters
Failure timeout (!DoD): 4 sec
Failure lease time (!DoD): 60 sec
Temp. lease time (DoD): 10 sec
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 6 free: 83 %
=>dhcp server spoof failtime 8 errorlt 120 dodlt 20
=>dhcp server status
DHCP Server Status: Running
.....
Spoofing parameters
Failure timeout (!DoD): 8 sec
Failure lease time (!DoD): 120 sec
Temp. lease time (DoD): 20 sec
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 5 free: 86 %
=>
:
:
RELATED COMMANDS:
dhcp server policySet DHCP server policy.
dhcp server statusShow current DHCP server configuration.
90 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 91
dhcp server start
Start Speed Touch DHCP server.
SYNTAX:
dhcp server start
EXAMPLE:
=>dhcp server status
DHCP Server Status: Stopped
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
.....
Leases: total: 36, in use: 0 free: 100 %
=>dhcp server start
=>dhcp server status
DHCP Server Status: Searching for server...
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
.....
Leases: total: 36, in use: 0 free: 100 %
=>
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
.....
Leases: total: 36, in use: 1 free: 97 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp server statusShow current DHCP server configuration.
dhcp server stopStop DHCP server.
3EC 16982 AAAA TCZZA Ed. 04
91 / 300
Page 92
6 DHCP Commands
dhcp server stats
Show Speed Touch DHCP server statistics.
SYNTAX:
dhcp server stats
EXAMPLE OUTPUT:
=>dhcp server stats
DHCP server statistics:
Corrupted packet recv : 0
DISCOVER : 2451
REQUEST : 19
DECLINE : 0
RELEASE : 0
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
=>
DESCRIPTION:
Corrupted packet recvIndicates the number of corrupted packets (not complaint to RFC2131) were
received from the LAN.
DISCOVERIndicates the number of DHCP server discovery packets were received from the LAN.
These broadcasts are sent by potential DHCP clients to locate available DHCP
servers.
REQUESTIndicates the number of DHCP address lease requests were received from the LAN.
DECLINEIndicates the number of DHCP address lease requests that were declined.
RELEASEIndicates the number of DHCP address release requests that were received from
DHCP clients.
INFORMIndicates the number of information requests that were received from DHCP clients.
Pure BOOTP requestsIndicates the number of BOOTP requests that were received from the LAN.
OFFERs sentIndicates the number of IP address offers were sent in reply to DHCP requests.
92 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 93
6 DHCP Commands
ACKs sentIndicates the number of ACKnowledgement replies were sent to successfully
configured DHCP clients.
NAKs sentIndicates the number of NotAcKnowledgement replies were sent to wrongly
configured DHCP clients.
Lease table got fullIndicates whether the maximum number of DHCP leases is reached or not.
Ping table got fullIndicates whether the history list of IP address pings got full or not. These pings are
sent by the Speed Touch DHCP server to verify whether the IP address is already
in use on the LAN or not. (dhcp server policy verifyfirst=yes)
Second DHCP server
seen
Indicates whether a concurrent DHCP server was found on the LAN or not.
RELATED COMMANDS:
dhcp server clrstatsClear DHCP server statistics.
3EC 16982 AAAA TCZZA Ed. 04
93 / 300
Page 94
6 DHCP Commands
dhcp server status
Show current DHCP server configuration.
SYNTAX:
dhcp server status
EXAMPLE OUTPUT IN A NETWORKED ENVIRONMENT (SpeedTouch as DHCP client):
=>dhcp server status
DHCP Server Status: Client
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
Netmask: 255.0.0.0
Lease time: 7200 seconds
Gateway (default router): 10.0.0.3 (auto)
DNS server: 10.0.0.3 (auto)
Domain name: SpeedTouch.local
Policies:
Verify first: no
Trust client: yes
Spoofing: no
Start as client: yes
Spoofing parameters:
Failure timeout (!DoD): 4 sec
Failure lease time (!DoD): 60 sec
Temp. lease time (DoD): 10 sec
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 0 free: 100 %
=>
RELATED COMMANDS:
dhcp server stopStop DHCP server.
dhcp server startStart DHCP server.
dhcp server policySet DHCP server policy.
dhcp server spoofingSet spoofing parameters.
94 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 95
dhcp server stop
Stop Speed Touch DHCP server.
SYNTAX:
dhcp server stop
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
.....
Leases: total: 36, in use: 1 free: 97 %
=>dhcp server stop
=>dhcp server status
DHCP Server Status: Stopped
Current configuration:
Address Range: 10.0.0.1 ... 10.255.255.254
.....
Leases: total: 36, in use: 0 free: 100 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp server startStart DHCP server.
dhcp server statusShow current DHCP server configuration.
3EC 16982 AAAA TCZZA Ed. 04
95 / 300
Page 96
6 DHCP Commands
dhcp server troff
Disable verbose console logging. No debug traces are generated anymore.
SYNTAX:
dhcp server troff
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
.....
Start–up client parameters:
Timeout: 20 sec
Tracing: on
Memory usage:
Leases: total: 36, in use: 0 free: 100 %
=>dhcp server troff
=>dhcp server status
DHCP Server Status: Running
.....
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 1 free: 97 %
=>
RELATED COMMANDS:
dhcp server statusShow current DHCP server configuration.
dhcp server tronEnable verbose console logging.
96 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 97
dhcp server tron
Enable verbose console logging. Debug traces are generated.
SYNTAX:
dhcp server tron
EXAMPLE:
=>dhcp server status
DHCP Server Status: Running
.....
Start–up client parameters:
Timeout: 20 sec
Tracing: off
Memory usage:
Leases: total: 36, in use: 1 free: 97 %
=>dhcp server tron
=>dhcp server status
DHCP Server Status: Running
.....
Start–up client parameters:
Timeout: 20 sec
Tracing: on
Memory usage:
Leases: total: 36, in use: 1 free: 97 %
=>
6 DHCP Commands
RELATED COMMANDS:
dhcp server statusShow current DHCP server configuration
dhcp server troffDisable verbose console logging.
3EC 16982 AAAA TCZZA Ed. 04
97 / 300
Page 98
6 DHCP Commands
98 / 300
3EC 16982 AAAA TCZZA Ed. 04
Page 99
7DNS Commands
dns (to access the DNS level)
dns add
dns clear
dns clrstats
dns delete
dns domain
dns flush
dns fwdadd
dns fwddelete
7 DNS Commands
dns fwdlist
dns fwdtable
dns list
dns load
dns nslookup
dns rem
dns save
dns start
dns stats
dns status
dns stop
dns toutfwd
dns troff
dns tron
3EC 16982 AAAA TCZZA Ed. 04
99 / 300
Page 100
7 DNS Commands
dns add
Add a static DNS entry for IP hosts who do not reveal their hostname in the DHCP request, or even
worse, not support DHCP.
SYNTAX:
dns addhostname = <string>
[addr = <ipaddress>]
hostnameThe name of the IP host (without the (sub)domain name).REQUIRED
[addr]The IP address of the host (without mask).
In case this parameter is not specified the hostname applies to the
Speed Touch itself.
EXAMPLE:
=>dns list
Domain: lan
Nr. Hostname IP Address
0 TestHost 10.0.0.140
1 Default 10.0.0.8
Total Table Size: 73 entries
Amount used: 2 (2%)
=>dns add hostname ftpserver addr 172.16.0.1
=>dns list
Domain: lan
Nr. Hostname IP Address
0 TestHost 10.0.0.140
1 Default 10.0.0.8
2 ftpserver 172.16.0.1
Total Table Size: 73 entries
Amount used: 3 (4%)
=>
RELATED COMMANDS:
dns listList current DNS entries.
dns deleteDelete a DNS entry (via its index number).
dns remDelete a DNS entry (via its hostname).
OPTIONAL
100 / 300
3EC 16982 AAAA TCZZA Ed. 04
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.