Chinaunix首页 | 论坛 | 博客
  • 博客访问: 871470
  • 博文数量: 275
  • 博客积分: 3904
  • 博客等级: 中校
  • 技术积分: 4605
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:10
文章分类

全部博文(275)

文章存档

2014年(9)

2013年(124)

2012年(142)

分类:

2012-09-04 14:15:03

实验说明:
RGIN: 0cm 0cm 0pt">R1R2之间的平均吞吐量较低为了节省开支,我们决定修改与服务提供商签署的合同,将约定信息速率从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
阅读(810) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~