Accessing the Command Line Interface .................................................................................................................... 20
Basic Navigation and Manipulation..............................................................................................................................21
Command Line Interface Top Level Structure ........................................................................................................ 25
Command Line Interface Commands ........................................................................................................................ 26
Configuration Profile Files and the CLI......................................................................................................................28
adsl info .............................................................................................................................................................................33
atm oam status ................................................................................................................................................................ 48
config list ........................................................................................................................................................................... 84
dhcp relay list .................................................................................................................................................................111
dhcp server clear...........................................................................................................................................................113
dhcp server config.........................................................................................................................................................114
dhcp server flush ...........................................................................................................................................................115
dhcp server policy.........................................................................................................................................................116
dhcp server stats ...........................................................................................................................................................117
dhcp server lease add...................................................................................................................................................119
dhcp server lease delete..............................................................................................................................................121
dhcp server lease flush.................................................................................................................................................122
dhcp server lease list....................................................................................................................................................123
dhcp server pool add ...................................................................................................................................................124
dhcp server pool config ...............................................................................................................................................125
dhcp server pool delete...............................................................................................................................................127
dhcp server pool flush .................................................................................................................................................128
dhcp server pool list.....................................................................................................................................................129
7
Page 8
DNS Commands .......................................................................................... 131
dns add ............................................................................................................................................................................132
dns clear ..........................................................................................................................................................................133
dns clrstats......................................................................................................................................................................134
dns delete........................................................................................................................................................................135
dns domain .....................................................................................................................................................................136
dns flush...........................................................................................................................................................................137
dns fwdadd......................................................................................................................................................................138
dns fwddelete.................................................................................................................................................................139
dns fwdlist .......................................................................................................................................................................140
dns fwdtable ...................................................................................................................................................................141
dns list..............................................................................................................................................................................142
dns nslookup ..................................................................................................................................................................143
dns start...........................................................................................................................................................................144
dns stats...........................................................................................................................................................................145
dns status ........................................................................................................................................................................146
dns stop...........................................................................................................................................................................147
dns toutfwd ....................................................................................................................................................................148
dns troff...........................................................................................................................................................................149
dns tron...........................................................................................................................................................................150
env get .............................................................................................................................................................................154
env set .............................................................................................................................................................................157
Eth Commands............................................................................................. 159
eth config.........................................................................................................................................................................160
eth ifconfig ......................................................................................................................................................................161
eth iflist ............................................................................................................................................................................162
firewall chain list ............................................................................................................................................................184
firewall rule list ..............................................................................................................................................................192
IP Commands............................................................................................... 195
ip apadd ...........................................................................................................................................................................196
ip apdelete.......................................................................................................................................................................198
ip aplist.............................................................................................................................................................................199
ip arpadd .........................................................................................................................................................................200
ip arpdelete.....................................................................................................................................................................201
ip arplist...........................................................................................................................................................................202
ip config ...........................................................................................................................................................................203
ip flush..............................................................................................................................................................................206
ip ifconfig .........................................................................................................................................................................207
ip iflist...............................................................................................................................................................................208
ip ifwait ............................................................................................................................................................................209
ip ping...............................................................................................................................................................................210
ip rtadd ............................................................................................................................................................................211
ip rtdelete .......................................................................................................................................................................212
ip rtlist..............................................................................................................................................................................213
ip sendto..........................................................................................................................................................................214
ip traceroute ..................................................................................................................................................................215
ip auto flush ....................................................................................................................................................................217
ip auto ifadd....................................................................................................................................................................218
ip auto ifattach ...............................................................................................................................................................219
ip auto ifconfig................................................................................................................................................................220
ip auto ifdelete ...............................................................................................................................................................221
ip auto ifdetach ..............................................................................................................................................................222
ip auto iflist .....................................................................................................................................................................223
label rule list ...................................................................................................................................................................252
Language Commands.................................................................................. 255
language config...............................................................................................................................................................256
language list.....................................................................................................................................................................257
language remove............................................................................................................................................................258
nat list ..............................................................................................................................................................................275
phonebook list ...............................................................................................................................................................287
qosbook list ....................................................................................................................................................................343
snmp list ..........................................................................................................................................................................351
snmp walk .......................................................................................................................................................................352
switch group flush .........................................................................................................................................................358
switch group list ............................................................................................................................................................359
switch group move .......................................................................................................................................................360
System Commands...................................................................................... 365
system clearpassword ..................................................................................................................................................366
system config..................................................................................................................................................................367
system flush ....................................................................................................................................................................368
system reboot................................................................................................................................................................369
system reset ...................................................................................................................................................................370
system setpassword......................................................................................................................................................371
system stats ....................................................................................................................................................................372
systemlog show .............................................................................................................................................................374
USB Commands........................................................................................... 383
usb add ............................................................................................................................................................................384
usb config ........................................................................................................................................................................385
usb delete........................................................................................................................................................................386
usb info ............................................................................................................................................................................387
usb list..............................................................................................................................................................................388
DHCP Server Module..................................................................................................................................................408
Supported Internet Protocol (IP) Protocol Names ..............................................................................................413
Supported TCP/UDP Port Names............................................................................................................................414
Supported ICMP Type Names ...................................................................................................................................417
Welcome to the SpeedTouch™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™500Series CLI command set, to be used by the end-user to
configure the SpeedTouch™500Series and PC(s).
For the fastidious user this Reference Guide aims to give a handbook for advanced and detailed configuration and
troubleshooting of the SpeedTouch™500Series via its character based Command Line Interface.
This CLI Reference Guide covers the CLI commands of the following Digital Subscriber Line (DSL) SpeedTouch™
products:
•SpeedTouch™510 ADSL/POTS
•SpeedTouch™510i ADSL/ISDN
•SpeedTouch™530
•SpeedTouch™570 Wireless
•SpeedTouch™570i Wireless
Contents
The Reference Guide consists of two main parts:
•CLI Navigation
This chapter familiarises the user with the SpeedTouch™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™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™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-20030410-0049 v1.0
17
Page 18
About this Document
Trademarks
The following trademarks are used in this document:
•SpeedTouch™ 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 MacOS are registered trademarks of Apple Computer Inc.
•UNIX is a registered trademark of UNIX System Laboratories, Inc.
•Ethernet is a trademark of Xerox Corporation.
Other products may be trademarks or registered trademarks of their respective manufacturers.
Updates
Due to the continuous evolution of SpeedTouch™ technology, existing products are regularly upgraded.
For more information on the latest technological innovations, software upgrades, and documents, please visit the
SpeedTouch™ web site at:
www.speedtouch.com
18
E-SIT-CTC-20030410-0049 v1.0
Page 19
CLI Navigation
CLI Navigation
Contents
This chapter covers the following topics:
TopicPage
Accessing the Command Line Interface 20
Basic Navigation and Manipulation 21
Command Line Interface Top Level Structure 25
Command Line Interface Commands 26
Menu-driven CLI Navigation 27
Configuration Profile Files and the CLI 28
E-SIT-CTC-20030410-0049 v1.0
19
Page 20
CLI Navigation
Accessing the Command Line Interface
Users can access the Command Line Interface via a Telnet session. This requires that TCP/IP connectivity exists
between the host from which the Telnet session is opened and the SpeedTouch™500Series.
.As soon a session to the CLI is opened, the SpeedTouch™500Series banner pops up, followed by the CLI prompt.
In case the SpeedTouch™500Series is protected by a System password, authentication will be required before access is
granted.
The following figure shows an example of the SpeedTouch™500Series banner after opening a session and
authentication.
Manipulation commands are commands that manipulate operations on the command line, for example changing the
command group, go to the beginning of the command line, go to the end of the command line, etc.
Command group Navigation
From top level, you can change to a command group by executing the name of the desired command group.
To obtain a list of all available command groups, execute help from the top level.
The example below shows every possible CLI command group for the SpeedTouch™510.
=>help
Following commands are available :
help: Displays this help information
menu: Displays menu
?: Displays this help information
exit: Exits this shell.
..: Exits group selection.
saveall: Saves current configuration.
The following command groups are specific for certain variants:
•usb is only available for the SpeedTouch™530
•wireless is only available for the SpeedTouch™570
To return to top level, or to descend one level (in case of nested command groups) execute .. .
EXAMPLE:
=>phonebook
[phonebook]=>
[phonebook]=>..
=>
E-SIT-CTC-20030410-0049 v1.0
21
Page 22
CLI Navigation
The Help Command
Execute help or ? from top level to list all available command groups for the SpeedTouch™500Series.
EXAMPLE for the SpeedTouch™510:
=>help
Following commands are available :
help: Displays this help information
menu: Displays menu
?: Displays this help information
exit: Exits this shell.
..: Exits group selection.
saveall: Saves current configuration.
You can execute the help or ? command from each command group selection. This results in a list of the available
commands (and nested command groups, if available) in this particular command group.
EXAMPLE:
=>firewall
[firewall]=>
[firewall]=>?
Following commands are available :
tron: Enables verbose console messaging.
troff: Disables verbose console messaging.
match: Defines an ip packet match.
assign: Assign a chain to an entry point.
list: Shows a list of all the hooks with the chain attached.
flush: Clears all hooks. If a hook is provided, that hook is cleared.
Following command groups are available :
chainrule
[firewall]=>
22
E-SIT-CTC-20030410-0049 v1.0
Page 23
CLI Navigation
As both help and ? have the exact same functionality in the SpeedTouch™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.
EXAMPLE:
=>firewall help
Following commands are available :
assign: Assign a chain to an entry point.
unassign: Clear a specific hook
list: Shows a list of all the hooks with the chains attached.
flush: Clears all hooks, chains and rules
tron: Enables verbose console messaging.
troff: Disables verbose console messaging.
Following command groups are available :
chainrule
=>
Entering help followed by a specific command, e.g. help firewall assign (starting from top level) or help assign (executed
from the firewall command group selection) results in a description of the syntax for the command.
EXAMPLE:
=>help firewall assign
Assign a chain to an entry point.
Syntax : assign hook = <{input|sink|forward|source|output}> chain = <string>
Parameters :
hook = <{input|sink|forward|source|output}>
Name of hook to assign chain to.
chain = <string>
Name of chain to use.
=>
Executing help all will generate the complete listing of all available CLI commands with syntax description.
E-SIT-CTC-20030410-0049 v1.0
23
Page 24
CLI Navigation
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 LineCTRL+A
the end of the Command LineCTRL+E
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 =
The table below shows the available command groups for the different SpeedTouch™500Series variants:
Command groupAvailability
adslOnly applicable for the SpeedTouch™510 and SpeedTouch™570 ADSL/POTS, and the Speed-
Touch™510i and SpeedTouch™570i ADSL/ISDN variants.
atmAlways
autopvcAlways
bridgeAlways
cipAlways
configAlways
dhcpAlways
dnsAlways
envAlways
ethAlways
ethoaAlways
firewallAlways
ipAlways
ipoaAlways
labelAlways
languageAlways
natAlways
phonebookAlways
pppoaAlways
pppoeAlways
pptpAlways
qosbookAlways
scriptAlways
snmpAlways
softwareAlways
switchOnly applicable for SpeedTouch™ devices with a four port switch.
systemAlways
systemlogAlways
tdAlways
upnpAlways
usbOnly applicable for the SpeedTouch™530 variant.
wirelessOnly applicable for the SpeedTouch™570 Wireless variant.
E-SIT-CTC-20030410-0049 v1.0
25
Page 26
CLI Navigation
Command Line Interface Commands
All CLI commands are commands that operate on, or configure, the SpeedTouch™500Series 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.
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
=>
26
E-SIT-CTC-20030410-0049 v1.0
Page 27
CLI Navigation
Menu-driven CLI Navigation
To improve the user-friendliness of the SpeedTouch™500Series 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™510):
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.
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 satisfied, use the TAB key to go to the OK field and press ENTER.
NoteDo not forget to save your changes by executing saveall (from any CLI prompt).
E-SIT-CTC-20030410-0049 v1.0
27
Page 28
CLI Navigation
Configuration Profile Files and the CLI
Configuration Profile Files
The configuration profile files, used by the Setup wizard, or directly uploaded via the SpeedTouch™500Series web
pages, consist of a set of CLI commands. Only CLI commands, which are part of the SpeedTouch™500Series CLI
command set may be used in the .ini and .def files. For readability, configuration profile files are partitioned in paragraphs. These paragraphs reflect a CLI command group selection in the SpeedTouch™500Series CLI. However, due to
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™500Series CLI commands and the
[<configuration>.ini] paragraphs is given:
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, will be discarded by the
CLI commend interpreter. This may result in a wrongly configured SpeedTouch™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™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™500Series, the Setup wizard and the
configuration profile files, please check the SpeedTouch™ support pages at:
www.speedtouch.com
E-SIT-CTC-20030410-0049 v1.0
29
Page 30
CLI Navigation
30
E-SIT-CTC-20030410-0049 v1.0
Page 31
ADSL Commands
ADSL Commands
Contents
This chapter covers the following commands:
TopicPage
adsl config 32
adsl info 33
31
Page 32
ADSL Commands
adsl config
Show/set the Asymmetric Digital Subscriber Line (ADSL) configuration.
Although the same command for both SpeedTouch™ ADSL/POTS and SpeedTouch™ ADSL/ISDN variants, the
command features specific parameter values per variant:
SYNTAX for ADSL/Plain Old Telephone Service (POTS) variants:
opermodeThe operational mode of the SpeedTouch™ modem.
Choose between:
•ansi
•g.dmt_annex_a
•g.lite
•multimode
By default the SpeedTouch™ will start in multimode.
maxbitspertoneUSA number between 10 and 14 (bits per tone).
Represents the maximum number of bits which can be allocated to
each ADSL DMT tone in the upstream direction.
By default the modem will use up to 13 bits per tone.
traceEnable/Disable adsl tracingOPTIONAL
SYNTAX for ADSL/Integrated Services Digital Network (ISDN) variants:
opermodeThe operational mode of the SpeedTouch™ modem.
Choose between:
•etsi
OPTIONAL
OPTIONAL
OPTIONAL
•g.dmt_annex_b
•multimode
By default the SpeedTouch™ will start in multimode.
maxbitspertoneUSA number between 10 and 14 (bits per tone).
Represents the maximum number of bits which can be allocated to
each ADSL DMT tone in the upstream direction.
By default the modem will use up to 13 bits per tone.
traceEnable/Disable adsl tracingOPTIONAL
NoteExecuting the :adsl config without specifying parameters, shows the current ADSL configuration.
OPTIONAL
32
Page 33
ADSL Commands
adsl info
Show ADSL statistics and information about the SpeedTouch™ DSL line status.
Although the same command for both SpeedTouch™ ADSL/POTS and SpeedTouch™ ADSL/ISDN variants, the
command features specific output parameters and counters per variant:
SYNTAX:
adsl info
EXAMPLE (for a SpeedTouch™500Series ADSL/POTS variant):
=>adsl info
Modemstate: up
Operation Mode: G.DMT Annex A [POTS Overlay Mode]
Channel Mode: fast
Number of resets: 1
Or specify a port number (dsl0 has port number 0, ..., atm5 has port
number 5).
The parameter DSL0 is replaced by the parameter ADSL0 for the
SpeedTouch™570.
vpiA number between 0 and 15.
Represents the VPI number for which statistics will be retrieved.
vciA number between 0 and 511.
Represents the VCI number for which statistics will be retrieved.
resetReset the statistics after requestOPTIONAL
REQUIRED
REQUIRED
OPTIONAL
36
Page 37
ATM Commands
atm gstats
Display ATM global statistics.
SYNTAX:
atm gstats[reset = <{no|yes}>]
resetReset the statistics after requestOPTIONAL
NoteThe command :atm portstats is replaced by the command :atmstats portstats for the SpeedTouch™570. The
command :atmstats portstats is the only ATM command for the SpeedTouch™570.
EXAMPLE:
=>atm gstats
# of received octets = 170554.
# of transmitted octets = 519665.
# of received cells = 3218.
# of transmitted cells = 9805.
# of unknown cells = 0.
# of errors on the input = 0.
=>
# of errors on output = 0.
37
Page 38
ATM Commands
atm portstats
Show port specific ATM statistics.
SYNTAX:
atm portstatsport = <{dsl0|dsl1|atm2|atm3|aal5|atm5} or number>
[reset = <{no|yes}>]
portPort for which statistics will be retrieved.
REQUIRED
Choose between:
•DSL0
•DSL1
•ATM 2
•ATM 3
•AAL5
•ATM 5
Or specify a port number (dsl0 has port number 0, ..., atm5 has port
number 5).
The parameter DSL0 is replaced by the parameter ADSL0 for the
SpeedTouch™570.
resetReset the statistics after request.OPTIONAL
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.
38
Page 39
ATM Commands
atm vcstats
Display VC specific atm statistics
SYNTAX:
atm vcstatsport = <{dsl0|dsl1|atm2|atm3|aal5|atm5} or number>
•pseudo: enable only pseudo-ILMI (VP/VC 15/16). When
connection parameters are written to the MIB, display this
information on CLI or web-interface but do not use these
parameters for configuration.
•passive: enable both ILMI (VP/VC 0/16) and pseudo-ILMI (VP/
VC 15/16). When connection parameters are written to the
MIB, display this information on CLI or web-interface but do
not use these parameters for configuration. (default)
•active: enable both ILMI (VP/VC 0/16) and pseudo-ILMI (VP/VC
15/16). When connection parameters are written to the MIB,
use these parameters to configure phonebook entries,
qosbook profiles and bind bridge or PPPoE interfaces on top.
typeType of autopvc:
•bridge (default)
•pppoerelay: an ETHoA interface will be created, will be bound
to the ILMI PVC and will be added to the PPPoE relay as relay
port.
opmodeOperational autopvc mode:
•partial:
•full:
only read the ILMI VPC and VCC MIB tables (default)
NoteIn case of a SpeedTouch™530 device, never change, or delete the usb_bridge interface!
DESCRIPTION:
RX bytesThe number of Received bytes
TX bytesThe number of Transmitted bytes
OBCOn Board Controller: indicates the physical bridge port.
RELATED COMMANDS:
bridge ifadd Create a bridged Ethernet interface.
66
Page 67
bridge ifattach Attach a bridge interface.
bridge ifconfig Configure a bridge interface.
bridge ifdelete Delete a bridge interface.
bridge ifdetach Detach a bridge interface.
Bridge Commands
67
Page 68
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 = <intfname>
hwaddr = <hardware-address>
intfThe name of the bridge interface to add the MAC address for.REQUIRED
hwaddrThe Ethernet MAC address of the new entry.REQUIRED
bridge macadd Add a static MAC address to the filtering database.
bridge macdelete Delete a MAC address entry.
70
Page 71
CIP Commands
CIP Commands
Contents
This chapter covers the following commands:
TopicPage
cip flush 72
cip ifadd 73
cip ifdelete 74
cip iflist 75
cip pvcadd 76
cip pvcdelete 77
cip pvclist 78
71
Page 72
CIP Commands
cip flush
Flush complete Classical IP over ATM (IP oA) configuration.
NoteThe flush command does not impact previously saved configurations.
SYNTAX:
cip flush
72
Page 73
CIP Commands
cip ifadd
Create a Classical IP oA interface at the local side of the Logical IP Subnet (LIS).
SYNTAX:
cip ifaddaddr = <ip-address>
[netmask = <ip-mask (dotted or cidr)>]
[uniaddr = <portspec:address[.selector]>]
addrThe Classical IP oA interface's local IP address in the LIS.REQUIRED
netmaskThe LIS's subnetmask.OPTIONAL
uniaddrThe UNI-address/port specification for incoming connections, e.g.
‘A0:*.03‘: ADSL port, any address, selector 3.
Only applicable in an Switched Virtual Channel (SVC) environment.
In most cases the Classical IP oA LIS is built in a Permanent Virtual
Channel (PVC) environment.
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™ permanent storage. This file can be
downloaded via the SpeedTouch™ web pages or via an FTP session.
SYNTAX:
config save
EXAMPLE:
=>config save
=>
RELATED COMMANDS:
config erase Physically remove all saved configurations.
=>dhcp client stats
DHCP client statistics:
Corrupted packet recv: 0
OFFERsrecv: 0
ACKsrecv: 0
NAKsrecv: 0
Pure BOOTP REPLIES: 0
Other message types: 0
DISCOVERs sent: 253
REQUESTs sent: 9
DECLINEs sent: 0
RELEASEs sent: 0
INFORMssent: 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
OFFERsrecv: 0
ACKsrecv: 0
NAKsrecv: 0
Pure BOOTP REPLIES: 0
Other message types: 0
DISCOVERs sent: 0
REQUESTs sent: 0
DECLINEs sent: 0
RELEASEs sent: 0
INFORMssent: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 stats Show DHCP client statistics.
91
Page 92
DHCP Commands
dhcp client config
Show/set DHCP client configuration.
SYNTAX:
dhcp client config[trace = <{off|on}>]
traceEnable 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.
92
Page 93
dhcp client flush
Flush complete DHCP client configuration and dynamic interfaces.
NoteThe flush command does not impact previously saved configurations.
SYNTAX:
dhcp client flush
EXAMPLE:
=>dhcp client iflist
NewETHoA: [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
nbr of retransmissions: 14
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 Commands
93
Page 94
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 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.
94
Page 95
DHCP Commands
dhcp client ifattach
Attach a DHCP lease to a dynamic interface.
NoteCreate the interface first with :dhcp client ifadd.
SYNTAX:
dhcp client ifattachintf = <interface name>
intf The name of the dynamic interface.REQUIRED
EXAMPLE:
=>dhcp client iflist
NewETHoA: [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=NewETHoA
=>dhcp client iflist
NewETHoA: [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.
95
Page 96
DHCP Commands
dhcp client ifconfig
Show/set the configuration of DHCP lease created for a specific interface.
NoteExecute the dhcp client ifrelease command before configuring the dhcp client.
intfThe name of the dynamic interface to be configured.REQUIRED
clientidThe client identity to be associated with the lease. Use none in case
no clientid should be associated with this lease.
hostnameThe host name of the client to be associated with the lease. Use “” in
case no hostname should not be associated with this lease.
addrThe preferred dynamic IP address.OPTIONAL
leasetimeA 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.
addrtransAutomatically enable address translation for this dynamic interface
(pat) or not (none).
dnsRequest (and accept) DNS server IP addresses (on) or not (off).OPTIONAL
gatewayRequest (and accept) gateway IP addresses (on) or not (off).OPTIONAL
metricA number between 0 and 100.
Represents the gateway route metric
By default the gateway route metric is 1.
dnsmetricA number between 0 and 100.
Represents the DNS route metric
By default the DNS route metric is 1.
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
96
Page 97
EXAMPLE:
=>dhcp client iflist
NewETHoA: [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: 36, in use: 1, free: 97%
=>dhcp client ifconfig intf=NewETHoA hostname=NewLease addr=10.0.0.10 leasetime=10800
=>dhcp client iflist
NewETHoA: [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: 36, in use: 1, free: 97%
=>
DHCP Commands
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.
97
Page 98
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
NewETHoA: [SELECTING]
Number of leases: 1
Total size of table: 19,in use: 1,free: 94 %
=>dhcp client ifdelete intf NewETHoA
=>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 ifreleaseRelease a lease attached to a dynamic interface.
98
Page 99
dhcp client iflist
Show all dynamic interfaces.
SYNTAX:
dhcp client iflist
EXAMPLE:
=>dhcp client iflist
NewETHoA: [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 Commands
EXAMPLE INPUT/OUTPUT IN A NETWORKED ENVIRONMENT:
The SpeedTouch™ is configured as DHCP client on its Ethernet interface eth0.
=>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 %
=>
flags= uc
IP address: 10.0.0.3
HW address: 00:90:d0:01:47:f1
DHCP server: 10.10.1.1
lease renewal in5 days, 1 h, 26 min, 45 sec
lease rebinding in8 days, 20 h, 34 min, 15 sec
lease expires in10 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 in5 days, 1 h, 25 min, 27 sec
lease rebinding in8 days, 20 h, 32 min, 57 sec
lease expires in10 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.
99
Page 100
DHCP Commands
dhcp client ifrelease
Release a lease attached to a dynamic interface.
SYNTAX:
dhcp client ifreleaseintf = <interface name>
intf The name of the dynamic interface.REQUIRED
EXAMPLE:
=>dhcp client iflist
NewETHoA: [SELECTING]
Number of leases: 1
Total size of table: 19,in use: 1,free: 94 %
=>dhcp client ifattach intf=NewETHoA
=>dhcp client iflist
NewETHoA: [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
100
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.