The central metal ion in ferrocene ($Fe(C_5H_5)_2$) is iron in the +2 oxidation state, denoted as $Fe^{2+}$.
Neutral iron ($Fe$) has the electronic configuration $[Ar] 3d^6 4s^2$. Consequently, the $Fe^{2+}$ ion has a $d^6$ electronic configuration, meaning it has 6 electrons in its 3d orbitals.
In the ferrocene molecule, the $d$-orbitals of the $Fe^{2+}$ ion experience splitting due to the surrounding cyclopentadienyl ($C_5H_5^-$) ligands. This splitting results in distinct energy levels for the $d$-orbitals.
A common energy ordering for the $d$-orbitals in ferrocene, considering its symmetry ($D_{5h}$) and the interaction with ligand orbitals, is as follows (from lowest to highest energy):
According to the Aufbau principle and Hund's rule, the 6 $d$-electrons of $Fe^{2+}$ will occupy these energy levels starting from the lowest:
Therefore, the complete electronic configuration is represented as $d_{xy}^2 = d_{x^2-y^2}^2 < d_{z^2}^2 < d_{xz}^0 = d_{yz}^0$.