We calculate a G_2-period of a Fourier coefficient of a cuspidal Eisenstein series on the split simply-connected group E_6, and relate this period to the Ginzburg-Rallis period of cusp forms on GL_6. This gives us a relation between the Ginzburg-Rallis period and the central value of the exterior cube L-function of GL_6.