NEW YORK - Top U.S. fuel pipeline operator Colonial Pipeline has shut its entire network after a cyber attack, the company said in a statement on Friday.

Colonial's network supplies fuel from U.S refiners on the Gulf Coast to the populous eastern and southern United States. The company transports 2.5 million barrels per day of gasoline, diesel, jet fuel and other refined products through 5,500 miles (8,850 km) of pipelines.

Colonial Pipeline says it transports 45% of East Coast fuel supply.

The company learned of the attack on Friday and took systems offline to contain the threat, it said in the statement. That action has temporarily halted operations and affected some of its IT systems, it said.

The company has engaged a third-party cybersecurity firm to launch an investigation, and Colonial has contacted law enforcement and other federal agencies, it said.

Colonial did not give further details or say for how long its pipelines would be shut.

Reuters reported earlier on Friday that Colonial had shut its main gasoline and distillate lines. 

During the trading session on Friday, Gulf Coast cash prices for gasoline and diesel edged lower.

Both gasoline and diesel futures on the New York Mercantile Exchange rose more than crude prices during the day. Gasoline futures RBc1 gained 0.6% to settle at $2.1269 a gallon, while diesel futures rose 1.1% to settle at $2.0106 a gallon.

Longer-term price effects will depend on the amount of time that the lines are shut. If barrels are not able to make it onto the lines, Gulf Coast prices could weaken further, while prices in New York Harbor could rise, one market participant said.

Colonial significantly shut down its gasoline and distillate lines during Hurricane Harvey, which hit the Gulf Coast in 2017.

During that time, spot Gulf Coast gasoline prices rose to a five-year high, while diesel prices rose to around a four-year high.

(Reporting by Stephanie Kelly Editing by Simon Webb, Shri Navaratnam and Gareth Jones) ((Stephanie.Kelly@thomsonreuters.com; 646-223-4471; Reuters Messaging: stephanie.kelly.thomsonreuters.com@reuters.net))