Licensing Requirements and Limitations for Traffic Policing, Traffic Shaping, and Interface-based Rate Limiting (CE12800)
Involved Network Elements
Other network elements are not required.
Licensing Requirements
Traffic policing, traffic shaping, and interface-based rate limiting are basic features of a switch and are not under license control.
Version Requirements
Product |
Minimum Version Required |
---|---|
CE12804/CE12808/CE12812 |
V100R001C00 |
CE12816 |
V100R003C00 |
CE12804S/CE12808S |
V100R005C00 |
For details about the mapping between software versions and switch models, see the Hardware Query Tool.
Software version evolution: V100R001C00 -> V100R002C00 -> V100R003C00 -> V100R003C10 -> V100R005C00 -> V100R005C10 -> V100R006C00 -> V200R001C00 -> V200R002C50 -> V200R003C00 -> V200R005C00 -> V200R005C10 -> V200R019C00 -> V200R019C10
Feature Limitations
- After traffic policing is configured, the device performs CAR for all packets, including both protocol packets and data packets.
The device applies CAR to interfaces of the same chip resource uniformly and applies CAR to interfaces on different chip resources separately. When the traffic policy containing traffic policing is applied to the Eth-Trunk, the system, or a VLAN, if interfaces of the object to which the traffic policy is applied belong to N chip resources, the actual rate limit is N times as large as the CAR value.
Assume that 10GE1/0/1 and 10GE1/0/2 belong to chip resource 0 and 10GE1/0/25 and 10GE1/0/26 belong to chip resource 1. If 10GE1/0/1, 10GE1/0/2, 10GE1/0/25, and 10GE1/0/26 join VLAN 10 and the traffic policy containing the rate limit of 1 Mbit/s is applied to VLAN 10, the rate limit of 10GE1/0/1 and 10GE1/0/2 is 1 Mbit/s and the rate limit of 10GE1/0/25 and 10GE1/0/26 is 1 Mbit/s. That is, the rate limit is 2 Mbit/s after the traffic policy is applied to VLAN 10.
Use the tool for querying relationships between ports and chip resources to query the relationship between ports and chip resources.
- For FD1, FG, FG1, SD, FD and FDA series cards: In color-aware mode, tokens are obtained from bucket P for red packets, and the CAR value range is as follows:
- Single-rate-two-bucket: 0 to CIR
- Two-rate-two-bucket: 0 to difference between the PIR and CIR
- On EA, EC, EC1, ED, EF, EG, and BA series cards, in color-blind mode, tokens are obtained from bucket C for red packets, and the CAR value is the same as the CIR.
Limitations on MQC-based traffic policing
- A traffic policy containing traffic policing can be applied only to a common physical interface in the outbound direction. A traffic policy containing traffic policing cannot be applied to the common physical interface that is added to an Eth-Trunk in the outbound direction.
- When traffic policing is defined in a traffic behavior, ensure that the following conditions are met: PBS > CBS = CIR/8 x Coefficient x 1000, where the coefficient is in the range from 1 to 1.5.
- 48GE cards do not support traffic policing for double-tagged packets that match Layer 3/4 fields in the outbound direction.
On cards except CE-L48GT and CE-L48GS series cards, when a traffic policy defining traffic policing is applied in the outbound direction, the following situations may occur:
If all physical interfaces to which the traffic policy is applied belong to the same forwarding chip, the maximum bandwidth is 100 Gbit/s.
On the CE-L24LQ-EA card, interfaces 0 to 5 belong to chip 0, interfaces 6 to 11 belong to chip 1, interfaces 12 to 17 belong to chip 2, and interfaces 18 to 23 belong to chip 3. When the traffic policy defining traffic policing is applied to four interfaces (for example, interfaces 0, 6, 12, and 18) in different chips in the outbound direction, the maximum bandwidth is 160 Gbit/s (4 x 40 Gbit/s). When the traffic policy defining traffic policing is applied to four interfaces (for example, interfaces 0 to 3) in the same chip in the outbound direction, the maximum bandwidth is 100 Gbit/s.
The card forwarding performance is reduced. The reduced performance depends on the number of interfaces to which the traffic policy is applied. More interfaces to which the traffic policy is applied indicate more reduced performance.
Assuming that the number of 10GE ports on a card is M and a traffic policy containing CAR or traffic statistics is applied to N interfaces in the outbound direction, the performance is reduced to (10 Gbit/s x M) x M/(M + N). For example, when a traffic policy containing CAR is applied to an interface on the 24*10GE card, the forwarding performance is reduced from 240 Gbit/s to 230.4 Gbit/s calculated using (10 Gbit/s x 24) x 24/(24 + 1). When a traffic policy containing CAR is applied to 24 interfaces, the forwarding performance is reduced to 120 Gbit/s.
- Outbound MQC-based traffic policing cannot be used with outbound interface-based rate limiting, queue-based traffic shaping, PFC, and ETS.
- When MQC-based traffic policing is configured in the outbound direction, if traffic exceeds the bandwidth of the outbound interface, the actual volume of forwarded traffic is lower than the interface bandwidth. In this case, ensure that the traffic is within the interface bandwidth.
- When both QoS CAR and MQC are used on an interface for traffic statistics collection, statistics about packets to which a QoS CAR profile is applied contain only the packets that do not match the traffic policy.
Limitations on hierarchical traffic policing
- A maximum of 512 QoS profiles can be created on the device.
- Hierarchical traffic policing supports only the single-rate-single-bucket mechanism, and cannot be applied to the outbound direction.
- Aggregated CAR in a traffic policy is performed only on an object to which the traffic policy is applied. For example, if the traffic policy p1 containing aggregated CAR is applied to interfaces 1 and 2, aggregated CAR is performed on interfaces 1 and 2 separately.
- If a QoS CAR profile and a traffic policy containing the traffic policing action are applied to the same interface, QoS CAR parameters defined in the QoS CAR profile do not take effect. This is because the traffic policy takes precedence over the QoS CAR profile.
- After a QoS CAR profile is applied to a tunnel interface:
- The display qos car statistics command cannot be used to view packet statistics.
- If ECMP load balancing is configured for multiple tunnels, the QoS CAR profile does not take effect.
Limitations on traffic shaping
- Traffic shaping can only be configured on an interface in the outbound direction.
- If both queue-based traffic shaping and outbound rate limiting are configured on an interface, the CIR of outbound rate limiting cannot be smaller than the sum of CIR values of all the queues on the interface; otherwise, traffic shaping may be abnormal. For example, a low-priority queue preempts the bandwidth of a high-priority queue.
- Traffic shaping increases the delay because it uses the buffer mechanism.
- If the CIR is specified during configuration of queue-based traffic shaping, the CIR is the minimum guaranteed bandwidth of the queue. Regardless of the scheduling mode of the port queue, packets are forwarded at the CIR, and the remaining bandwidth of each queue is allocated based on the scheduling mode.
Limitations on interface-based rate limiting
The rate limit of traffic on the management interface cannot be smaller than 100 pps; otherwise, FTP, Telnet, SFTP, STelnet, and SSH functions may be affected.