A bushfire which burned close to homes in an outer Melbourne suburb has been brought under control.

An emergency warning was briefly in place for Pakenham, in Melbourne's southeast, as three blazes - a bushfire, a grassfire and a car or gas bottle fire - threatened homes in the area on Thursday afternoon.

Fire crews were able to contain the bushfire, and downgraded the warning to an advice message.

Residents were warned of heavy smoke in the area.

In the state's east, campers were moved out Baw Baw National Park as a 250-hectare bushfire burned out of control in state forest between the Gippsland towns of Walhalla and Aberfeldy.

The CFA says no homes are under threat from the blaze, but crews are working to save a number of unattended buildings, including an historic pub at Walhalla.

Victorian Fire Services Commissioner Craig Lapsley said the fire's remote location meant it would take some time to contain.

"It'll continue to burn tonight and tomorrow," he told Network Ten.

"We've got significant aircraft resources on it, but we are planning for that to be a couple of days as a fire fight."

The Kentbruck fire in the state's southwest continues to burn in 11,964 hectares but it has been under control for some days.

The temperatures peaked in the high 30s to low 40s for much of Victoria on Thursday, and parts of the state won't have any relief until Friday night.

A total fire ban has been declared for the West and South Gippsland, north east, northern country and East Gippsland districts for Friday.