background image
274 Chapter 9: Frame Relay Connection Controlling Traffic Flow
As has been mentioned throughout this section, Frame Relay traffic shaping can provide
granular, per-VC flow control. However, it can also provide per-interface flow control. If
applied to an interface rather than a specific circuit, it shapes all circuits defined on that
interface. It can be placed on the major interface or the subinterface, or both.
Example 9-9 shows the same configuration as in Example 9-8, but applied to the major
interface.
To verify the operation of the Frame Relay traffic shaping configuration, use the show frame-
relay pvc
command. Example 9-10 shows output from the command.
Example 9-9
Frame Relay Traffic Shaping on the Interface
RouterA(config)#map-class frame-relay EM&AM
RouterA(config-map-class)#frame-relay adaptive-shaping becn
RouterA(config-map-class)#frame-relay cir 128000
RouterA(config-map-class)#frame-relay bc 16000
RouterA(config-map-class)#frame-relay be 0
RouterA(config-map-class)#frame-relay mincir 64000
RouterA(config-map-class)#exit
RouterA(config)#interface serial 0
RouterA(config-if)#encapsulation frame-relay
RouterA(config-if)#frame-relay traffic-shaping
RouterA(config-if)#frame-relay class EM&AM
RouterA(config)#interface serial 0.1 point-to-point
RouterA(config-subif)#ip address 10.1.1.1 255.255.255.0
RouterA(config-subif)#frame-relay interface-dlci 16
Example 9-10
show frame-relay pvc Command Output Verifies the Operation of Frame Relay Traffic Shaping
RouterA#show frame-relay pvc
PVC Statistics for interface Serial0.1 (Frame Relay DTE)
DLCI = 16, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE =
Serial0.1
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
Shaping adapts to BECN
pvc create time 23:34:33, last time pvc status changed 23:34:33
cir 128000 bc 16000 be 0 limit 10000 interval 125
mincir 64000 byte increment 1000 BECN response yes
pkts 0 bytes 0 pkts delayed 0 bytes delayed 0
shaping inactive
Serial0.1 dlci 50 is first come first serve default queueing

Output queue 0/40, 0 drop, 0 dequeued