FRTS configuration example
Network requirements
As shown in
•
The maximum rate of Serial 2/1/1 on Router A is 64 kbps.
•
Router B sends packets to Router A at 128 kbps.
Configure FRTS on the outgoing interface Serial 2/1/1 of Router B to limit its transmission rate to an
average of 64 kbps.
Figure 40 Network diagram
Router B
DTE
Configuration procedure
# Create FR class 64k and configure its FRTS parameters.
<RouterB> system-view
[RouterB] fr class 64k
[RouterB-fr-class-64k] cir allow 64000
[RouterB-fr-class-64k] cir 32000
[RouterB-fr-class-64k] cbs 64000
[RouterB-fr-class-64k] ebs 32000
[RouterB-fr-class-64k] traffic-shaping adaptation becn
[RouterB-fr-class-64k] traffic-shaping adaptation percentage 20
[RouterB-fr-class-64k] quit
# Enable FR encapsulation and FRTS on interface Serial 2/1/1.
[RouterB] interface serial 2/1/1
[RouterB-Serial2/1/1] link-protocol fr
[RouterB-Serial2/1/1] fr traffic-shaping
# Create an FR PVC and associate FR class 64k with the FR PVC.
[RouterB-Serial2/1/1] fr dlci 16
[RouterB-Serial2/1/1-fr-dlci-16] fr-class 64k
Verifying the configuration
# Display the FR QoS configuration and statistics for the PVC with DLCI 16.
[RouterB-Serial2/1/1-fr-dlci-16] display fr pvc dlci 16
PVC information for interface Serial2/1/1 (DTE, physically up)
DLCI: 16
Encapsulation: IETF
Creation time: 2014/02/19 01:38:00
Figure
40:
Data flow direction
128 kbps
Ser2/1/1
Frame Relay
network
CIR ALLOW = 64 kbps
Type: Static
Interface: Serial2/1/1
64 kbps
Ser2/1/1
DTE
Status: Active
134
Router A