VLAN限速方案.doc

上传人:桔**** 文档编号:544083265 上传时间:2022-11-08 格式:DOC 页数:9 大小:77.51KB
返回 下载 相关 举报
VLAN限速方案.doc_第1页
第1页 / 共9页
VLAN限速方案.doc_第2页
第2页 / 共9页
VLAN限速方案.doc_第3页
第3页 / 共9页
VLAN限速方案.doc_第4页
第4页 / 共9页
VLAN限速方案.doc_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《VLAN限速方案.doc》由会员分享,可在线阅读,更多相关《VLAN限速方案.doc(9页珍藏版)》请在金锄头文库上搜索。

1、VLAN限速方案1前言12网络连接方案22.1需求:22.2图示连接22.3配置说明22.3.1配置相应的VLAN22.3.2配置静态路由,将Flex变为上联的缺省网关42.3.3配置上行流量的特征绑定,将上行流量和VLAN进行绑定42.3.4配置从24口的下行流量和IP进行绑定,并制定绑定的掩码,这里的掩码和配置接口的掩码的意义不同,在这里指的是下行的流量可以通过 IP and MASK的方式进行区分。42.3.5配置VLAN绑定的客户接入文件,每一个流量限制为10*64Kbps,用来控制上行的流量42.3.6配置下行流量的用户配置文件,将IP+MASK和用户的下行流量进行绑定52.3.7将

2、VLAN上行的用户接入配置文件和端口9进行绑定,并且将这种流量绑定到流类型0上(前面的配置已经指明流类型0和vid绑定),并且在端口9上进行配置文件激活。72.3.8在端口24上将用户下行流量的配置文件进行绑定,具体的配置和上面类似。81 前言对于在目前的Ethernet接入网中广泛使用的VLAN per Customer的方案,Flex4L3Module实现了接入VLAN的限速和控制功能,在本方案中要求Flex24作为二层的终结点,下面的各个VLAN中的接入终端将Flex24作为缺省网关,Flex24在三层模块上对于下面VLAN的上行流量进行控制。由于Flex24已经处于一个三层的位置,对于

3、下边各个VLAN的下行流量的限速采用目的IP控制的方案。这种方案的要求是各个接入VLAN的IP地址的掩码一样。2 网络连接方案2.1 需求:Flex24作为流量控制核心上行端口VLAN的IP地址为10.1.0.254/8接入VLAN有13个分别用Tagged的方式从9端口进行接入VLAN IP地址的掩码为8VLAN IP的配置为11.1.0.254/8到23.1.0.254/82.2 图示连接2.3 配置说明2.3.1 配置相应的VLAN!配置上行VLAN T1,端口24create vlan t1 config vlan t1 ipaddress 10.1.0.254 255.0.0.0 c

4、onfig vlan t1 add port 24 untagged !配置接入VLAN v11到v23,以及相应的IP地址create vlan v11 config vlan v11 tag 11 config vlan v11 ipaddress 11.1.0.254 255.0.0.0 config vlan v11 add port 9 tagged create vlan v12 config vlan v12 tag 12 config vlan v12 ipaddress 12.1.0.254 255.0.0.0 config vlan v12 add port 9 tagge

5、d create vlan v13 config vlan v13 tag 13 config vlan v13 ipaddress 13.1.0.254 255.0.0.0 config vlan v13 add port 9 tagged create vlan v14 config vlan v14 tag 14 config vlan v14 ipaddress 14.1.0.254 255.0.0.0 config vlan v14 add port 9 tagged create vlan v15 config vlan v15 tag 15 config vlan v15 ipa

6、ddress 15.1.0.254 255.0.0.0 config vlan v15 add port 9 tagged create vlan v16 config vlan v16 tag 16 config vlan v16 ipaddress 16.1.0.254 255.0.0.0 config vlan v16 add port 9 tagged create vlan v17 config vlan v17 tag 17 config vlan v17 ipaddress 17.1.0.254 255.0.0.0 config vlan v17 add port 9 tagge

7、d create vlan v18 config vlan v18 tag 18 config vlan v18 ipaddress 18.1.0.254 255.0.0.0 config vlan v18 add port 9 tagged create vlan v19 config vlan v19 tag 19 config vlan v19 ipaddress 19.1.0.254 255.0.0.0 config vlan v19 add port 9 tagged create vlan v20 config vlan v20 tag 20 config vlan v20 ipa

8、ddress 20.1.0.254 255.0.0.0 config vlan v20 add port 9 tagged create vlan v21 config vlan v21 tag 21 config vlan v21 ipaddress 21.1.0.254 255.0.0.0 config vlan v21 add port 9 tagged create vlan v22 config vlan v22 tag 22 config vlan v22 ipaddress 22.1.0.254 255.0.0.0 config vlan v22 add port 9 tagge

9、d create vlan v23 config vlan v23 tag 23 config vlan v23 ipaddress 23.1.0.254 255.0.0.0 config vlan v23 add port 9 tagged2.3.2 配置静态路由,将Flex变为上联的缺省网关!Static Routes-ip route 0.0.0.0/0 10.1.31.142.3.3 配置上行流量的特征绑定,将上行流量和VLAN进行绑定config flowtype 0 bind vlan2.3.4 配置从24口的下行流量和IP进行绑定,并制定绑定的掩码,这里的掩码和配置接口的掩码的意

10、义不同,在这里指的是下行的流量可以通过 IP and MASK的方式进行区分。config flowtype 1 bind dipconfig flowtype 1 dipmask 82.3.5 配置VLAN绑定的客户接入文件,每一个流量限制为10*64Kbps,用来控制上行的流量create customer-profile v23 config customer-profile v23 vid 23config customer-profile v23 input-bandwidth 10create customer-profile v22 config customer-profile

11、 v22 vid 22config customer-profile v22 input-bandwidth 10create customer-profile v21 config customer-profile v21 vid 21config customer-profile v21 input-bandwidth 10create customer-profile v20 config customer-profile v20 vid 20config customer-profile v20 input-bandwidth 10create customer-profile v19

12、 config customer-profile v19 vid 19config customer-profile v19 input-bandwidth 10create customer-profile v18 config customer-profile v18 vid 18config customer-profile v18 input-bandwidth 10create customer-profile v17 config customer-profile v17 vid 17config customer-profile v17 input-bandwidth 10cre

13、ate customer-profile v16 config customer-profile v16 vid 16config customer-profile v16 input-bandwidth 10create customer-profile v15 config customer-profile v15 vid 15config customer-profile v15 input-bandwidth 10create customer-profile v14 config customer-profile v14 vid 14config customer-profile v

14、14 input-bandwidth 10create customer-profile v13 config customer-profile v13 vid 13config customer-profile v13 input-bandwidth 10create customer-profile v12 config customer-profile v12 vid 12config customer-profile v12 input-bandwidth 10create customer-profile v11 config customer-profile v11 vid 11c

15、onfig customer-profile v11 input-bandwidth 102.3.6 配置下行流量的用户配置文件,将IP+MASK和用户的下行流量进行绑定create customer-profile t23 config customer-profile t23 dip 23.0.0.0/8config customer-profile t23 input-bandwidth 10create customer-profile t22 config customer-profile t22 dip 22.0.0.0/8config customer-profile t22 input-bandwidth 10create customer-profile t21 config customer-

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号