实验过程: 第一步:在R1 进行流量整形 R1(config)#map-class frame-relay CIR
R1(config-map-class)#frame-relay traffic-rate 19200
R1(config-map-class)#exit
R1(config)#int s3/0
R1(config-if)#frame-relay traffic-shaping
R1(config-if)#int s3/0.1
R1(config-subif)#frame-relay class CIR
R1(config-subif)#int s3/0.2
R1(config-subif)#frame-relay class CIR
第二步:在R2上进行流量整形。 R2(config)#map-class frame-relay CIR
R2(config-map-class)#frame-relay traffic-rate 19200
R2(config-map-class)#exit
R2(config)#int s3/0
R2(config-if)#frame-relay class CIR
第三步:查看更为详细的流量整流的统计结果 R1#show frame pvc 102
PVC Statistics for interface Serial3/0 (Frame Relay DTE)
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = INACTIVE, INTERFACE = Serial3/0.1
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 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
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:50:40, last time pvc status changed 00:50:40
cir 19200 bc 19200 be 0 byte limit 300 interval 125
mincir 9600 byte increment 300 Adaptive Shaping none
pkts 0 bytes 0 pkts delayed 0 bytes delayed 0
shaping inactive
traffic shaping drops 0
Queueing strategy: fifo
Output queue 0/40, 0 drop, 0 dequeued
R2#show frame pvc 201
PVC Statistics for interface Serial3/0 (Frame Relay DTE)
DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = DELETED, INTERFACE = Serial3/0
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 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
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:49:50, last time pvc status changed 00:49:37考试大等级站收集整理!