
Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches
Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-52
Description
Using the
mirroring-port
command, you can configure a monitored port. Using the
undo mirroring-port
command, you can remove setting of monitored port.
You can indicate to monitor the packets of which direction in configuring monitored port.
The switch supports multiple-to-one mirroring. You need to configure monitor port
before configuring monitored port.
For the related command, see
display mirror
.
Example
# Configure the port Ethernet0/1 as a monitored port, monitoring packets of both
directions.
[Quidway] mirroring-port ethernet 0/1 both
2.3.20 monitor-port
Syntax
monitor-port
{
interface_name
|
interface_type interface_num
} {
inbound
|
outbound
|
both
}
undo monitor-port
{
interface_name
|
interface_type interface_num
} {
inbound
|
outbound
|
both
}
View
System view
Parameter
{
interface_name
|
interface_type interface_num
}: Port of the switch
inbound
|
outbound
|
both
: Indicates to monitor the packets of which direction.
Inbound
means to monitor inbound packets;
outbound
means to monitor outbound
packets;
both
means to monitor packets of both directions.
Description
Using the
monitor-port
command, you can configure a monitor port. Using the
undo
monitor-port
command, you can remove the setting of monitor port.
The switch supports multiple-to-one port mirroring, that is, duplicating the packets at
multiple ports to the monitor port. You can only specify one monitor port. You should
first remove the setting of all corresponding monitored ports before canceling the
configuration of the monitor port.
For the related command, see
display mirror
.