C-M-G
Series
Manual
© TDT GmbH
Chapter 3: Command Line Interface - CLI
Seite 23 von 136
3 Command Line Interface - CLI
Another easy way to configure your routers is the command line interface (CLI) developed by TDT.
Within the CLI you can display the current configuration and check several parameters on the easiest
way. In addition, a kind of batch configuration is possible, where you can easily paste configurations from
a text file.
The instructions of the current, activated menu levels can be displayed by entering a question mark (see
Example1). Additional information and help about a command can be displayed by entering a question
mark behind the command(see Example2).
Example1:
TDT(CLI): ?
configuration *enter configuration mode
status *Status information
write Save Configuration Permanent to
Flash
save Save Configuration as Textfile
to /tmp
load Load Configuration from
Textfile in /tmp and overwrite all existing configuration
include Include Configuration from
Textfile in /tmp and add it to existing configuration
reboot Reboot System
shutdown Shutdown System
halt Shutdown System immediately
exit Exit CLI
Example2:
TDT(CLI/configuration/general): prompt ?
prompt: TDT
OK
The command
quit
will terminate the CLI from every menue level.
Important!
To save changes permanently, it is always necessary to complete a Perma-
nent Save in top level with the instruction
write
, otherwise the settings
will be lost in the case that the router performs a reboot or due to power-
fail.
See chapter