NATO has assumed command of 12,000 U.S. troops in eastern Afghanistan , completing the alliance 's hold on security throughout the country .