
Eicon Connections for Linux User’s Guide
page 43
10. Run eccard start on both systems. The Eiconcards on each system are loaded and
configured according to the parameters found in their ec.cfg file.
Once eccard start has run successfully (no errors reported), you can use ecstatus to check
the integrity of the connection between Sys-1 and Sys-2.
Note: If you start the DTE first, it will report an error even though the connection will be
properly set up once you start the DCE. To avoid this temporary error condition, start the
system configured as DCE (Sys-2) first.
Creating an X.25 Test Circuit
After Sys-1 and Sys-2 are properly connected, an X.25 circuit must be created on each system.
Two sample files, sys1x25.if and sys2x25.if, are provided with Routing Services which are
configured for the purpose of running this test.
Note: Circuit names need only be unique within one Linux system; you can specify the same
name for the test circuits used on Sys-1 and Sys-2.
Once the circuits are created on both systems, ensure the Eiconcards are already started, and
run mprload -f sys1x25.if on Sys-1 and mprload -f sys2x25.if on Sys-2. This loads the
specified interface file down to the Eiconcard Routing Services driver. If the -f option is not
specified, the default file mpr.if is loaded down to the driver.
Run mprstart to start the circuits. If you stop an Eiconcard after creating a circuit entry, use
mprstart to restart the circuit once you have restarted the card.
Checking the Status of the X.25 Circuit
To check the status of your X.25 circuit, follow these steps:
1. Run ecstatus hdlc on both systems to confirm that the link between Sys-1 and Sys-2 is
operational. The Line State and Protocol State items appearing in the ecstatus display
should be listed as “Opened” on both systems.
2. Run ecstatus x25 on both systems to confirm that the link between Sys-1 and Sys-2 is
operational. The Link activated at item in the ecstatus display should list the time at which
the Eiconcards were started on each system.
Check that the circuit is correctly defined on both systems and that they are bound by
using the mprstat -c command. The systems display the following:
If there is an “E” in the Flags column, the binding or mapping of the circuit may be incorrect.
Determine what the error is and correct it. You can use the mprstart command to restart
[Sys-1]# mprstat -c
cctname Subnet Flags Port Comp Parameters First Hop I/F
x25test
1
X.25 T B 1 Off RDTE:30201
23
192.1.10
0.2
eic0
[Sys-2]# mprstat -c
cctname Subnet Flags Port Comp Parameters First Hop I/F
x25test
2
X.25 T B 1 Off RDTE:30200
01
192.1.10
0.1
eic0
Komentáře k této Příručce