Packet Forwarding Commands

Packet Forwarding Commands

Set Packet-Forwarding Line

Description The Packet Forwarding feature allows you to control how the data coming from a serial device is packetized before forwarding the packet onto the LAN network. This command configures packet forwarding options for serial devices attached to the serial line. The command is broken up into logical flows that can be configured; if you configure both the packet options and the frame definition options, the frame definition options will take precedence. If any of the packet options that are configured are met, the packet transmission is triggered.

User Level Admin

Syntax set packet-forwarding line <number>* mode minimize-latency

set packet-forwarding line <number>* mode optimize-network-throughput

set packet-forwarding line <number>* mode prevent-message-fragmentation delay-between-messages <0-65535>

set packet-forwarding line <number>*

mode custom-on-specific-events [enable-end-trigger1 onoff] [enable-end-trigger2 onoff] [end-trigger1 <0x0-FF>] [end-trigger2 <0x0-FF>] [force-transmit-timer <number>] [forwarding-rule trigger1trigger+1trigger+2strip-trigger] [idle-timer <number>] [packet-size <number>]

set packet-forwarding line <number>*

mode custom-on-frame-definition [enable-eof1 onoff] [enable-eof2 onoff] [enable-sof1 onoff] [enable-sof2 onoff] [eof1 <0x0-FF>] [eof2 <0x0-FF>]

[forwarding-rule triggertrigger+1trigger+2strip-trigger] [sof1 <0x0-FF>] [sof2 <0x0-FF>] [start-frame-transmit onoff]

Options minimize-latency

This option ensures that any data received on the serial port will immediately be forwarded to the LAN. Select this option for timing-sensitive applications.

optimize-network-throughput

This option provides optimal network usage while ensuring that the application performance is not compromised. Select this option when you want to minimize overall packet count, such as when the connection is over a WAN.

prevent-message-fragmentation

This option detects the message, packet, or data blocking characteristics of the serial data and preserves it throughout the communication. Select this option for message-based applications or serial devices that are sensitive to inter-character delays within these messages.

delay-between-messages

The minimum time, in milliseconds, between messages that must pass before the data is forwarded by the IOLAN. The range is 0-65535. The default is 250 ms.

57

Page 57
Image 57
Perle Systems 5500208-41 manual Packet Forwarding Commands, Set Packet-Forwarding Line