Configuration example for transparent bridging over HDLC
Network requirements
As shown in Figure 113, two LAN segments, LAN 1 and LAN 2, are attached to Router A and Router B, respectively, which are interconnected over an HDLC link. Configure the two routers to enable transparent bridging over HDLC between the two LAN segments.
Figure 113: Network diagram
![](images/image109.png)
Configuration procedure
Configure Router A:
<RouterA> system-view [RouterA] bridge enable [RouterA] bridge 1 enable [RouterA] interface ethernet 1/1 [RouterA-Ethernet1/1] bridge-set 1 [RouterA-Ethernet1/1] quit [RouterA] interface serial 2/0 [RouterA-Serial2/0] link-protocol hdlc [RouterA-Serial2/0] bridge-set 1
Configure Router B:
<RouterB> system-view [RouterB] bridge enable [RouterB] bridge 1 enable [RouterB] interface ethernet 1/1 [RouterB-Ethernet1/1] bridge-set 1 [RouterB-Ethernet1/1] quit [RouterB] interface Serial 2/0 [RouterB-Serial2/0] link-protocol hdlc [RouterB-Serial2/0] bridge-set 1