OSI/TS Configuration and Management Manual

Configuring the OSI/TS Subsystem
OSI/TS Configuration and Management Manual424831-001
3-27
Command File for Configuring OSI/TS Over a LAN
The source code file for this example is provided as part of the OSI/TS software. It
resides (by default) in the volume and subvolume $SYSTEM.ZOSITS. The source code
for this example is provided in the file EXCFG3, as follows:
=============================================================
== File: EXCFG3
==
== Example command file for configuring and starting
== processes and subdevices for OSI/TS over a LAN
== (using TLAM/PAM). 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
==
version ($tsp1, $tsp2)
=============================================================
== Alter service to disable the default ES-IS routing
== exchange protocol and to configure for class 4.
=============================================================
alter service ($tsp1.#L3, $tsp2.#L3), esisenable off
alter service ($tsp1.#L4, $tsp2.#L4), class 4
=============================================================
== Add local (initiating) subdevices.
== The MAC address of $lam1 is 08008e000012.
== The MAC address of $lam2 is 08008e000013.
== (If you don't specify the LANLOCALSNPA address, it is
== obtained automatically by the TSP process.)
=============================================================
add su $tsp1.#lan1a, nspdevice $lam1 &
, remotetsel "4501" &
, localnsap "4001", remotensap "4501" &
, lanlocalsnpa "fe08008e000012" &
, lanremotesnpa "fe08008e000013"
add su $tsp1.#lan1b, like $tsp1.#lan1a &
, remotetsel "4502"
=============================================================