Disabling ‘broadcast’ on switch input ports – Thinklogical Configuring the TLX ASCII Interface User Manual

Page 12

Advertising
background image

®

Configuring the TLX ASCII Interface

9

Rev. A - July, 2015

Disabling

‘Broadcast’ on Switch Input Ports

The API may be configured so that input ports are restricted to one output port at a time.
If input X is first connected to output A, then connected to output B, X will be disconnected from
A and moved to B. This mode is referred to as Point-to-Point mode, or P2P for short.

The P2P definitions are stored on the Controller SD card in the following file:

/var/local/router/p2p/upstream.csv

P2P mode is disabled when the definition file does not exist. By default, when there is no
file, input ports may connect simultaneously to any number of output ports. All Matrix Switches
are shipped without a P2P file.

These files are in the form of a comma separated value (csv) file. Each entry in the file is the
input port to be restricted to P2P mode. There may be one or more entries per line in the file.
The only characters allowed in the file are the digits 0 thru 9, commas, and spaces. Blank lines
are allowed.

An example that set ports 1, 2, 3, 4, 9, 11 and 15 to P2P mode is:

1,2,3,4

9

11, 15

As a shortcut, you may use the value 9999 to indicate ALL input ports.

If you make changes to either of these files, you can force the API to reread them by issuing the
command:

killall -HUP vxrapi

If P2P files are found at startup, the API will log this to the file:

/var/log/api

.

An example is shown below.

imxs tlxapi[9389]: parsing P2P csv file /var/local/router/p2p/upstream.csv

imxs tlxapi[9389]: parse_api_csv_file.c@133: line 1 of csv file /var/local/router/p2p/upstream.csv '1,2,3,4#012'

imxs tlxapi[9389]: parse_api_csv_file.c@133: line 2 of csv file /var/local/router/p2p/upstream.csv '9#012'

imxs tlxapi[9389]: parse_api_csv_file.c@133: line 3 of csv file /var/local/router/p2p/upstream.csv '11, 15#012'

imxs tlxapi[9389]: point-to-point mode enabled

Advertising