Roger Federer cruised into the quarter-finals of the Western & Southern Open with a 6-1 6-1 demolition of Kevin Anderson.