转到正文

天亮了说晚安's Blog

欢迎您的光临! http://www.tllswa.com

存档

2014 年 8 月 12日 的存档

本文摘录于互联网 目录树: 流量相关概念 正常流量定义 网络定义的cir、bc、be 网络流量控制机制 流量整形和流量监管特点 流量整形内容: 一、 GTS 1、 基于接口 int s0 traffic-shape rate 256000 //出口流量以256Kbit/s进行整形 tafffic-shape adaptive 64000 //收到BECN后CIR被降低为64kbit/s show traffic s0 show traffic queue 2、 基于流的GTS Acess-list 101 traffic-shape group 101 xx xx xx 3、 CB shaping class-map myclass match any policy-map mypolicy class myclass shape average 256000 16384 0 //以配置的CIR 256Kbit/s发送通信,而不传送任何过量的突发位。bc=16384 shape adaptive 64000 ////收到BECN后CIR被降低为64kbit/s int s0 service-policy output mypolicy show interface shape 二、 FRTS 1、 FRTS 基于接口的GTS Encapsulation fram-relay Frame-relay adp 2000 定义BECN,拥塞的时候最小的流量为这个,适合TCP 当为UDP的时候 Traffic-shap fecn-adptive 发送一个测试帧。 : 2、 DE位 access-list 100 permit ip host 1.1.1.1 host 2.2.2.2 frame-relay de-list 3 protoc......Read More

本文转自:http://kanghestef.blog.51cto.com/77886/191164 shape peak、shape average和police 以下是相关配置:     环境:Dynamips、FlashFXP、IOS 12.4T ! ftp-server enable ftp-server topdir disk0: ! …….. ! class-map match-all shape match access-group 100 ! ! policy-map shape class shape police cir 80000 bc 15000 be 30000 conform-action transmit exceed-action drop ! ….. access-list 100 permit tcp any host 192.168.1.200 access-list 100 deny   tcp any any R1#sh run int f0/0 Building configuration… Current configuration : 166 bytes ! interface FastEthernet0/0 ip address 192.168.1.221 255.255.255.0 duplex full rmon native rmon collection stats 1 owner config service-policy output shape end R1# R1#sh policy-map int f0/0 FastEthernet0/0   Service-policy output: shape     Class-map: shape (match-all) 7593 packets, 10691055 bytes 5 minute offered rate 36000 bps, drop rate 3000 bps Match: access-group 100 police: cir 80000 bps, bc 15000 bytes conformed 268......Read More

备案信息