Load balancing configuration example for SDLC-to-LAN DLSw
Network requirements
As shown in Figure 86:
DLSw operates in SDLC-to-LAN mode.
Configure DLSw on Router A, Router B, and Router C to connect the IBM host with the SNA host through the Internet.
Configure DLSw load balancing on Router A.
Figure 86: Network diagram
![](images/image82.png)
Configuration procedures
Configure Router A:
# Configure interfaces on Router A to make sure that the local DLSw peer 1.1.1.1 and remote peers 2.2.2.2 and 3.3.3.3 can reach each other. (Details not shown.)
# Configure DLSw and enable DLSw load balancing on Router A.
<RouterA> system-view [RouterA] dlsw local 1.1.1.1 [RouterA] dlsw remote 2.2.2.2 circuit-weight 20 [RouterA] dlsw remote 3.3.3.3 circuit-weight 30 [RouterA] dlsw load-balance [RouterA] interface serial 2/0 [RouterA-Serial2/0] link-protocol sdlc [RouterA-Serial2/0] baudrate 9600 [RouterA-Serial2/0] code nrzi [RouterA-Serial2/0] sdlc status primary [RouterA-Serial2/0] sdlc mac-map local 0000-2222-0000 [RouterA-Serial2/0] sdlc controller c1 [RouterA-Serial2/0] sdlc mac-map remote 0014-cc00-54af c1 [RouterA-Serial2/0] sdlc enable dlsw
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] bridge enable [RouterB] bridge 5 enable [RouterB] dlsw local 2.2.2.2 [RouterB] dlsw remote 1.1.1.1 [RouterB] dlsw bridge-set 5 [RouterB] interface ethernet 1/0 [RouterB-Ethernet1/0] bridge-set 5
Configure Router C:
# Configure interfaces on Router C to make sure that the local DLSw peer 3.3.3.3 and remote peer 1.1.1.1 can reach each other. (Details not shown.)
# Configure DLSw on Router C.
<RouterC> system-view [RouterC] bridge enable [RouterC] bridge 5 enable [RouterC] dlsw local 3.3.3.3 [RouterC] dlsw remote 1.1.1.1 [RouterC] dlsw bridge-set 5 [RouterC] interface ethernet 1/0 [RouterC-Ethernet1/0] bridge-set 5