The male end of the cord is L6-20P which means it should go with L6-30R?
No! It needs to be L6-20R to match the male end of the cord. The 30R is a larger diameter connector meant to mate with 30P.
The breaker is perfect.
Edit - my bad - I see I said 30 in the above post - fixed that....