What is the definition of consonance?

When several words in a short section contain the same consonant sound
When several words in a short section begin with the same sound
When multiple words within a line of poetry rhyme
When several words in a short section contain the same vowel sound

The definition of consonance is when several words in a short section contain the same consonant sound.