LXE MX1-IS Reference Manual page 95

Intrinsically safe
Hide thumbs Also See for MX1-IS:
Table of Contents

Advertisement

SOCKETS TCP/IP Stack
state. If an up-time has never been specified or a value of 0 is specified, the interface will stay in
the up state whether valid input is received or not.
An interface enters the up state by a Sockets command or when valid input is received on that
interface when in the down or query states. An ICMP echo request is sent on an interface in the
down state every down-time period. If a down-time has never been specified or a value of 0 is
specified, the ICMP echo request will not be sent. Up-time and down-time is specified in seconds.
Syntax
param ifname [ uptime | downtime ] time
param ifname query hostname
Example Alternative Routing
Two X.25 interfaces are used to get to the target network 192.6.1.0. The first interface, named if0
should preferably be used, but if it stops receiving for a period of 20 seconds, it should try to ping
192.6.1.2 and if no response is received within another 20 seconds, if1 should take over, but if0
should be tried every five seconds. Interface if1 should disconnect after 80 seconds of no traffic.
The SOCKET.CFG file should contain the following:
interface x25 if0 ... ... ...
param if0 uptime 20
param if0 downtime 5
param if0 query 192.6.1.2
interface x25 if1 ... ... ...
param if1 uptime 80
param if1 downtime 5
param if1 query 192.6.1.2
route add 192.6.1.0 if0
route add 192.6.1.0 if1
In the case of both if0 and if1 failing, both are tried every five seconds until one comes up. The
return paths should also be maintained in a similar way with Sockets or by using RIP.
param, RIP Advertising Sub-command for Interfaces
When the rip advertise command has been used, this param sub-command makes allowance to
disable and re-enable RIP advertising on a specific interface.
Syntax
param ifname [ ripadv | noripadv ]
Examples
param if0 noripadv
param if1 ripadv
E-EQ-MX1ISRG-F
MX1 I-Safe Reference Guide
85

Advertisement

Table of Contents
loading

Table of Contents