MSC-CP16X4E Product Manual
3.2 Telnet access
A telnet client can be used to access the command interface on TCP/IP port 40. Many operating systems come
with a Telnet client or one can be easily obtained. To control a device using Telnet the IP address and TCP/IP
port number will need to be supplied. This is typically added as arguments when executing the “telnet”
command via your operating system's command prompt or run dialog. Here is an example for a device on the
IP address 192.168.2.60:
telnet 192.168.2.60 40
Press the Enter key which should display the command “>” prompt character, confirming that the device is
connected.
3.3 Command format
Commands consist of a command name, zero or more arguments separated by commas and a carriage return
(CR, ASCII 13 - the Enter key on a keyboard). Optionally multiple commands can be combined by separating
them with a '#' character and the command chain is terminated with a CR character. Spaces are not required
between arguments, but can be optionally supplied for readability. A space is also not required between
command names and their first argument, if the argument is numeric.
Special command characters
#
Multiple command separator, for chaining commands.
<CR>
Carriage Return (ASCII 13), indicates the end of a command or chain of commands, Enter key.
<BS>
Backspace character (ASCII 11), can be used to backspace characters in interactive command shells.
“
Used for double quoting string arguments.
'
Used for single quoting string arguments.
Command example
X1,1#X2,2#S<CR>
Connects Source 1 to Destination1 and Source 2 to Destination 2, followed by displaying the Active Routing
matrix status. The <CR> is the Carriage Return character.
3.3.1 Command names
Command names consist of one or more alphabetical characters and are case
insensitive
. For convenience with
manual command entry they can also be matched using partial names. The first matching alphabetically sorted
command is used (for example: 'H', 'He', 'hEL' or 'Help' can be used to execute the Help command). However,
this feature should not be relied on with 3
rd
party integration, since a given partial command may execute a
different command as new ones are added to the protocol.
Page 16 of 48
Copyright © 2013-2015 Matrix Switch Corporation