Reacting grimly to Tuesday's antishah riot in Beverly Hills, the Carter administration yesterday pledged to deport all Iranians guilty of violence in this country as fast as the law allows.

"We're not going to put up with this kind of conduct by visitors to this country," declared Attorney General Griffin B. Bell. "All participants in such violence will be deported to the extent the law permits or requires."

Bell made the statement after receiving a message from President Carter, who was aboard Air Force One en route to a summit meeting on Guadeloupe in the Caribbean.

On the plane, press secretary Jody Powell told reporters:

"The president, through the National Security Council, yesterday asked the attorney general to thoroughly review all the laws and regulations relating to foreign students in this country, obviously with a view toward what actions can be taken at the federal level when American laws are broken."

Earlier, the Immigration and Naturalization Service had balked at such a broad review, claiming it lacked manpower.

But Bell, reflecting the administration's toughening attitude, reacted heatedly to the INS claim.

"If the attorney general directs them to do it, they'll do it," Bell told a reporter. "Everything about INS is a shortage of manpower. They have 10,000 people. They must be able to do something."

Bell said he had talked twice to Secretary of State Cyrus R. Vance about the Iranian demonstration at the shah's sister's estate in Beverly Hills and that Vance had discussed the matter with the president. In his message to Bell from Air Force One, Carter instructed the attorney general to enforce the law.

[Former U.S. ambassador to Britain Walter Annenberg said the shah's mother and sister had taken refuge at Annenberg's estate near Palm Springs and that they were being guarded.]