加载中…
个人资料
Jackson
Jackson
  • 博客等级:
  • 博客积分:0
  • 博客访问:15,391
  • 关注人气:146
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

Frame Relay Traffic Shaping(帧中继流量整型)

(2006-05-03 20:36:30)
分类: ~~~ Wan ~~~
帧中继流量整型是为了使中心站点发送数据包的流量与远端流量达到一致,避免产生拥塞、丢包等情况占用有限的带宽资源。
 
Frame <wbr>Relay <wbr>Traffic <wbr>Shaping(帧中继流量整型)
 
具体配置可分为以下五步:
 
1、全局定义map-class:map-class frame-relay xxx(map-class-name)
 
2、全局定义average和peak速率:frame-relay traffic-rate average [peak]
 
  全局定义帧中继流量整型方式为becn:frame-relay adaptive-shaping becn
 
3、接口上定义封装格式:encapsulation frame-relay
 
4、接口上应用map-class:frame-relay class xxx(map-class-name)
 
5、接口上启用流量整型:frame-relay traffic-shaping
 
 
实例1:
 
central(config)# map-class frame-relay xxx  // 定义map-class
central(config-map-class)# frame-relay traffic-rate 32000 64000
// 定义average和peak速率分别为32kbit/s和64kbit/s
 
central(config)# interface serial2
central(config-if)# no ip address
central(config-if)# encapsulation frame-relay    //封装
central(config-if)# frame-relay traffic-shaping //启用流量整型
central(config-if)# frame-relay class xxx     //应用map-class xxx
 
 
实例2:
 
interface seiral0
  no ip address
  frame-relay lmi-type ansi
  frame-relay traffic-shaping
  frame-relay class slow_xxx
 
interface serial0.1 point-to-point
  ip address 10.128.30.1 255.255.255.248
  ip ospf cost 200
  bandwidth 10
  frame-relay interface-dlci 101
 
interface serial0.2 point-to-point
  ip address 10.128.30.9 255.255.255.248
  ip ospf cost 400
  bandwidth 10
  frame-relay interface-dlci 102
  class fast_xxx
 
interface serial0.3 point-to-point
  ip address 10.128.30.17 255.255.255.248
  ip ospf cost 200
  bandwidth 10
  frame-relay interface-dlci 103
 
 
map-class frame-relay slow_xxx
  frame-relay traffic-rate 4800 9600
  frame-relay custom-queue-list 1
 
map-class frame-relay fast_xxx
  frame-relay traffic-rate 16000 64000
  frame-relay priority-group 2
 
access-list 100 permit tcp any any eq 2065
access-list 115 permit tcp any any eq 256
 
priority-list 2 protocol decnet high
priority-list 2 protocol ip normal
priority-list 2 default medium
 
 
验证方式:
show frame-relay pvc 110
 
show traffic-shape
 
show traffic-shape statistics
 
 
 
 
 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有