Technicolor - Thomson SpeedTouchTM620 Network Router User Manual


 
Chapter 2
SpeedTouch™ Command Line Interface
E-DOC-CTC-20051017-0155 v1.0
11
Executing Commands
from the Command
Group
You can also enter the commands from the command group itself, using the
reduced form of the command (for example
list at the firewall command group
selection):
“!” in a command means NOT, for example the [!] parameter in the firewall rule
create command [
srcintf [!]= <string>] parameter.
Executing Commands
from Anywhere
It is possible to enter a command from anywhere within the CLI, provided the
command is preceded by a colon (:) and the full command path, e.g.:
Using Partial Command
Statements
Instead of typing a complete command with all of its required and optional
parameters and pressing ENTER, you can also enter the command itself, without
specifying any parameter. If all parameters are optional, the command is executed
immediately, assuming default values for all parameters. In case the CLI command
features required parameters, you are prompted to complete the command with the
required (and the optional, if present) parameters. For optional parameters you can
simply press ENTER without giving a value (to assume default value). In case the
parameter provides preset values, you can scroll through these via the UP and
DOWN arrow keys. For example, the
addroute parameter below has two preset
values enabled and disabled:
=>firewall
[firewall]=>list
Config
======
State : disabled
Keep : disabled
TcpChecks : none
TcpWindow : 65536
UdpChecks : disabled
IcmpChecks : disabled
LogDefault : disabled
LogThreshold : enabled
Modules
=======
Module State Text Hooks
-----------------------------------------------------------------------
fire enabled Firewall Administration Module sink, for
ward, source
host_service enabled Firewall Host Service Module forward
level enabled Firewall Level Module forward
system_service enabled Firewall System Service Module sink
[firewall]=>:ip rtlist
=>:ip ipadd
intf = lan1
addr = 10.1.5.31
[netmask] = 8
[pointopoint] =
[addroute] = enabled
:ip ipadd intf=lan1 addr=10.1.5.31/8 addroute=enabled