ACC Installation and Configuration Guide

Chapter 4 67
Dual Interface Configurations
Affecting Port Mode
Affecting Port Mode
The port mode can be affected in the following ways:
It is affected by the port configuration in the ttgen configuration
.answ file that corresponds to the .t mem file used to bring up the ACC
MUX subsystem.
It c an be affected interactively via the zterm utility.
It can be affected by an application program that calls the zconfig() or
zport() ZCOM subroutines.
It can be affected due to the watch daemon detecting that the ACC
MUX card can no longer communicate with the system in which it is
installed.
Each of these methods is described in the following sections.
TTGEN
In the TTGEN file, the mode of the MUX ports may be assigned in the
Port statements. An example of configuring a 2-Channel port in
Loopback mode is:
Port 1:0 LBACK 9600 Int SDLC X1 NRZ
An example of configuring an 8-Channel port in RS-232 mode is:
Port 1:6 RS232 9600 Int SDLC X1 NRZ
An example of configuring a 4-Channel port in E1 mode is:
Port 1:2 E1RJ45 Int CRCMF HDB3
When the zmon daemon is started (typically via zmasterd), the ports are
brought up in the mode that is configured in the .answ file which
corresponds t o the .tmem file that is provided to zmon.
Interactive
The port modes may be changed at any t ime, either through the zterm
interactive utility, or through a ZCOM application program. In order to
change the port configuration, the following steps must be taken:
1. All ZLUs associated with the MUX port must be disabled.