Operation Manual – Mirroring
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
Mirroring Configuration
1-17
Operation Command Description
Exit the current view
quit
—
Enter Ethernet port view of
the determined source
port
interface
interface-type
interface-number
—
Define the current port as
the source port and
specify the direction of the
packets to be mirrored
mirroring-port
{ inbound |
outbound | both }
Required
Display parameter
settings of the mirroring
display mirror
Optional
This command can be executed
in any view.
III. Configuration Example
z The source port is GigabitEthernet 1/1/1. Mirror all packets received and sent by
this port.
z The destination port is GigabitEthernet 1/1/4.
Configuration procedure:
<H3C> system-view
[H3C] interface gigabitEthernet 1/1/4
[H3C-GigabitEthernet1/1/4] monitor-port
[H3C-GigabitEthernet1/1/4] quit
[H3C] interface gigabitEthernet 1/1/1
[H3C-GigabitEthernet1/1/1] mirroring-port both
1.4.3 Displaying Mirroring Parameter Settings
After the above configuration, you can use the display command in any view to view
the mirroring running information, so as to verify the configurations you made..
Table 1-14 Display mirroring parameter settings
Operation Command Description
Display parameter
settings of a
mirroring group
display mirror
Display parameter
settings of traffic
mirroring
display qos-interface { interface-type
interface-number | unit-id } mirrored-to
This
command
can be
executed in
any view.