Narrative:

Climbing through 2500, climb was normal. I did notice an erratic right cylinder head temperature (the fire burning through the wires). Within 20 seconds blue and orange flames exited the cowl. My copilot was flying. I immediately took control of the aircraft, secured the right engine while simultaneously turning into my good engine back to ont. Advised ont approach on 122.5 of declaration of emergency, squawked 7700 and elected to land at ont versus chino due to crash equipment availability. I chose runway 8R and landed next to the parked fire equipment. As I secured the aircraft, I instructed my first officer to evacuate the aircraft. Post-flight inspection found that the fire was extinguished in flight. Cause of the fire was exhaust system failure above #5 and 3 cylinders. Formal findings from FAA and NTSB to follow.

Google
 

Original NASA ASRS Text

Title: RECIPROCATING LIGHT TWIN ENGINE COMMUTER HAS ENGINE FIRE AFTER TKOF, SHUTS ENGINE DOWN AND RETURNS TO LNDG.

Narrative: CLIMBING THROUGH 2500, CLIMB WAS NORMAL. I DID NOTICE AN ERRATIC RIGHT CYLINDER HEAD TEMPERATURE (THE FIRE BURNING THROUGH THE WIRES). WITHIN 20 SECONDS BLUE AND ORANGE FLAMES EXITED THE COWL. MY COPLT WAS FLYING. I IMMEDIATELY TOOK CONTROL OF THE ACFT, SECURED THE RIGHT ENGINE WHILE SIMULTANEOUSLY TURNING INTO MY GOOD ENGINE BACK TO ONT. ADVISED ONT APCH ON 122.5 OF DECLARATION OF EMER, SQUAWKED 7700 AND ELECTED TO LAND AT ONT VERSUS CHINO DUE TO CRASH EQUIPMENT AVAILABILITY. I CHOSE RWY 8R AND LANDED NEXT TO THE PARKED FIRE EQUIPMENT. AS I SECURED THE ACFT, I INSTRUCTED MY F/O TO EVACUATE THE ACFT. POST-FLT INSPECTION FOUND THAT THE FIRE WAS EXTINGUISHED IN FLT. CAUSE OF THE FIRE WAS EXHAUST SYSTEM FAILURE ABOVE #5 AND 3 CYLINDERS. FORMAL FINDINGS FROM FAA AND NTSB TO FOLLOW.

Data retrieved from NASA's ASRS site as of August 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.