Cisco port 3560 speed limit Configuration

Source: Internet
Author: User

The cascade port of Port 1 connects to an eight-gigabit telecom line;
Ports 2, 3, 4, and 5 limit the maximum upstream and downstream bandwidth of each interface to 2 MB;
The detailed configuration is as follows:
Bytes ----------------------------------------------------------------------------------------
Class-map match-all user1-up
Match access-group 1
Class-map match-all user3-up
Match access-group 3
Class-map match-all user2-up
Match access-group 2
Class-map match-all user4-up
Match access-group 4
Class-map match-all user4-down
Match access-group 104
Class-map match-all user2-down
Match access-group 102
Class-map match-all user3-down
Match access-group 103
Class-map match-all user1-down
Match access-group 101
!
!
Policy-map user1-up
Class user1-up
Police 2000000 1000000 exceed-action drop
Trust dscp
Policy-map user3-up
Class user3-up
Police 2000000 1000000 exceed-action drop
Trust dscp
Policy-map user2-up
Class user2-up
Police 2000000 1000000 exceed-action drop
Trust dscp
Policy-map user4-up
Class user4-up
Police 2000000 1000000 exceed-action drop
Trust dscp
Policy-map user-down
Class user1-down
Police 2000000 1000000 exceed-action drop
Trust dscp
Class user2-down
Police 2000000 1000000 exceed-action drop
Trust dscp
Class user3-down
Police 2000000 1000000 exceed-action drop
Trust dscp
Class user4-down
Police 2000000 1000000 exceed-action drop
Trust dscp
!
Interface FastEthernet0/1
Spanning-tree bpdufilter enable
Service-policy input user-down
!
Interface FastEthernet0/2
Service-policy input user1-up
!
Interface FastEthernet0/3
Service-policy input user2-up
!
Interface FastEthernet0/4
Service-policy input user3-up
!
Interface FastEthernet0/5
Service-policy input user4-up
!
!
Access-list 1 permit *.*.*.*
Access-list 2 permit *.*.*.*
Access-list 3 permit *.*.*.*
Access-list 4 permit *.*.*.*
Access-list 101 permit ip any host *.*.*.*
Access-list 102 permit ip any host *.*.*.*
Access-list 103 permit ip any host *.*.*.*
Access-list 104 permit ip any host *.*.*.*
!
---------------------------------------------------------------------------------
This article is from the "IT life" blog

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.