R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
118
# 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
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.
[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
FR WRED configuration example
Network requirements
As shown in Figure 50,
• Router A connects to Router B through an FR network.
• Configure WFQ for the FR PVCs of Router A and enable DSCP-based WRED.
• On PVCs of Router B, allocate bandwidth for packets with the specific DSCP values and enable
DSCP-based WRED for these packets, and configure WFQ and the WRED policy for the other
packets.
Figure 50 Network diagram
Configuration procedure
1. Configure Router A:
# Create traffic behavior wfqwred and configure WFQ and WRED actions in the behavior.
[RouterA] traffic behavior wfqwred
[RouterA-behavior-wfqwred] queue wfq queue-number 256
[RouterA-behavior-wfqwred] queue-length 512
[RouterA-behavior-wfqwred] wred dscp










