Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to configure rate limiting based on vlan on Ruijie Switch? Reply

GTAC-Sophia

Level 5

Ruijie Staff

How to configure rate limiting based on vlan on Ruijie Switch?
1446 0 2023-7-11 17:26:38
Original
You can configure QOS to implement rate limiting for users on different network segments based on specific packet flows as follows:

1. Use ACL to classify traffic
Ruijie>en
Ruijie#config ter
Ruijie(config)#access-list 100 permit ip192.168.1.0 0.0.0.255 any ------> Define the data flows on network segmentcompany a. If you want to match all the traffic, you can set it to permit ipany any
Ruijie(config)# class-map companya
Ruijie(config-cmap)# match access-group 100
Ruijie(config-cmap)#exit
Ruijie(config)# policy-map companya
Ruijie(config-pmap)#class companya
Ruijie(config-pmap-c)#police 10000 1024exceed-action drop
Ruijie(config-pmap-c)#exit
Ruijie(config-pmap)#exit
Ruijie(config)# interface gigabitEthernet 1/1
Ruijie(config-if-GigabitEthernet1/1)#service-policy input companya


2. Configure rate-limit to limit the rate of traffic on the port
Ruijie(config)#interface gigabitEthernet 1/1------> Enter the interface
Ruijie(config-if-GigabitEthernet 1/1)#rate-limitinput 10000 1024
Ruijie(config-if-GigabitEthernet 1/1)#rate-limitoutput 10000 1024
Ruijie(config)#interface gigabitEthernet 1/2------> Enter the interface
Ruijie(config-if-GigabitEthernet 1/2)#rate-limitinput 8000 1024
Ruijie(config-if-GigabitEthernet 1/2)#rate-limitoutput 8000 1024
Ruijie(config)#interface gigabitEthernet 1/3------> Enter the interface
Ruijie(config-if-GigabitEthernet 1/3)#rate-limitoutput 20000 2048
Ruijie(config-if-GigabitEthernet 1/3)#rate-limitoutput 20000 2048
RG-S5300-24GT4XS-E

Switch
There are no replies.
Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd