Mechanism of action of cefoxitin is: