WASHINGTON  Just 15 days after the terrorist attacks of Sept. 11, 2001, President George W. Bush invited his defense secretary, Donald H. Rumsfeld, to meet with him alone in the Oval Office. According to Mr. Rumsfeld’s new memoir, the president leaned back in his leather chair and ordered a review and revision of war plans  but not for Afghanistan, where the Qaeda attacks on New York and Washington had been planned and where American retaliation was imminent.

“He asked that I take a look at the shape of our military plans on Iraq,” Mr. Rumsfeld writes.

“Two weeks after the worst terrorist attack in our nation’s history, those of us in the Department of Defense were fully occupied,” Mr. Rumsfeld recalls. But the president insisted on new military plans for Iraq, Mr. Rumsfeld writes. “He wanted the options to be ‘creative.’ ”

When the option of attacking Iraq in post-9/11 military action was raised first during a Camp David meeting on Sept. 15, 2001, Mr. Bush said Afghanistan would be the target. But Mr. Rumsfeld’s recollection in the memoir, “Known and Unknown,” to be published Tuesday, shows that even then Mr. Bush was focused as well on Iraq. A copy was obtained Wednesday by The New York Times.

The book mixes the policy and the personal; at the end of the same Oval Office session in which Mr. Bush asked for an Iraq war plan, Mr. Rumsfeld recounts, the president asked about Mr. Rumsfeld’s son, Nick, who struggled with drug addiction, had relapsed and just days before had entered a rehabilitation center. The president, who has written of his own battles to overcome a drinking problem, said that he was praying for Mr. Rumsfeld, his wife, Joyce, and all their children.