Configuring Traffic Statistics
The traffic statistics action collects traffic statistics on packets matching traffic classification
rules.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
traffic behavior
behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3
Run:
statistic enable
The traffic statistics function is enabled.
NOTE
To collect statistics about packets matching a classifier, enable the traffic statistics function in the bound
traffic behavior view.
----End
Disabling MAC Address Learning
After MAC address learning is disabled, MAC addresses of the packets that match traffic
classification rules are not learned. This improves device efficiency and protects device security.
Context
When a network is running stably and the MAC address of packets is fixed, a device does not
need to learn MAC addresses of other packets. You can apply a traffic policy and disable MAC
address learning in all the traffic classifiers bound to the traffic policy. This saves MAC addresses
are saved and improves device performance.
Unauthorized users may change MAC addresses frequently to attack a network. To prevent MAC
address overflow and protect the network from such attacks, apply a traffic policy and disable
MAC address learning in all the traffic classifiers bound to the traffic policy.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
traffic behavior
behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3
Run:
S3700HI Ethernet Switches
Configuration Guide - QoS
1 Class-based QoS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
23