Authorities have closed the border where the Pacific Crest Trail enters Canada.