7: Line and Tunnel Settings
PremierWave XC User Guide 50
To Configure Tunnel Serial Settings
Using Web Manager
To configure the Serial Settings for a specific tunnel, click Tunnel in the menu bar and select
Tunnel 1 -> Serial Settings.
Using the CLI
To enter Tunnel 1 command level: enable -> tunnel 1 -> serial
Using XML
Include in your file: <configgroup name=”tunnel serial” instance=”1”>
Packing Mode
With Packing, data from the serial Line is not sent over the network immediately. Instead, data is
queued and sent in segments, when either the timeout or byte threshold is reached. Packing
applies to both Accept and Connect Modes.
Table 7-4 Tunnel Packing Mode Settings
Tunnel Packing
Mode Settings
Description
Mode
Configure the Tunnel Packing Mode. Choices are:
Disable = Data not packed.
Timeout = data sent after timeout occurs.
Send Character
= data sent when the Send Character is read on the Serial Line.
Threshold
Sets the
threshold (byte count). If the received serial data reaches this threshold, then
the data will be sent on the network. Valid range is 100 to 1450 bytes. Default is 512.
Timeout
Sets the timeout value, in milliseconds, after the first character is received on the
serial Line, before data is sent on the network. Valid range is 1 to 30000 milliseconds.
Default is 1000.
Send Character
Enter Control Characters in any of the following forms:
<control>J
0xA (hexadecimal)
\10 (decimal).
If used, the Send Character is a single printable character or a control character that,
when read on the Serial Line, forces the queued data to be sent on the network
immediately.
Trailing
Character
Enter Control Characters in any of the following forms:
<control>J
0xA (hexadecimal)
\10 (decimal).
If used, the Send Character is a single printable character or a control character that
is injected into the outgoing data stream right after the Send Character. Disable the
Trailing Character by blanking the field (setting it to <None>).