美丽的网站-英华家电维修论坛

标题: 基于端口限速的配置 [打印本页]

作者: erytyt536    时间: 2011-3-28 11:45
标题: 基于端口限速的配置
1 功能需求及组网说明端口限速配置『配置环境参数说明』交换机SwitchA有两个端口ethetnet 0/1、ethernet 0/2。『组网需求』1. 对进入ethetnet 0/1的流量做限速2. 对从ethernet 0/2出的流量做限制(流量的粒度与产品有关)2 数据配置步骤『端口限速配置流程』1. 目前低端交换机中只有S3X00E和S3050系列交换机支持端口限速2. S3X00E和S3050百兆口的粒度为1M,千兆口的粒度为8M【3526E配置方法】〖入流量限制〗1. 创建ACL[SwitchA]acl num 200[SwitchA-acl-link-200]rule 0 permit ingress any egress any2. 对从ethernet 0/1进入的流量做限制8M[SwitchA]inte***ce e0/1[SwitchA-Ethernet0/1]traffic-limit inbound link-group 200 8〖出流量限制〗1. 进入端口E0/2[SwitchA-Ethernet0/1]inte***ce e0/22. 对从ethernet 0/1出的流量做限制8M[SwitchA-Ethernet0/2]line-rate 8【6506配置方法】要求在入端口E3/0/1进行限速20M,出端口E3/0/2上限速20M1. 创建ACL[SwitchA]acl mode link-based [SwitchA]acl name acl1 link[SwitchA-acl-link-acl1]rule 0 permit ingress any egress any 〖入流量限制〗2. 进入端口E3/0/1[SwitchA]inte***ce Ethernet 3/0/13. 在入端口E3/0/1上下发[SwitchA-Ethernet3/0/1] traffic-limit inbound link acl1 rule 0 20480〖出流量限制〗4. 进入端口E3/0/2[SwitchA]inte***ce Ethernet 3/0/25. 在出端口上E3/0/2上下发[SwitchA-Ethernet3/0/2] traffic-limit inbound link acl1 rule 0 20480【5516配置方法】〖入流量限制〗1. 创建ACL[SwitchA]acl num 200[SwitchA-acl-link-200]rule permit ingress int e0/1 egress any[SwitchA]inte***ce eth 0/12. 对从ethernet 0/1进入的流量做限制1M[SwitchA-Ethernet0/1]traffic-limit link-group 200 1024〖出流量限制〗1. 创建ACL[SwitchA]acl num 200[SwitchA-acl-link-200]rule permit ingress any egress int e0/2[SwitchA]inte***ce eth 0/12. 对从ethernet 0/2出去的流量做限制 1M[SwitchA-Ethernet0/1]traffic-limit link-group 200 1024      1/2 12下一页尾页




欢迎光临 美丽的网站-英华家电维修论坛 (http://www.bsss.info/) Powered by Discuz! X3.2