How to configure rate limiting based on the time range on an AR

1

You can use an ACL to match data flows for which rate limiting is performed and set a time range.
1. Use a traffic policy for rate limiting.
2. Configure rate limiting on an interface.

Other related questions:
How to configure rate limiting in a traffic policy on an AR

1. Create a traffic classifier.
2. Creates a traffic behavior.
3. Creates a traffic policy.
4. Apply the traffic policy.
For example, you can configure rate limiting for the network segment 192.168.1.0 as follows:
#
acl number 3000 //Create ACL 3000 to match the network segment to which the rate of packets needs to be limited.
rule 5 permit ip source 192.168.1.0 0.0.0.255
#
traffic classifier c1 operator or //Configure the matching condition of the traffic classifier to ACL 3000.
if-match acl 3000
#
traffic behavior b1 //Configure the action of the traffic behavior to rate limiting: Set the CIR to 384 kbit/s and the PIR to 768 kbit/s, permit green packets to be sent, forward yellow packets after marking the DSCP priority of yellow packets as 0, and discard red packets.
car cir 384 pir 768 cbs 48000 pbs 96000 mode color-blind green pass yellow pass remark-dscp default red discard
#
traffic policy test //Create a traffic policy and bind it to the traffic classifier and traffic behavior.
classifier c1 behavior b1
#
interface GigabitEthernet0/0/0
ip address 192.168.1.254 255.255.255.0
traffic-policy test inbound //Apply the traffic policy test to the inbound direction of an intranet interface.
#
return

How to configure an AR to limit the rate of traffic based on MAC addresses
You can configure a traffic policy to limit the rate of traffic based on MAC addresses as follows: # traffic classifier mac1 operator and if-match source-mac 0015-c50d-0001 //Configure a matching rule based on the source MAC address 0015-c50d-0001 in the traffic classifier mac1. traffic classifier mac2 operator and if-match source-mac 0015-c50d-0002 //Configure a matching rule based on the source MAC address 0015-c50d-0002 in the traffic classifier mac2. traffic classifier mac3 operator and if-match source-mac 0015-c50d-0003 //Configure a matching rule based on the source MAC address 0015-c50d-0003 in the traffic classifier mac3. # traffic behavior d1 car cir 3000 cbs 564000 pbs 939000 mode color-blind green pass yellow pass red discard //Create the traffic behavior d1 and configure the rate limit to 3000 kbit/s. # traffic policy myqos //Configure the traffic policy myqos. classifier mac1 behavior d1 //Bind the traffic classifier mac1 to the traffic behavior d1. classifier mac2 behavior d1 //Bind the traffic classifier mac2 to the traffic behavior d1. classifier mac3 behavior d1 //Bind the traffic classifier mac3 to the traffic behavior d1. # interface GigabitEthernet 0/0/0 ip address 10.1.1.1 255.255.255.0 traffic-policy myqos inbound //Apply the traffic policy myqos to the inbound interface. #

How to configure rate limiting based on the SAC signature database on an AR?
The SAC signature database contains thousands of application protocols. An SAC traffic classifier defines the rule for matching packets. Users configure different SAC traffic classifiers to classify packets, and limit the rate of traffic in the traffic behavior. The traffic policy then can be applied in the inbound or outbound direction on the interface.

Do S series switches support time-based rate limiting on interfaces
S series switches (except S1700 switches) do not support time-based rate limiting on their interfaces. You can configure traffic policing using ACLs and traffic policies for rate limiting in a specified time range. For a configuration example, see "Example for Configuring Rate Limiting in a Specified Time Range" in How to configure interface-based rate limiting through the web platform on the AR
1. Choose QoS > Interface Rate Limit to access the Interface Rate Limit page. 2. Click Create in the Interface Rate Limit List toolbar. 3. On the Create Interface Rate Limit page, select or enter parameters based on requirements. 4. Click OK to save the parameter settings. To delete interface-based rate limiting, perform the following operations: 1. Choose QoS > Interface Rate Limit to access the Interface Rate Limit page. 2. In the Interface Rate Limit List toolbar, select the interface where the rate limtiing configuration needs to be deleted and click Delete. 3. In the displayed dialog box, click OK.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top