Xlastevent, Xportconfig, Xalarm – Thinklogical Router - ASCII-API User Manual

Page 11: Xreset

Advertising
background image

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.

Format:

XPORTCONFIG

Example Results:

R0017OK0080,0000,0000

Vx40

R0017OK0000,0160,0000

Vx160

R0017OK0000,0320,0000

Vx320

R0017OK0576,0000,0000

Hx576

XALARM

Returns the VxRouter 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 VxRouter manual and vary depending on the model.

Format:

XALARM

Example Results:

(Vx320)

R0007OK0522

Decimal 522 is

1000001010 in binary (bits 9, 3 and 1 are 'on')

XRESET

Resets the internal switch hardware to its power on state.

Format:

XRESET

Example Results:

R0003OK or R0007ERnnnn

Jun 12, 2014

Router ASCII API: V4.5-1

10/33

Advertising