[吸纳教研新模式,调整形式有新招]为了能保证教师享受尽可能多的休息日,本学期开始,幼儿园对各教研组和教研活动时间作了全新的调整,于是每周五下午便成了教研组活动的正常时间,这不,昨天下午大班组根据学期教研组...+阅读
实验说明:
R1和R2之间的平均吞吐量较低为了节省开支,我们决定修改与服务提供商签署的合同,将约定信息速率从1.544Mbit/s降低到19.2Mbit/s
实验过程:
第一步:预配置
R1(config)&emspint s3/0
R1(config-if)&emspencapsulation frame-relay
R1(config-if)&emspno frame-relay inverse-arp
R1(config-if)&emspno sh
R1(config-if)&emspend
R1(config)&emspint s3/0.1 point-to-point 配置为点到点子接口
R1(config-subif)&emspno sh
R1(config-subif)&emspip ad 192.168.12.1 255.255.255.0
R1(config-subif)&emspno frame-relay inverse-arp 关闭反向ARP
R1(config-subif)&emspframe-relay interface-dlci 102
R1(config-subif)&emspexit
R1(config)&emsprouter ospf 1
R1(config-router)&emsp 0.0.0.0 0.0.0.0 area 0
R1(config-router)&emspexit
R1(config)&emspint s3/0.2 point-to-point
R1(config-subif)&emspno sh
R1(config-subif)&emspno frame-relay inverse-arp
R1(config-subif)&emspip ad 192.168.13.1 255.255.255.0
R1(config-subif)&emspno sh
R1(config-subif)&emspframe-relay interface-dlci 103
R2(config)&emspint s3/0
R2(config-if)&emspencapsulation frame-relay
R2(config-if)&emspip ad 192.168.12.2 255.255.255.0
R2(config-if)&emspno sh
R2(config-if)&emspframe-relay map ip 192.168.12.1 201 broadcast
R2(config-if)&emspexit
R2(config)&emsprouter ospf 1
R2(config-router)&emsp 0.0.0.0 0.0.0.0 area 0
R2(config-router)&emspexit
R2(config)&emspint s3/0
R2(config-if)&emspip ospf work point-to-point
R3(config)&emspint s3/0
R3(config-if)&emspno sh
R3(config-if)&emspencapsulation frame-relay
R3(config-if)&emspno frame-relay inverse-arp
R3(config-if)&emspip ad 192.168.13.3 255.255.255.0
R3(config-if)&emspno sh
R3(config-if)&emspframe-relay map ip 192.168.13.1 301 b
R3(config-if)&emspexit
R3(config)&emsprouter ospf 1
R3(config-router)&emsp 0.0.0.0 0.0.0.0 area 0
R3(config-router)&emspexit
R3(config)&emspint s3/0
R3(config-if)&emspip ospf work point-to-point 实验过程:
第一步:在R1 进行流量整形
R1(config)&emspmap-class frame-relay CIR
R1(config-map-class)&emspframe-relay traffic-rate 19200
R1(config-map-class)&emspexit
R1(config)&emspint s3/0
R1(config-if)&emspframe-relay traffic-shaping
R1(config-if)&emspint s3/0.1
R1(config-subif)&emspframe-relay class CIR
R1(config-subif)&emspint s3/0.2
R1(config-subif)&emspframe-relay class CIR
第二步:在R2上进行流量整形。
R2(config)&emspmap-class frame-relay CIR
R2(config-map-class)&emspframe-relay traffic-rate 19200
R2(config-map-class)&emspexit
R2(config)&emspint s3/0
R2(config-if)&emspframe-relay class CIR
第三步:查看更为详细的流量整流的统计结果
R1&emspshow 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&emspshow 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