135
FR fragmentation configuration example
Network requirements
As shown in
, 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 51 Network diagram
Configuration procedure
1.
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/1.
[RouterA] interface serial 2/0/1
[RouterA-Serial2/0/1] link-protocol fr
[RouterA-Serial2/0/1] ip address 10.1.1.2 255.0.0.0
[RouterA-Serial2/0/1] fr traffic-shaping
# Create DLCI 16, and associate the FR class
test1
with DLCI 16.
[RouterA-Serial2/0/1] fr dlci 16
# Apply the FR class
test1
to DLCI 16.
[RouterA-fr-dlci-Serial2/0/1-16] fr-class test1
2.
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/1.
[RouterB] interface serial 2/0/1
[RouterB-Serial2/0/1] link-protocol fr
[RouterB-Serial2/0/1] ip address 10.1.1.1 255.0.0.0
[RouterB-Serial2/0/1] fr traffic-shaping
# Create DLCI 16 and apply FR class
test1
to DLCI 16.
[RouterB-Serial2/0/1] fr dlci 16
[RouterB-fr-dlci-Serial2/0/1-16] fr-class test1