Operation Manual - QoS/ACL
Quidway S3000-EI Series Ethernet Switches
Chapter 2 QoS Configuration
Huawei Technologies Proprietary
2-10
For details about the command, refer to the
Command Manual
.
2.2.8 Configuring Traffic Mirroring
The function of Traffic mirroring is to copy the traffic matching ACL rule to the
designated observing port to analyze and monitor the packets.
You can use the following command to configure the traffic mirroring.
Perform the following configuration in system view.
Table 2-13
Configuring traffic mirroring
Operation
Command
Configure traffic
mirroring
mirrored-to
{
user-group acl-number | acl-name
[
rule rule
]
|
{
ip-group
{
acl-number
|
acl-name
} [
rule
rule
] |
link-group
{
acl-number
|
acl-name
} [
rule
rule
] }* }
interface
{
interface-name
|
interface-type interface-num
}
Cancel the
configuration of
traffic mirroring
undo mirrored-to
{
user-group acl-number | acl-name
[
rule
rule
]
|
{
ip-group
{
acl-number
|
acl-name
} [
rule
rule
] |
link-group
{
acl-number
|
acl-name
} [
rule
rule
] }* }
For details about the command, refer to the
Command Manual
.
2.2.9 Configuring Traffic Statistics
The traffic statistics function is used for counting the data packets of the specified traffic,
that is, this function counts the transmitted data which matches the ACL rules. After the
traffic statistics function is configured, the user can use
display qos-global
traffic-statistic
command to display the statistics information.
You can use the following command to configure traffic statistics.
Perform the following configuration in system view.
Table 2-14
Configuring traffic statistics
Operation
Command
Configure traffic
statistics
traffic-statistic
{
user-group
{
acl-number
|
acl-name
} [
rule
rule
] | {
ip-group
{
acl-number
|
acl-name
} [
rule
rule
] |
link-group
{
acl-number
|
acl-name
} [
rule
rule
] }* }
Cancel the
configuration of
traffic statistics
undo traffic-statistic
{
user-group
{
acl-number
|
acl-name
}
[
rule
rule
] | {
ip-group
{
acl-number
|
acl-name
} [
rule
rule
] |
link-group
{
acl-number
|
acl-name
} [
rule
rule
] }* }
Display the
statistics
information
display qos-global traffic-statistic
For details about the command, refer to the
Command Manual
.