MFR switched connection configuration example
Network requirements
As shown in Figure 35, Router A and Router C are connected through MFR to Router B where MFR switching is enabled.
Figure 35: Network diagram
![](images/image31.png)
Configuration procedure
Configure Router A:
# Configure interface MFR1.
<RouterA> system-view [RouterA] interface mfr 1 [RouterA-MFR1] ip address 1.1.1.1 255.0.0.0 [RouterA-MFR1] quit
# Add Serial 2/0 and Serial 2/1 to interface MFR1.
[RouterA] interface serial 2/0 [RouterA-Serial2/0] link-protocol fr mfr 1 [RouterA-Serial2/0] quit [RouterA] interface serial 2/1 [RouterA-Serial2/1] link-protocol fr mfr 1 [RouterA-Serial2/1] quit
Configure Router B:
# Enable frame relay switching.
<RouterB> system-view [RouterB] fr switching
# Configure interface MFR1.
[RouterB] interface mfr 1 [RouterB-MFR1] fr interface-type dce [RouterB-MFR1] fr dlci 100 [RouterB-fr-dlci-MFR1-100] quit [RouterB-MFR1] quit
# Configure interface MFR2.
[RouterB] interface mfr 2 [RouterB-MFR2] fr interface-type dce [RouterB-MFR2] fr dlci 200 [RouterB-fr-dlci-MFR2-200] quit [RouterB-MFR2] quit
# Add Serial 2/0 and Serial 2/1 to interface MFR1.
[RouterB] interface serial 2/0 [RouterB-Serial2/0] link-protocol fr mfr 1 [RouterB] quit [RouterB] interface serial 2/1 [RouterB-Serial2/1] link-protocol fr mfr 1 [RouterB-Serial2/1] quit
# Add Serial 2/2 and Serial 2/3 to interface MFR2.
[RouterB] interface serial 2/2 [RouterB-Serial2/2] link-protocol fr mfr 2 [RouterB-Serial 2/2] quit [RouterB] interface serial 2/3 [RouterB-Serial2/3] link-protocol fr mfr 2 [RouterB-Serial2/3] quit
# Configure static route for frame relay switching.
[RouterB] fr switch pvc1 interface mfr 1 dlci 100 interface mfr 2 dlci 200
Configure Router C:
# Configure interface MFR2.
<RouterC> system-view [RouterC] interface mfr 2 [RouterC-MFR2] ip address 1.1.1.2 255.0.0.0 [RouterC-MFR2] quit
# Add Serial 2/0 and Serial 2/1 to interface MFR2.
[RouterC] interface serial 2/0 [RouterC-Serial2/0] link-protocol fr mfr 2 [RouterC-Serial2/0] quit [RouterC] interface serial 2/1 [RouterC-Serial2/1] link-protocol fr mfr 2