Involved in the assembly of a N-linked pentasaccharide that decorates the S-layer glycoprotein and flagellins. Adds the first hexose subunit of the pentasaccharide to the dolichol phosphate carrier. Cell surface structure biogenesis; S-layer biogenesis. Deletion of the gene affects the composition of the glycan N linked to the S-layer glycoprotein. Also affects the level of monosaccharide-modified dolichol phosphate. Mutants exhibit defective or limited motility. Belongs to the glycosyltransferase 2 family.