FRTS configuration example

Network requirements

As shown in Figure 48, the router connects to the FR network through Serial 2/0. Its average transmit rate is 96 kbps, maximum transmit rate is 128 kbps, and minimum transmit rate is 32 kbps. Configure FRTS on the router to adjust 20% of the BECN-flagged traffic every time.

Configure PQ to make sure that the IP packets sourced from the 10.0.0.0 network segment are transmitted preferentially.

Figure 48: Network diagram

Configuration procedure

# Define ACL 2001 and PQL 1 to assign IP packets sourced from the 10.0.0.0 network segment to the top queue.

<Router> system-view
[Router] acl number 2001
[Router-acl-basic-2001] rule permit source 10.0.0.0 0.255.255.255
[Router-acl-basic-2001] quit
[Router] qos pql 1 protocol ip acl 2001 queue top

# Create FR class 96k and configure its FRTS parameters.

[Router] fr class 96k
[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] pq pql 1
[Router-fr-class-96k] quit

# Enable FR encapsulation and FRTS on interface Serial 2/0.

[Router] interface serial 2/0
[Router-Serial2/0] link-protocol fr
[Router-Serial2/0] fr traffic-shaping

# Create an FR PVC and apply FR class 96k to the FR PVC.

[Router-Serial2/0] fr dlci 16
[Router-fr-dlci-Serial2/0-16] fr-class 96k