R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

137
[Router-fr-class-96k] cir allow 96000
[Router-fr-class-96k] cir 32000
[Router-fr-class-96k] cbs 96000
[Router-fr-class-96k] ebs 32000
[Router-fr-class-96k] traffic-shaping adaptation becn 20
[Router-fr-class-96k] quit
# Enable FR encapsulation and FRTS on interface Serial 2/0/1.
[Router] interface serial 2/0/1
[Router-Serial2/0/1] link-protocol fr
[Router-Serial2/0/1] fr traffic-shaping
# Create an FR PVC and apply FR class 96k to the FR PVC.
[Router-Serial2/0/1] fr dlci 16
[Router-fr-dlci-Serial2/0/1-16] fr-class 96k
FR fragmentation configuration example
Network requirements
As shown in Figure 50, 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 50 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.