2-level Evocation
You evoke a vibrating whip in your free hand, whose whipcrack is most disturbing to animals. The whip lasts for the duration. If you let go of the whip, it disappears, but you can evoke the whip again as a bonus action.
You can use your action to make a melee spell attack with the thunderwhip, which has a reach of 10 feet. On a hit it deals 2d4 thunder damage. If the target is a beast, it becomes frightened until the end of its next turn.
When you cast this spell using a spell slot of 4th level or higher, the reach of the weapon increases by 5 feet and the damage increases by 1d4 for every two slot levels above 2nd.