Hello,
The internal AFG on the MDO3012 does not have the ability to produce a swept waveform, and the scope does not feature a dedicated bode plot tool. However, you have two options on how to generate a bode plot using the MDO3102.
The first is to set the AFG output to noise, feed it through the DUT, and into the RF input of the scope. This will show you amplitude response, but will not show phase.
The second option is to connect the AFG output to channel 1 and the DUT input, then the output of the DUT to channel 2. Use the built in measurements to find amplitude and phase, then use a script to sweep the AFG, record the measurements, and then plot the data.