1-9
The administrator wants to monitor the packets sent from Department 1 and 2 through the data
detection device.
Use the remote port mirroring function to meet the requirement. Perform the following configurations:
z
Use Switch A as the source switch, Switch B as the intermediate switch, and Switch C as the
destination switch.
z
On Switch A, create a remote source mirroring group, configure VLAN 10 as the remote-probe
VLAN, ports Ethernet 1/0/1 and Ethernet 1/0/2 as the source ports, and port Ethernet 1/0/4 as the
reflector port.
z
On Switch B, configure VLAN 10 as the remote-probe VLAN.
z
Configure Ethernet 1/0/3 of Switch A, Ethernet 1/0/1 and Ethernet 1/0/2 of Switch B, and Ethernet
1/0/1 of Switch C as trunk ports, allowing packets of VLAN 10 to pass.
z
On Switch C, create a remote destination mirroring group, configure VLAN 10 as the remote-probe
VLAN, and configure Ethernet 1/0/2 connected with the data detection device as the destination
port.
Network diagram
Figure 1-4
Network diagram for remote port mirroring
Configuration procedure
1) Configure the source switch (Switch A)
# Create remote source mirroring group 1.
<Sysname> system-view
[Sysname] mirroring-group 1 remote-source
# Configure VLAN 10 as the remote-probe VLAN.
[Sysname] vlan 10
[Sysname-vlan10] remote-probe vlan enable
[Sysname-vlan10] quit
# Configure the source ports, reflector port, and remote-probe VLAN for the remote source mirroring
group.
[Sysname] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 inbound
[Sysname] mirroring-group 1 reflector-port Ethernet 1/0/4
[Sysname] mirroring-group 1 remote-probe vlan 10
# Configure Ethernet 1/0/3 as trunk port, allowing packets of VLAN 10 to pass.
[Sysname] interface Ethernet 1/0/3