What is the repitition of a consonant called?

The repetition of the initial consonant is called alliteration. The repetition of the final consonant is consonance.