Cisco switch Speed limit

Source: Internet
Author: User
Tags cisco switch

Restricting Server Downloads:

Speed 10

Srr-queue Bandwidth Limit 50 (at this time the server download is limited to 10M 50 that is 5M)


Speed 100

Srr-queue Bandwidth Limit 50 (at this time the server download is limited to 100M 50 that is 50M)

Obviously this speed limit download command is in line with the port protocol in use







Limit server uploads: (If you want to limit upload download to 10M, direct speed 10 OK)


1. Start QoS on the switch

MLS QoS

To start QoS on the switch


2. Define classes, create a class that matches all traffic

Class-map Match-all Ipclass


Class that defines the upstream of the SV1 and binds all IP traffic

Match IP DSCP default

Exit


3, define the policy, bind the class defined above to the policy

10M

Policy-map xiansu_up-10m

Class Ipclass

Police 10000000 1000000 exceed-action drop

Exit

Exit

Define the PC1 upstream at a rate of 10M, exceeding the drop


20M:

Policy-map xiansu_up-20m

Class Ipclass

Police 20000000 1000000 exceed-action drop

Exit

Exit

Define the PC1 upstream at a rate of 20M, exceeding the drop

30M:

Policy-map xiansu_up-30m

Class Ipclass

Police 30000000 1000000 exceed-action drop

Exit

Exit

Define the PC1 upstream at a rate of 30M, exceeding the drop

50M:

Policy-map xiansu_up-50m

Class Ipclass

Police 50000000 1000000 exceed-action drop

Exit

Exit

Define the PC1 upstream at a rate of 50M, exceeding the drop


4. Apply the strategy on the interface

Interface GIGABITETHERNET0/9

Service-policy input xiansu_up-10m

Exit

Exit

wr


This article from "11393002" blog, declined reprint!

Cisco switch Speed limit

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.