/*Checking the ACL configuration.*/
ZXR10(config)#show ipv4-access-lists name mirror1
ipv4-access-list mirror1
2/2 (showed/total)
10 permit icmp 192.168.101.1 0.0.0.0 192.168.210.1 0.0.0.0
20 permit ip any any
/*Checking the binding relationship of the ACL rule.*/
ZXR10(config)#show ipv4-access-groups
Interface name|vlan
-------------------------------------------------------
gei-0/1/1/1
gei-0/1/1/10
/*Checking the QoS configuration.*/
ZXR10(config-pm-qos)#show running-config pm-qos
!<QOS>
pm-qos
traffic-mirror in ipv4-access-list mirror1 rule-id 10 interface gei-0/1/1/2
!</QOS>
2.4.5 Configuring the Traffic Limit Based on the vlan
Configuration Description
As shown in
Internet through the 192.168.3.100 address. Network A is connected to vlan10, and
network B is connected to vlan20. It is required to restrict the upper-link traffic of network
A, and the down-link traffic of network B.
Figure 2-8 flow qos config Example Structure
Configuration Flow
1. Configure an ACL for traffic classification. Use the ipv4-mixed-access-list to match
the traffic of network A that accesses the Internet, and match the traffic sent from
192.168.3.100 to network B.
2. Bind the ACL rule to the ingress of gei-0/1/1/3, and to the egress of gei-0/1/1/21.
3. Configure the traffic limit.
SJ-20150114102049-008|2015-01-15 (R1.0)
Figure
2-8, S1 is connected with network A and network B. S1 accesses
Chapter 2 Flow QoS Configuration
Direction
ACL name
Ingress
mirror1
Egress
mirror1
2-25
ZTE Proprietary and Confidential