| United States-English |
|
|
|
![]() |
ACC Installation and Configuration Guide > Chapter 2 Software Installation and VerificationInstallation Verification |
|
The loopback test can be used to verify that the ACC hardware and software have been properly installed, and are functional.
The ACC product provides a loopback protocol module (PORTTEST) which is included in the download file. This can be used to run a loopback test which exercises the ACC multiplexer card, any attached multiplexer interchange panel or cable, and the specified multiplexer port. The loopback test is run using the loopback test feature (the lb command of the zmntr utility. (See the ACC Utilities Reference Guide.) The test requires the following:
When testing a single port looped back on itself, you connect a terminated connector or loopback hood to one of the ports on either the multiplexer panel or the (2-Channel) output cable. This serves to connect the Receive Clock (RC) to the External Timing Clock (ETC), or CCITT circuit 115 to CCITT circuit 113. Refer to the hardware reference manual for more details.
For this type of loopback test, the Internal clock mode is required. (See the ACC Utilities Reference Guide for a description of valid ACC clock modes.) Referring to the sample configuration files in Appendix A “Files, Utilities, and Daemons” of this manual, note that the Port-Definition statements, which are automatically generated during installation, define clock mode for even-numbered ports as “Int”, and for odd-numbered ports as “Ext” or external clock mode as follows: Port-Definition
If you intend to test a single port looped back on itself, it is convenient to choose one of the predefined even-numbered ports, since the configuration file provides the required clock mode. Alternatively, edit the loopback.answ configuration file to reflect your needs. The .answ file is generated with entries for an RS-232 panel, if you are using a different panel type (e.g. RS-449, X.21, V.35), you must edit the loopback.answ and set the port mode as appropriate for the specific card and panel type combination. Note that the "Ext" clocking may need to be modified to "ExIn" for other panel types (see note above). If either the .answ or .tmem file does not exist, or no longer reflects the current location of the hardware, recreate this file and run ttgen on this file:
Do not proceed until ttgen has been run successfully. More information on using /opt/acc/lbin/acc_bld_lpbk, a sample loopback configuration file, and an example of running ttgen is shown in the sections “Configuration Scripts” and “Sample ttgen Configuration File” of Appendix A. Before any of the features of the ZCOM Mux Subsystem can be accessed, it must be started up by running zmasterd (located in /opt/acc/bin) with an appropriate .tmem file. The /opt/acc/cfg/loopback.tmem file should be used, followed by performing the loopback verification test:
Messages indicating whether or not the ZCOM Mux subsystem was started successfully will be logged to the file /var/opt/acc/log/XXX.tlog, where XXX represents the day of the week (i.e. mon.tlog, tue.tlog, etc.). The following listing is an example of what might be displayed when the ZCOM Mux subsystem is started successfully. Note that in this example, the /opt/acc/cfg/loopback.answ file is configured to start up two mux cards. ------------------------------------------------------------------ 16:45:37 zmast 00117 Zmasterd daemon start running... Zmasterd starts the daemons that are listed with “start” statements in the /opt/acc/cfg/zmasterd_list file. For the base ACC product, zmasterd starts the zmlog logging facility, zmon, and znode. If any error is reported during the start up procedure, it may be necessary to stop the ZCOM subsystem by running:
The error should be addressed, and then the ZCOM subsystem should be restarted. Refer to the ACC Error Guide, for information on the messages reported by zmlog. Note that file /opt/acc/cfg/zmasterd_list refers to /opt/acc/cfg/loopback.tmem by default. If another .tmem file is be used, you should update this file accordingly. Refer to the ACC Utilities Reference Guide for more information on the use of zmasterd. The loopback test is run by using the lb command of zmntr utility program. You should run both the internal and external loopback tests (as well as either the RS-232 or V.35 test on 8-Channel interfaces). This will verify the following:
The following two examples show loopback tests being performed on port 0 of mux 1 (Z7200A card). In the first example, the port is not connected to a loopback hood. The i test option is used which performs internal checks on the interface card only. In this example, the interface card is good and all tests pass. Example 1 ZMNTR> lb 1 0 i In the second example, both internal and external tests are performed by using the ie test option. In this example, the loopback hood is not connected to the port being tested, and therefore the external tests fail. Example 2 ZMNTR> lb 1 0 ie For a 4-port E1/T1 Mux card, the results of these same test would appear as follows: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||