OSI/TS SCF Reference Manual
Examples of Command Files
OSI/TS SCF Reference Manual—424832-001
C-9
OSI/TS on a LAN with Full-IP and ES-IS
== In addition, the value for LANLOCALSNPA is automatically
== determined by OSI/TS.
=============================================================
add su $tsp1.#esis1a, nspdevice $lam1 &
, remotetsel "22aa" &
, localnsap "11aa", remotensap "22aa"
add su $tsp1.#esis1b, like $tsp1.#esis1a &
, remotetsel "22bb"
=============================================================
== Add remote (responding) subdevices.
== The MAC address of $lam1 is 08008e000018.
== The MAC address of $lam2 is 08008e0002e3.
==
== NOTE: Since you are using ES-IS routing exchange
== protocol, you don't need to hard code LANREMOTESNPA.
=============================================================
add su $tsp2.#esis2a, nspdevice $lam2 &
, localtsel "22aa" &
, localnsap "22aa"
add su $tsp2.#esis2b, like $tsp2.#esis2a &
, localtsel "22bb"
==
start su ($tsp1.*, $tsp2.*)
OSI/TS on a LAN with Null-IP
This is an example of a command file to configure a loopback test over a LAN, using
the inactive subset of the IP. In this configuration, there are two TSP processes:
$tsp1 is the local process (the initiator), and $tsp2 is the remote process (the
responder). Each TSP process has ES-IS routing exchange protocol disabled and IP
null enabled, and is configured with one subdevice. Connections can be made between
the two IP null subdevices.
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 EXCFG5, as follows:
=============================================================
== File: EXCFG5
==
== Example command file for configuring and starting
== processes and subdevices for OSI/TS over a LAN
== (using TLAM (for D-series and pre-G06 releases,
== or PAM subsystems for G06 and above releases)),
== using the inactive subset of the IP
== (IP null enabled). 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 1, pri 170/2
tspobj/name $tsp2, nowait, cpu 1, pri 170/2
confirm on
=============================================================
== Alter service to enable IP null and disable ES-IS routing
== exchange protocol.
==
== NOTE: Since you must alter the service to enable IP
== null, you cannot simply add these SCF commands to the