Roger Federer laid down a marker for the Australian Open when he swatted away the challenge of Grigor Dimitrov.