The LUMAP and PRTMAP statements allow you to map LUs to connections based on the Client Identifier for terminal emulators and printer emulators, respectively. For example, use the following statements to map LU name LUT001 to any terminal client identified by the client IP address 1.1.1.1 and map LU name PRT001 to any printer client identified by client IP address 2.2.2.2.
LUMAP LUT001 1.1.1.1
PRTMAP PRT001 2.2.2.2
A local or shared LU group can be used when it is not necessary to have an exact LU name to Client Identifier match. For example, use the following statements to create a terminal LU group and a printer LU group, and map both groups to the Client Identifier IPGPAY. When a terminal client connects, Telnet will assign an LU from LUGRP1. When a printer client connects, Telnet will assign an LU from PRTGRP1.
LUGROUP LUGRP1 LUT101..LUT400..FFFNNN ENDLUGROUP
PRTGROUP PRTGRP1 PRT101..PRT400..FFFNNN ENDPRTGROUP
IPGROUP IPGPAY 255.255.0.0:9.8.0.0 ENDIPGROUP
LUMAP LUGRP1 IPGPAY
PRTMAP PRTGRP1 IPGPAY
If these same LUs can be mapped by more than one Telnet, put them into shared LU groups instead by adding an S to the object type as follows:
SLUGROUP LUGRP1 LUT101..LUT400..FFFNNN ENDSLUGROUP
SPRTGROUP PRTGRP1 PRT101..PRT400..FFFNNN ENDSPRTGROUP
After all 300 LUs are assigned, the next client connection request will fail. In this way, the LUGROUP Object can limit the number of clients connected at one time.
If a client connection is known by a Client Identifier that has an LU group mapping, only that mapping will be used to assign an LU name. The DEFAULTLUS group will not be used. It is used only in the case when no other LU mapping exists.