In the first counterterrorism strategy of its kind in the nation, roving teams of New York City police officers armed with automatic rifles and accompanied by bomb-sniffing dogs will patrol the city’s subway system daily, beginning next month, officials said on Friday.

Under a tactical plan called Operation Torch, the officers will board trains and patrol platforms, focusing on sites like Pennsylvania Station, Herald Square, Columbus Circle, Rockefeller Center and Times Square in Manhattan, and Atlantic Avenue in Brooklyn.

Officials said the operation would begin in March.

Financing for the program will be funneled to the Police Department and will come from a pool of up to $30 million taken from $153.2 million in new federal transit grants to the state.

Michael Chertoff, the secretary of homeland security, and Gov. Eliot Spitzer announced the grants at a news conference on Friday at Grand Central Terminal, where Police Commissioner Raymond W. Kelly outlined his plans to add a layer of security to the city’s 24-hour transit system.