84
SOCKETS TCP/IP Stack
MX1 I-Safe Reference Guide
E-EQ-MX1ISRG-F
If you want to subdivide your network, you can divide it by two for every net bit added. The
following table provides information on converting between net bits and net mask. The number of
net bits to add when changing a 0 in the net mask to:
Net Bits
Net Mask
Net Bits
Net Mask
1 128 5 248
2 192 6 252
3 224 7 254
4 240 8 255
number
When
number
is omitted,
ip ttl
displays the current value of the time to live parameter.
param
param invokes a device-specific control routine. When executed without parameters, param
displays defined interface names and device-specific flags. param operates differently for each
interface type and even interface mode. In many cases it is used to interrogate the status of an
interface. The ifstat and param commands perform similar and, in some cases, exactly the same
function.
Syntax
param ifname [arg1...argn]
Parameters
ifname
ifname
defines the name used in the interface command for the device to be controlled.
arg1...argn
These parameters depend on the type of interface in use.
Example
To display current serial link settings and restart the statistics on it, use:
param sl0 clear
param, Alternative Routing Control Sub-commands
The Alternative Routing Control Sub-commands set up and check the Sockets alternative route
mechanism. More than one route can be specified to a target host or network. The first route
which has an associated interface in the up state is used.
An interface is in the up state when it is defined by the interface command. It enters the query
state when it does not receive valid input within a specified up-time period after sending data
expecting a response. At this stage three (catering for links with a high data loss) ICMP echo
requests (ping) are sent to a query IP address. It enters the down state by a Sockets command or
when it does not receive valid input within the specified up-time period after entering the query
Содержание 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...