SOCKETS TCP/IP Stack
85
E-EQ-MX1ISRG-F
MX1 I-Safe Reference Guide
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
Содержание MX1-IS
Страница 38: ...28 Miscellaneous Connectors MX1 I Safe Reference Guide E EQ MX1ISRG F...
Страница 42: ...32 Handling Batteries Safely MX1 I Safe Reference Guide E EQ MX1ISRG F...
Страница 124: ...114 Numeric Alpha Key Map 41 Key MX1 I Safe Reference Guide E EQ MX1ISRG F...
Страница 156: ...146 ROM DOS 6 22 Command Summary MX1 I Safe Reference Guide E EQ MX1ISRG F...
Страница 164: ...154 Index MX1 I Safe Reference Guide E EQ MX1ISRG F...