Catalysis of the reaction: a [PTS enzyme I]-Npi-phospho-L-histidine + D-glucosamine <=> D-glucosamine 6-phosphate + a [PTS enzyme I]-L-histidine