H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – Port Mirroring
H3C S7500E Series Ethernet Switches Chapter 1 Port Mirroring Configuration
1-9
Ethernet 2/0/2 to the port mirroring group as two source ports. Configure port
Ethernet 2/0/3 as the outbound mirroring port.
z Configure port Ethernet 2/0/3 of Switch A, port Ethernet 2/0/1 and Ethernet 2/0/2
of Switch B, and port Ethernet 2/0/1 of Switch C as trunk ports and configure them
to permit packets of VLAN 2.
z Create a remote destination mirroring group on Switch C. Configure VLAN 2 as
the remote port mirroring VLAN and port Ethernet 2/0/2, to which the data
monitoring device is connected, as the destination port.
II. Network diagram
Figure 1-4 Network diagram for remote port mirroring configuration
III. Configuration procedure
1) Configure Switch A.
# Create a remote source port mirroring group.
<SwitchA> system-view
[SwitchA] mirroring-group 1 remote-source
# Create VLAN 2.
[SwitchA] vlan 2
[SwitchA-vlan2] quit
# Configure VLAN 2 as the remote port mirroring VLAN of the remote port mirroring
group. Add port Ethernet 2/0/1 and Ethernet 2/0/2 to the remote port mirroring group as
source ports. Configure port Ethernet 2/0/3 as the outbound mirroring port.
[SwitchA] mirroring-group 1 remote-probe vlan 2
[SwitchA] mirroring-group 1 mirroring-port Ethernet 2/0/1 Ethernet 2/0/2
inbound
[SwitchA] mirroring-group 1 monitor-egress Ethernet 2/0/3
# Configure port Ethernet 2/0/3 as a trunk port and configure the port to permit the
packets of VLAN 2.
[SwitchA] interface Ethernet 2/0/3