Common oxidation states of halogens are
Since they have seven valence electrons they gain one electron and show -1 state.
Ground state electronic configuration - ns2 np5 -oxidation states (+1)
First excited state electronic configuration - ns2 np4 (n-1)d1 -oxidation states(+3)
Second excited state electronic configuration - ns2 np3 (n-1)d2 -oxidation states(+5)
Third excited state electronic configuration - ns1 np3 (n-1)d3 -oxidation states(+7)