The /opt/acc/cfg/loopback.answ file
is a sample ttgen configuration file. The sample file is automatically
created when the ACC product is installed. The MUX-Definition statements in this
file are created to match the hardware that is installed on the
system at the time the file is created. In the case that the ACC
multiplexer cards are moved within the system after the product
is installed, it may be necessary to either manually modify the loopback.answ file, or to recreate
the file to reflect the new hardware location.
The file may be recreated by running:
Once the configuration file is created or modified, the ttgen utility must be run to create
a downloadable file:
The following is an example of a file created by the acc_bld_lpbk script on a system that
has two NIO ACC multiplexer cards, an 8-Channel and a 2-Channel
card installed:
* ttgen input file
#include "/opt/acc/cfg/ttgendefine"
ttgen
Configuration
System-name "ACC ttgen File"
Program-zlu 100
Terminal-zlu 1000
Logical-Term 800
Physical-Term 800
Buffer-Pool 3000000
Logical-Size 252
Logical-Data 10 X25CNT,0,X25CNT_LDSIZE
Queue-Limit 200
Transmit-Limit 100
Unack-Limit 5000
Port-Limit 20000
E1T1-Port-Limit 100000
Node-entry 1
Interface-Definition
Mux 0 0:12 /opt/acc/z7200a/loopback.zabs
Mux 1 0:16 /opt/acc/z7350a/loopback.zabs
Port-Definition
Port 0:0 RS232 57600 Int SDLC x1 NRZ
Port 0:1 RS232 57600 Ext SDLC x1 NRZ
Port 0:2 RS232 57600 Int SDLC x1 NRZ
Port 0:3 RS232 57600 Ext SDLC x1 NRZ
Port 0:4 RS232 57600 Int SDLC x1 NRZ
Port 0:5 RS232 57600 Ext SDLC x1 NRZ
Port 0:6 RS232 57600 Int SDLC x1 NRZ
Port 0:7 RS232 57600 Ext SDLC x1 NRZ
Port 1:0 RS232 57600 Int SDLC x1 NRZ
Port 1:1 RS232 57600 Ext SDLC x1 NRZ
Terminal-Definition
Term 600 0:0 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 601 0:1 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 602 0:2 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 603 0:3 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 604 0:4 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 605 0:5 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 606 0:6 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 607 0:7 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 608 0:0 MONITOR 0000h 0000h 01 0 0 0 0 "For Watch Feature"
Term 609 1:0 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 610 1:1 PORTTEST 0000h 0000h 99 0 0 0 0 "For Loopback Test"
Term 611 1:0 MONITOR 0000h 0000h 01 0 0 0 0 "For Watch Feature"
Node-Definition
Local-Node 123
End$
Following on the next page is an example of a file created
by the acc_bld_lpbk script
on a system that has a T1/E1 4-Channel ACC multiplexer card installed:
The /opt/acc/cfg/loopback.answ file
will be created whether or not there are ACC interface cards on
the system at the time acc_bld_lpbk is run.
In the case that there are no ACC interface cards installed, the loopback.answ file will be similar
to the one shown, except that there will be no Mux, Port, or Term statements.
The /opt/acc/cfg/loopback.tmem will
also still be created, and can be used to bring up the ACC MUX Subsystem.
Refer to the ACC Utilities Reference Guide for
more information on the format of the .answ file,
and on running ttgen to create
the .tmem files.