Context
The traffic priority is only valid to permit rules of an ACL.
Procedure
Step 1
Run the
traffic-priority
command to add a priority tag to the traffic matching an ACL rule on
a specified port.
Step 2
Run the
display qos-info traffic-priority port
command to query the configured priority.
----End
Example
To add a priority tag to the traffic that matches ACL 2001 received on port 0/2/0, and the local
priority of the traffic is 0 , do as follows:
huawei(config)#
traffic-priority inbound ip-group 2001 local-precedence 0 port 0/2/0
huawei(config)#
display qos-info traffic-priority port 0/2/0
traffic-priority:
port 0/2/0:
Inbound:
Matches: Acl 2001 rule 5 running
Priority action: local-precedence 0
3.14.3.3 Enabling the Statistics Collection of the Traffic Matching an ACL Rule
This topic describes how to enable the statistics collection of the traffic matching an ACL rule,
thus analyzing and monitoring the traffic.
Prerequisite
The ACL and the rule of the ACL are configured, and the port for traffic statistics is working in
the normal state.
Context
The traffic statistics are only valid to permit rules of an ACL.
Procedure
Step 1
Run the
traffic-statistic
command to enable the statistics collection of the traffic matching an
ACL rule on a specified port.
Step 2
Run the
display qos-info traffic-mirror port
command to query the statistics information about
the traffic matching an ACL rule on a specified port.
----End
Example
To enable the statistics collection of the traffic that matches ACL 2001 received on port 0/0/1,
do as follows:
huawei(config)#
traffic-statistic inbound ip-group 2001 port 0/0/1
SmartAX MA5616 Multi-service Access Module
Configuration Guide
3 Basic Configuration
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
129