If the generator has the neutral bonded to "ground" in the generator and a switched neutral is employed in the transfer switch ( as it should be with a bonded generator neutral), a ground electrode should not be used or needed because the neutral is still bonded to ground through the generator.. Doing anything else may cause circulating currents in the grounding / bonding conductors and will defeat the purpose of the switched neutral in the transfer switch.

A.D