Cisco 2960 Switch QoS policy

Source: Internet
Author: User

1. Start the QO on the switch S

MLS QoS

2. Defining access Control Lists

Access-list deny IP 192.168.0.0 0.0.255.255 192.168.0.0 0.0.255.255 #拒绝的网络段

Access-list deny IP 172.0.0.0 0.255.255.255 172.0.0.0 0.255.255.255 # denied network segment

Access-list deny IP 10.0.0.0 0.255.255.255 10.0.0.0 0.255.255.255 # denied network segment

Access-list deny IP host 192.168.1.1 # # rejected hosts

Access-list permit ip any 192.168.1.0 0.0.0.255 #下载的网段

Access-list Permit 192.168.1.0 0.0.0.255 #上传的网段

3. define the class and bind to the Access control list defined above

class-map down #定义下载的map

Match Access-group 100

class-map up #定义上传的map

Match Access-group 10

4. Define the policy, bind the defined class to the policy

Policy-map down

Class down

Trust DSCP

Police 5120K 8000 exceed-action Drop

Policy-map up

Class up

Trust DSCP

Police 5120K 8000 exceed-action Drop

5. Apply on the interface

interface G0/1 #出去的端口

service-policy input down

interface FA0/1 #交换机的接入层端口

service-policy input up









Cisco 2960 Switch QoS policy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.