Services on the West Coast Main Line between Glasgow and Carlisle and between the cities via Dumfries are affected.