User`s guide

128 SOCKETS TCP/IP Stack
MX1 Reference Guide E-EQ-MX1RG-D
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
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