Configuring SDLC-to-SDLC DLSw
Network requirements
As shown in Figure 78, DLSw works in an SDLC-to-SDLC environment. Configure DLSw on Router A and Router B to enable communication between the two SDLC LANs over the Internet.
Figure 78: Network diagram
![](images/image74.png)
Configuration procedure
Configure Router A:
Configure interfaces on Router A to make sure that the local DLSw peer 1.1.1.1 and remote peer 2.2.2.2 can reach each other. (Details not shown.)
# Configure DLSw on Router A.
<RouterA> system-view [RouterA] dlsw local 1.1.1.1 [RouterA] dlsw remote 2.2.2.2 [RouterA] interface serial 2/0 [RouterA-Serial2/0] link-protocol sdlc [RouterA-Serial2/0] sdlc enable dlsw [RouterA-Serial2/0] sdlc status secondary [RouterA-Serial2/0] sdlc controller c1 [RouterA-Serial2/0] sdlc mac-map remote 0000-2222-00c1 c1 [RouterA-Serial2/0] sdlc mac-map local 0000-1111-0000 [RouterA-Serial2/0] baudrate 9600 [RouterA-Serial2/0] code nrzi
Configure Router B:
Configure interfaces on Router B to make sure that the local DLSw peer 2.2.2.2 and remote peer 1.1.1.1 can reach each other (Details not shown.)
# Configure DLSw on Router B.
<RouterB> system-view [RouterB] dlsw local 2.2.2.2 [RouterB] dlsw remote 1.1.1.1 [RouterB] interface serial 2/0 [RouterB-Serial2/0] link-protocol sdlc [RouterB-Serial2/0] sdlc enable dlsw [RouterB-Serial2/0] sdlc status primary [RouterB-Serial2/0] sdlc controller c1 [RouterB-Serial2/0] sdlc mac-map remote 0000-1111-00c1 c1 [RouterB-Serial2/0] sdlc mac-map local 0000-2222-0000 [RouterB-Serial2/0] baudrate 9600 [RouterB-Serial2/0] code nrzi
After this step, the SDLC LANs across the WAN are interconnected.