generator ?
If the generator is installed in the trailer, it may already be wired in, through an automatic transfer switch. If not, you may want to make an adapter, which goes from the 30 amp receptical to a RV receptical. The adapters you get from camping stores are limited to 15 amps...