Note that iron is NOT a main group element, and thus it does not really follow the octet rule.
The full electronic configuration of the iron atom is:
As is standard for a transition metal, upon oxidation, the
And further oxidation can occur to give
In general, iron exhibits