OSI/TS SCF Reference Manual

Examples of Command Files
OSI/TS SCF Reference Manual424832-001
C-3
OSI/TS on an X.25 Network
== (using X25AM). SCF must be running before you use the
== OBEY command to invoke this file.
==
== NOTE: To use this command file for your subsystem, you
== must supply names and addresses that reflect your
== environment.
=============================================================
==
allow all errors
==
== Abort any processes and subdevices that are running and
== that have the same name as you are configuring.
==
abort su ($tsp1.*, $tsp2.*)
== Allow time to clean up all SUs
delay 10
abort process ($tsp1, $tsp2)
==
== Run TSPOBJ to create and start the TSP processes.
==
tspobj/name $tsp1, nowait, cpu 0, pri 170/1
tspobj/name $tsp2, nowait, cpu 1, pri 170/0
confirm on
=============================================================
== Configure and start X25AM lines.
=============================================================
assume line $x25a
abort,sub all
alter, framemode dce, svcrange (10,60), netid telenet, &
srcaddr "1234", pvcrange (1,9)
start
status $x25a, sub, detail
==
assume line $x25b
abort,sub all
alter, framemode dte, svcrange (10,60), netid telenet, &
srcaddr "4321", pvcrange (1,9)
start
status $x25b, sub, detail
==
version process ($tsp1, $tsp2)
=============================================================
== Add local (initiating) subdevices (using NSAP addresses).
=============================================================
add su $tsp1.#x251a, nspdevice $x25a, class 3 &
, localtsel "3501", remotetsel "3501" &
, localnsap "3001", remotensap "3501" &
, altclass 2, multiplex on &
, x25destaddr "432109"
add su $tsp1.#x251b, like $tsp1.#x251a &
, localtsel "3502", remotetsel "3502"
=============================================================
== Add remote (responding) subdevices (using NSAP
== addresses).
=============================================================
add su $tsp2.#x252a, nspdevice $x25b, class 3 &
, localtsel "3501" &
, localnsap "3501", altclass 2 &
, x25port 9, multiplex on
add su $tsp2.#x252b, like $tsp2.#x252a &
, localtsel "3502"
=============================================================
== Add local (initiating) subdevices (using X.25 addresses).
=============================================================
add su $tsp1.#x251c, nspdevice $x25a, class 3 &
, remotetsel "3503" &
, altclass 2, multiplex on &
, x25destaddr "432108"
=============================================================
== Add remote (responding) subdevices (using X.25
== addresses).
=============================================================
add su $tsp2.#x252c, nspdevice $x25b, class 3 &