User`s manual
MediaPack SIP User’s Manual 14. Embedded Command Line Interface
Version 4.6 223 June 2005
14 Embedded Command Line Interface
An embedded Command Line Interface (CLI) is available on the MediaPack. The CLI (or
CommandShell) can be accessed via Telnet, RS-232 and the Embedded Web Server. You can
use the CLI for diagnostics and basic configuration, such as to modify most of the ini file
parameters and to change the network settings (IP address, subnet mask and default gateway IP
address) of the gateway (refer to Section
14.2.1 on page 225).
Note: In the current version SIP parameters cannot be configured via CLI.
14.1 Accessing the CLI
You can access the CLI via Telnet, RS-232 (refer to Section 10.2 on page 201) and the
Embedded Web Server.
¾ To access the CLI via the Embedded Telnet Server, take these 4 steps:
1. Enable the Embedded Telnet Server:
¾ When using the ini file, set the parameter ‘TelnetServerEnable’ to 1 (standard mode) or 2
(SSL mode).
¾ When using the Embedded Web Server, set the parameter ‘Embedded Telnet Server’
(under Advanced Configuration>Network Settings>Application Settings) to ‘Enable
(Unsecured)’ or ‘Enable Secured (SSL)’ and save the changes so they are available
after a power fail (refer to Section 5.9 on page 161).
2. Reset the gateway.
3. Use a standard Telnet application to connect to the MediaPack Embedded Telnet Server.
Note that if the Telnet server is set to SSL mode, a special Telnet client is required on your
PC to connect to the Telnet interface over a secured connection (refer to Section
12.1.3 on
page 214).
4. Login using the same username (default ‘Admin’) and password (default ‘Admin’) you use for
the Embedded Web Server’s Administrator level.
¾ To access the CLI via the Embedded Web Server, take these 2 steps:
1. Access the MediaPack Embedded Web Server (refer to Section 5.3 on page 48).
2. In the URL field, append the suffix ‘CmdShellInterface’ (note that it’s case-sensitive) to the IP
address, e.g., http://10.1.229.17/ CmdShellInterface; the CLI screen is displayed.
Figure
14-1: Embedded Web Server CLI Screen