Hydrolyzes the link between N-acetylmuramoyl residues and L-amino acid residues in certain cell-wall glycopeptides. Binds 1 zinc ion per subunit. Belongs to the N-acetylmuramoyl-L-alanine amidase 2 family.