Operation Manual – Mirroring
H3C S7500 Series Ethernet Switches
IV. Configuration Example
The source port is GigabitEthernet 2/0/1. Mirror all packets received and sent via
this port.
The destination port is GigabitEthernet 2/0/4.
1)
Configuration procedure 1:
<H3C> system-view
[H3C] mirroring-group 1 local
[H3C] interface GigabitEthernet 2/0/4
[H3C-GigabitEthernet2/0/4] mirroring-group 1 monitor-port
[H3C-GigabitEthernet2/0/4] quit
[H3C] interface GigabitEthernet 2/0/1
[H3C-GigabitEthernet2/0/1] mirroring-group 1 mirroring-port both
2)
Configuration procedure 2:
<H3C> system-view
[H3C] mirroring-group 1 local
[H3C] mirroring-group 1 monitor-port GigabitEthernet 2/0/4
[H3C] mirroring-group 1 mirroring-port GigabitEthernet 2/0/1 both
1.3.2 Configuring Remote Port Mirroring
I. Configuration prerequisites
The source switch, intermediate switch, and the destination switch have been
determined.
The source port, the reflector port, the destination port, and the remote-probe
VLAN have been determined.
Required configurations are performed to ensure Layer 2 connectivity between the
source and destination switches over the remote-probe VLAN.
The direction of the packets to be monitored has been determined.
The remote-probe VLAN is enabled.
II. Configuring remote port mirroring on the source switch
Enter system view
Create a VLAN and enter
its VLAN view
Define the current VLAN
as a remote-probe VLAN
Exit current view
To do...
system-view
vlan vlan-id
remote-probe vlan
enable
quit
Use the command...
1-7
Chapter 1 Mirroring Configuration
Remarks
—
vlan-id is the ID of the
destination remote-probe
VLAN.
Required
—