Narrative:

Climbing out of 21000 ft noticed #2 oil filter bypass light illuminated. In accordance with engine oil filter bypass abnormal checklist, retarded throttle to idle. Light stayed on, oil temperature mid yellow range and increasing, shut down #2 engine in accordance with abnormal checklist. Declared emergency and diverted to nearest suitable airport, bwi. Approach and landing uneventful.

Google
 

Original NASA ASRS Text

Title: DIVERSION TO ALTERNATE ARPT MANDATED AFTER INFLT ENG SHUTDOWN. EMER DECLARED.

Narrative: CLBING OUT OF 21000 FT NOTICED #2 OIL FILTER BYPASS LIGHT ILLUMINATED. IAW ENG OIL FILTER BYPASS ABNORMAL CHKLIST, RETARDED THROTTLE TO IDLE. LIGHT STAYED ON, OIL TEMP MID YELLOW RANGE AND INCREASING, SHUT DOWN #2 ENG IAW ABNORMAL CHKLIST. DECLARED EMER AND DIVERTED TO NEAREST SUITABLE ARPT, BWI. APCH AND LNDG UNEVENTFUL.

Data retrieved from NASA's ASRS site as of July 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.