This section describes how to configure IS-IS SR to communicate with LDP.
The SR and LDP interworking technique allows both segment routing and LDP to work within the same network. This technique connects an SR network to an LDP network to implement MPLS forwarding.
On the network shown in Figure 1, an SR domain is created between PE1 that functions as a mapping client and the P device that functions as a mapping server. Mappings between prefixes and SIDs need to be configured on the P device and advertised to PE1, which receives the mappings. An LDP domain lies between the P device and PE2, which supports only LDP. To enable PE1 and PE2 to communicate with each other, you need to establish an SR LSP and an LDP LSP, and establish the mapping between the SR LSP and LDP LSP on the P device.
Before you configure IS-IS SR to communicate with LDP, complete the following tasks:
A device that is not configured as a mapping server functions as a mapping client by default.
After completing the configurations, run the display segment-routing prefix mpls forwarding command to check the label forwarding information base of Segment Routing.