Xcron and xcroff, Xmaxcards, Xquit – Thinklogical Router - ASCII-API User Manual

Page 12

Advertising
background image

XCRON and XCROFF

Enables or disables sending CR's on each line. XCRON is typically used when a (Windows) telnet client connecting to
the VxRouter requires each line to end with a CR/LF pair.

Format:

XCRON

or

XCROFF

Example Results:

R0003OK

XMAXCARDS

Returns the maximum number of either upstream or downstream cards in the switch. The total number of cards in the
system is twice the value returned. The Vx160 has 8 upstream and 8 downstream cards for a total of 16 cards. To
maintain consistency, the VxRouters that are uni-directional (the Vx80 and Vx320-Video) also return half the number of
cards.

The Mx family of Routers are uni-directional. However, the Mx48 only has 3 I/O cards, so it is not possible to return

½ the number of cards. So, the Mx family will return the maximum number of cards.

Bit 3 of XOPTIONS may be used to determine if XMAXCARDS returns ½ the number of cards (default) or the actual
number of cards (i.e. for the Mx family).

UpStream Cards

DownStream Cards

Total cards

Returned value

XOPTIONS bit 3

Vx40

8

8

16

8

0

Vx80

16

0

16

8

0

Vx160

8

8

16

8

0

Vx320

20

20

40

20

0

Vx320-Video

20

0

20

10

0

Hx80

16

0

16

8

0

Hx576

36

0

36

18

0

Mx48

3

0

3

3

1

Vx640

32

0

32

16

0

Table 2: XMAXCARDS return values

The Vx160 example shows the message returned when the 'verbose' API command line option is enabled. In this case,
the API command is returned at the end of the response message.

Format:

XMAXCARDS

Example Results:

(Vx40)

R0007OK0008

(Vx160) R0017OK0008#XMAXCARDS

(Vx320) R0007OK0020

XQUIT

Ends the network connection.

Jun 12, 2014

Router ASCII API: V4.5-1

11/33

Advertising