Command Manual – Mirroring
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Commands
Huawei Technologies Proprietary
1-14
Parameter
inbound
|
outbound
|
both
: Direction of mirrored packets.
inbound
: only mirrors the
packets received via the port;
outbound
:
only
mirrors the packets sent by the port;
both:
mirrors all packets received and sent by the port.
Description
Use the
mirroring-port
command to configure a source port.
Use the
undo mirroring-port
command to remove the configuration of a source port.
Related command:
display mirror
Example
# Configure GigabitEthernet1/1/1 as the source port and mirror all packets received
and sent via this port.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface GigabitEthernet1/1/1
[Quidway-GigabitEthernet1/1/1] mirroring-port both
1.2.5
monitor-port
Syntax
monitor-port
undo monitor-port
View
Ethernet port view
Parameter
None
Description
Use the
monitor-port
command to configure the destination port.
Use the
undo monitor-port
command to remove the configuration of the destination
port.
You can configure only one destination port on the switch; all mirrored packets will be
sent to the destination port.
Related command:
display mirror
Example
# Configure GigabitEthernet1/1/4 as the destination port.