#
return
1.6.4 Example for Configuring Traffic Statistics Based on Complex
Traffic Classification
After traffic statistics based on complex traffic classification is configured, the S7700 collect
traffic statistics on packets with the specified source MAC address.
Networking Requirements
PC1 with the MAC address as 0000-0000-0003 is connected to other devices through
GE1/0/1 on the Switch. It is required that the Switch should take the statistics on the packets
with the source MAC address as 0000-0000-0003. See Figure 1-4.
Figure 1-4 Networking diagram for configuring traffic statistics based on complex traffic
classification
Switch
Core
Network
PC1 Router
MAC:0000-0000-0003
GE2/0/1 GE3/0/1
VLANIF 20
20.20.20.1/24
20.20.20.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure interfaces so that the Switch is connected to PC1 and the router.
2. Create an ACL to match the packets with the source MAC address as 0000-0000-0003.
3. Create a traffic classifier to match the ACL.
4. Create a traffic behavior to take the statistics on the matching packets.
5. Create a traffic policy, bind the traffic classifier to the traffic behavior in the traffic policy,
and apply the traffic policy to GE1/0/1 in the inbound direction.
Data Preparation
To complete the configuration, you need the following data:
l VLAN 20
l ACL 4000
l Traffic classifier c1
l Traffic behavior b1
l Traffic policy p1
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
42