TLX Matrix Switch ASCII API V5 12 Rev. I, January 2019
XLASTEVENT
Returns a time-stamp string that was set the last time a connection was made or broken. This
can be used to determine if the switch status has changed since the last XLASTEVENT command
was issued.
Format: XLASTEVENT
Example Results:
• R0027OKThu Jul 1 11:23:52 2010
XPORTCONFIG
Returns a comma delimited list of three numbers: NU, NB, OFF.
The first number (NU) is the maximum number of uni-directional paths in the system. The second
(NB) is the maximum number of bi-directional paths and the third is currently defined as zero. Note:
TLX switches are uni-directional.
Format: XPORTCONFIG
Example Results:
• R0017OK0048,0000,0000 TLX48
• R0017OK0320,0000,0000 TLX320
• R0017OK0640,0000,0000 TLX640
XRESET
Resets the internal switch hardware to its power on state.
Format: XRESET
Example Results: R0003OK or R0007ERnnnn
XALARM
Returns the Matrix Switch hardware alarm status.
The return value is a decimal number that represents a bit-map of the actual alarm bits. For example,
if 19 is returned, the binary format will be: 10011. This shows that 3 alarms are active (3 bits are '1').
The leftmost bit in the example is bit 4, followed by bits 3, 2, 1 and 0 (the rightmost bit). Bit 0
corresponds to alarm 1, bit 1 to alarm 2, etc.
The alarm bits are defined in the TLX Matrix Switch manual and vary depending on the model.
Format: XALARM
Example Results: R0007OK0522 TLX320
Decimal 522 is 1000001010 in binary (bits 9, 3 and 1 are 'on')
XQUIT
Ends the network connection.
XCRON and XCROFF
Enables or disables sending CR's on each line. XCRON is typically used when a (Windows) telnet
client connecting to the switch requires each line to end with a CR/LF pair.
Format: XCRON or XCROFF
Example Results: R0003OK