设为首页 收藏本站
查看: 505|回复: 0

[经验分享] Guide to Cisco Frame Relay Traffic Shaping

[复制链接]

尚未签到

发表于 2018-7-13 08:30:36 | 显示全部楼层 |阅读模式
FRTS uses a mechanism called a Token Bucket.The Token Bucket regulates the amount of data that can be sent from the Frame>Data can be sent out the Frame>  If there are enough tokens, the data is sent and the appropriate amount of tokens are removed from the Token Bucket.
  If there are not enough tokens, the router will buffer the data until the Token Bucket has enough tokens to send the data and then remove the appropriate amount of tokens.
Before proceeding please note that there are two basic types of FRTS implementations. (1) FRTS with only local concern to the Frame Network  (2) FRTS configuration with remote concern for other routers on the network. For example, if you need to throttle bandwidth down on your T1 so that you so not overwhelm the remote router which is running at just 128k.
Frame>AR (Access Rate)  This is the depth of the token bucket. This is the physical circuit speed
  to your frame provider.
Local Example: If you have agreed to purchase a 128k circuit to your Frame Provider, your AR is 128k.  Remote Example: If you have 128k physical circuit and you intend to lower the rate of data transmission to a remote site which only has a 64k AR, you would then set this to 64k.
Implementation: When configuring Cisco FRTS using the data from the Local Example above, this will be entered using "cir".  frame-relay cir 128000.
CIR (Committed Information Rate)  This is the average amount of data that you and your service provider have agreed that you will send per second. This is normally lower than your AR.
Local Example: Your Frame>Remote Example: If you have 64k CIR to your provider and you need to throttle bandwidth down so you don't overwhelm your you remote router which has a 32k CIR, you would set this to 32K CIR.Implementation: When configuring Cisco FRTS using the data from the Local Example above, this will be entered using "mincir"  frame-relay mincir 64000
Bc - (Committed Burst)
  This is the amount of data that can be sent during a time interval. That time interval is>  Bc = AR/8
Local Example: In order to send traffic to meet your 128k AR, Bc = 16000bps.  Remote Example: This would be set to 1/8th of the remote routers AR.
  Implementation: When configuring Cisco FRTS using the data from the Local Example above, this will be entered using "bc"
  frame>Be - (Excess Burst)  This is the difference between CIR and AR. Configure Be only if CIR is less than AR.
Local Example: If your CIR is 64k and your access rate is 128k, then your Be is 64k.  Remote Example: The difference between cir and mincir. If cir = 128000 and mincir = 64000, then be = 64000
  Implementation: When configuring Cisco FRTS using the data from the Local Example, this will be entered using "be".
  frame-relay be 64000
  Tc (Time Interval)
  Time interval is the time measurement that works with Bc to control the amount of data that is allowed to be sent to the token bucket. The router calculates this value based on AR and Bc values that you enter. Tc = Bc/AR.
By default on a Cisco router, it is 0.125 (125ms). If Bc/AR. is greater than or equal to 125msec, it uses the internal Tc value of 125msec. If Bc/AR is less than 125 ms, it uses the Tc calculated from that equation. Why does this matter? A Tc should be adjusted to 10ms if you are running Voice across the Frame>Before proceding, please once again note the difference in terminology: FRAME>AR - ACCESS RATE = CIR – COMMITED INformATION RATE
  CIR - COMMINITED INformATION RATE = MINCIR - MINIMUM COMMITED INformATION RATE
  Examples:
Single Site
  If you were to traffic shape to your Frame>"Welcome to Global.Net WAN Services. Your 512k circuit has been installed. Per our agreement, you have a 384k CIR to our Frame Network. Thank you for using Global.Net." Here is how you would configure your router: int s0  frame-relay traffic-shaping
  int s0.1

  Frame-relay>map-class frame-relay hub  frame-relay adaptive-shaping becn <-- notification if congestion
  Frame-relay cir 512000 <-- port speed
  Frame-relay mincir 384000 <-- committed rate from provider
  Frame-relay be 128000 <-- burst rate (port - committed rate)
  Frame-relay bc 64000 <-- port speed / 8
Hub and Spoke Note:  As soon as we begin to configure FRTS to adapt for other routers on our network, in most cases our Cisco map-class settings now begin to reflect the requirements put upon us by the remote router.
Scenario 1  You have a hub site with T1 port access and 128k cir from your provider. You are communicating to a remote site, which only has 64k port access and 32k cir to the same Frame network. You'll want to throttle the hub site down enough so that it does not overwhelm the remote site with traffic.
Hub Site int s0  frame-relay traffic-shaping
  int s0.1

  frame-relay>map-class frame-relay hub  frame-relay adaptive-shaping becn <-- notification if congestion
  frame-relay cir 64000 <-- remote site port speed
  frame-relay mincir 32000 <-- remote site cir from provider
  frame-relay be 32000 <-- initial burst, port speed of remote router
  frame-relay bc 8000 <-- remote port speed /8
Scenario 2  You have a hub site with 512 port access 256k cir from provider communicating with 2 spoke remote sites which also have 512k port access 256k cir from provider. You'll want to throttle the spoke sites down enough so that they do not overwhelm the hub router.
Spoke Sites int s0  frame-relay traffic-shaping
  int s0.1

  frame-relay>map-class frame-relay spoke  frame-relay adaptive-shaping becn <-- notification if congestion
  frame-relay cir 256000 <-- = of remote site AR, read comment below
  frame-relay mincir 128000 <-- = of hub site cir from provider
  frame-relay be 128000 <-- initial burst
  frame-relay bc 32000 <-- 1/8th interval of AR which we have manually set to
  256k above.
With CIR we have to share bandwidth for the hub with the other remote router, so our CIR is now set to 256000 which is = of the hub routers port speed. BC should always be 1/8th of your CIR setting in the Cisco map>

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-536639-1-1.html 上篇帖子: CISCO IOS 基本命令大全 下篇帖子: CISCO设备策略NAT实现双WAN分流
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表