Technicolor - Thomson SpeedTouchTM620 manual Executing Commands From the Command Group

Models: SpeedTouchTM620

1 216
Download 216 pages 15.67 Kb
Page 21
Image 21

Executing Commands

from the Command

Group

Chapter 2

SpeedTouch™ Command Line Interface

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):

=>firewall

[firewall]=>list

Config

 

 

 

======

: disabled

 

State

 

Keep

: disabled

 

TcpChecks

: none

 

 

TcpWindow

: 65536

 

 

UdpChecks

: disabled

 

IcmpChecks

: disabled

 

LogDefault

: disabled

 

LogThreshold

: enabled

 

 

Modules

 

 

 

=======

State

Text

Hooks

Module

-----------------------------------------------------------------------

fire

enabled

Firewall Administration Module

sink, for

ward, source

enabled

Firewall Host Service Module

forward

host_service

level

enabled

Firewall

Level Module

forward

system_service

enabled

Firewall

System Service Module

sink

Executing Commands from Anywhere

Using Partial Command Statements

“!” in a command means NOT, for example the [!] parameter in the firewall rule create command [srcintf [!]= <string>] parameter.

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.:

[firewall]=>:ip rtlist

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:

=>: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

E-DOC-CTC-20051017-0155 v1.0

11

 

Page 21
Image 21
Technicolor - Thomson SpeedTouchTM620 manual Executing Commands From the Command Group