OSI/TS SCF Reference Manual
Examples of Command Files
OSI/TS SCF Reference Manual—424832-001
C-8
OSI/TS on a LAN with Full-IP and ES-IS
OSI/TS on a LAN with Full-IP and ES-IS
This is an example of a command file to configure a loopback test over a LAN, using
ES-IS routing exchange protocol. 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 enabled, and is configured with
two subdevices. Connections can be made between the following subdevices:
•
#esis1a and #esis2a
#esis1b and #esis2b
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 EXCFG4, as follows:
=============================================================
== File: EXCFG4
==
== 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 ES-IS routing
== exchange protocol.
== 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
=============================================================
== Alter service to enable ES-IS routing exchange protocol.
==
== Even though ESISENABLE ON is the default, the parameter
== is specifically set to ON in this example to avoid
== confusion.
==
== NOTE: Since you must alter the service to enable ES-IS
== routing exchange protocol, you cannot simply add these
== SCF commands to the previous, generic, LAN example
== command file.
=============================================================
alter service ($tsp1.#L3, $tsp2.#L3), esisenable on
alter service ($tsp1.#L4, $tsp2.#L4), class 4
=============================================================
== Add local (initiating) 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.