FR fragmentation configuration example
Network requirements
As shown in Figure 49, Router A connects to Router B through an FR network. Because many large-sized data packets pass through the FR network, the transmission delay is very high. To reduce transmission delays, enable FR fragmentation (FRF.12) on the two devices to fragment large-sized data packets into small data packets.
Figure 49: Network diagram
![](images/image49.png)
Configuration procedure
Configure Router A:
# Create FR class test1, enable FR fragmentation, and set the fragment size to 128 bytes.
<RouterA> system-view [RouterA] fr class test1 [RouterA-fr-class-test1] fragment 128 [RouterA-fr-class-test1] quit
# Enable FR encapsulation and FRTS on interface Serial 2/0.
[RouterA] interface serial 2/0 [RouterA-Serial2/0] link-protocol fr [RouterA-Serial2/0] ip address 10.1.1.2 255.0.0.0 [RouterA-Serial2/0] fr traffic-shaping
# Create DLCI 16, and apply the FR class test1 to DLCI 16.
[RouterA-Serial2/0] fr dlci 16 [RouterA-fr-dlci-Serial2/0-16] fr-class test1
Configure Router B:
# Create FR class test1, enable FR fragmentation, and set the fragment size to 128 bytes.
<RouterB> system-view [RouterB] fr class test1 [RouterB-fr-class-test1] fragment 128 [RouterB-fr-class-test1] quit
# Enable FR encapsulation and FRTS on interface Serial 2/0.
[RouterB] interface serial 2/0 [RouterB-Serial2/0] link-protocol fr [RouterB-Serial2/0] ip address 10.1.1.1 255.0.0.0 [RouterB-Serial2/0] fr traffic-shaping
# Create DLCI 16 and apply FR class test1 to DLCI 16.
[RouterB-Serial2/0] fr dlci 16 [RouterB-fr-dlci-Serial2/0-16] fr-class test1