Abstract:
Embodiments of the present disclosure provide a method and device for establishing backup path, a method and device for selecting backup path. The method comprises a first node in a first IGP domain receiving a response message of successful establishment of a main path from a second node in a second IGP domain through the main path; the first node obtains path information of the main path from the response message; the path information of the main path includes at least SRLG information of a link composing the main path; the first node establishes, according to the path information of the main path, a backup path between the first node and the second node; the SRLG information of a link composing the backup path is different from the SRLG information of the link composing the main path.