EN
The spin-glass transition in Cd_{1-x}Mn_{x}Te epitaxial layers and bulk samples with 0.24 ≤ x ≤ 0.43 and in quantum well structures on the basis of Cd_{1-x}Mn_{x}Te were investigated by means of optical spectroscopy. Reduction of dimensionality of Cd_{1-x}Mn_{x}Te layers down to the quasi-two-dimensional case realized in Cd_{1-x}Mn_{x}Te/Cd_{1- y}Mn_{y}Te heterostructures frustrates the spin-glass formation, which is in agreement with theoretical predictions. The spin-glass formation is also frustrated in the vicinity of interfaces between semimagnetic and nonmagnetic semiconductors in CdTe/Cd_{1-x}Mn_{x}Te quantum wells.