扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
R1和R2之间的平均吞吐量较低为了节省开支,我们决定修改与服务提供商签署的合同,将约定信息速率从1.544Mbit/s降低到19.2Mbit/s
实验过程:
第一步:预配置、
R1(config)#int s3/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#no sh
R1(config-if)#end
R1(config)#int s3/0.1 point-to-point //配置为点到点子接口
R1(config-subif)#no sh
R1(config-subif)#ip ad 192.168.12.1 255.255.255.0
R1(config-subif)#no frame-relay inverse-arp //关闭反向ARP
R1(config-subif)#frame-relay interface-dlci 102
R1(config-subif)#exit
R1(config)#router ospf 1
R1(config-router)#net 0.0.0.0 0.0.0.0 area 0
R1(config-router)#exit
R1(config)#int s3/0.2 point-to-point
R1(config-subif)#no sh
R1(config-subif)#no frame-relay inverse-arp
R1(config-subif)#ip ad 192.168.13.1 255.255.255.0
R1(config-subif)#no sh
R1(config-subif)#frame-relay interface-dlci 103
R2(config)#int s3/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#ip ad 192.168.12.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#frame-relay map ip 192.168.12.1 201 broadcast
R2(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#net 0.0.0.0 0.0.0.0 area 0
R2(config-router)#exit
R2(config)#int s3/0
R2(config-if)#ip ospf network point-to-point
R3(config)#int s3/0
R3(config-if)#no sh
R3(config-if)#encapsulation frame-relay
R3(config-if)#no frame-relay inverse-arp
R3(config-if)#ip ad 192.168.13.3 255.255.255.0
R3(config-if)#no sh
R3(config-if)#frame-relay map ip 192.168.13.1 301 b
R3(config-if)#exit
R3(config)#router ospf 1
R3(config-router)#net 0.0.0.0 0.0.0.0 area 0
R3(config-router)#exit
R3(config)#int s3/0
R3(config-if)#ip ospf network point-to-point
实验过程:
第一步在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
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者