CAN – Ethernet Gateway
36
©
SYS TEC electronic GmbH 2007 L-1032e_9
Example 1:
cd /if/can0
./fout +l +hrd0123 10A 200 –r23 300
This rule results in RTR frames and data frames, which are received
by the CAN-Ethernet Gateway and originate from interfaces 0 through
3 and have a CAN identifier between 0x10A and 0x200 (inclusive),
are sent as high priority. Furthermore, all RTR frames from interfaces
2 and 3 with the identifier 0x300 are discarded. All remaining
messages originating from the CAN-Ethernet Gateway are sent with
low priority.
Example 2:
/if/can0 >fin - +ld 400 400 +ld 2c0 2c0
Only CAN messages with the CAN identifiers 0x400 and 0x2C0 are
passed on from the CAN interface to the other interfaces.
Example 3:
File rules can be combined.
/if/can0 >fin + -ld 180 57F
/if/can0 >fin -ld 700 700
All CAN messages from the CAN interface are passed on to the other
interfaces, with the exception of the CAN identifiers between 0x180
and 0x57F and those with the CAN identifier 0x700.
By deleting the filter file with the command
rm
, the filter rules are also
deleted. The file
fin
is retained.
The configured filter rules can be displayed by calling the filter file.
Summary of Contents for GW-003
Page 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Page 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...