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
Содержание SpeedTouch 620
Страница 2: ......
Страница 3: ...SpeedTouch 620 Operator s Guide...
Страница 10: ...Contents E DOC CTC 20051017 0155 v1 0 vi...
Страница 12: ...About this Operator s Guide E DOC CTC 20051017 0155 v1 0 2...
Страница 14: ...Chapter 1 Introduction E DOC CTC 20051017 0155 v1 0 4...
Страница 24: ...Chapter 2 SpeedTouch Command Line Interface E DOC CTC 20051017 0155 v1 0 14...
Страница 54: ...Chapter 4 SpeedTouch Configuration Management E DOC CTC 20051017 0155 v1 0 44...
Страница 84: ...Chapter 6 SpeedTouch System Services E DOC CTC 20051017 0155 v1 0 74...
Страница 122: ...Chapter 8 SpeedTouch Remote Access E DOC CTC 20051017 0155 v1 0 112...
Страница 202: ...Chapter 11 SpeedTouch Advanced Diagnostics E DOC CTC 20051017 0155 v1 0 192...
Страница 212: ...Chapter 12 SLA Monitoring E DOC CTC 20051017 0155 v1 0 202...
Страница 215: ......