Logon via Telnet via Windows Telnet Client
Logon via SSH with PuTTY
After authentication, type “cli help” into the Shell to learn about the usage of the command line interface.
CLI will stop after every call. You have to include ‘cli’ for every new call.
3.3.1. CLI Overview
The Command Line Interface mainly provides functions to read and write values of the M!DGE/MG102
configuration parameters. In addition, the CLI provides functions to query status information.
Description
Return
Command
Read values of one or more specified configuration parameters.
string
cli get
Write values of one or more specified configuration parameters.
void
cli set
Show available networks including Location Area Identities (LAIs)
string
cli network
Select the network provider defined by the supplied Local Area Identity (LAI)
or set the network selection method to automatic
void
cli select
Show a status overview of M!DGE/MG102
string
cli status
Print the cli help message (usage)
string
cli help
Abort a command. Exit from CLI
void
Ctrl+C
3.3.2. CLI Usage
Usage and Return Value
Command
‘cli get’ is used to read values from configuration parameters.
Arguments include all configuration keys as described in chapter
3.2
Usage: cli get <key1>[&<key2>[...]]
Example: cli get user.admin.password
The return value is the value of the queried parameter.
cli get
Note
cli get <invalidKey> returns no error message
‘cli set’ is used to assign values to configuration parameters.
Arguments include all configuration keys as described in chapter
3.2
Usage: set <key1>=<value1>[&<key2>=<value2>[...]]
Example: cli set user.admin.password=admin02
cli set
‘cli set’ produces no return value and no error message. To check
if the modification took place, use ‘cli get’
97
© RACOM s.r.o. – GPRS/EDGE/UMTS routersM!DGE, MG102
Configuration