R211x-HP Flexfabric 11900 Network Management and Monitoring Configuration Guide
168
[DeviceA] vlan 10
[DeviceA-vlan10] port ten-gigabitethernet 1/0/11 to ten-gigabitethernet 1/0/13
[DeviceA-vlan10] quit
# Configure VLAN 10 as the remote probe VLAN of remote source group 1.
[DeviceA] mirroring-group 1 remote-probe vlan 10
Layer 2 remote port mirroring configuration example
Network requirements
On the Layer 2 network shown in Figure 59, configure Layer 2 remote port mirroring to enable the server
to monitor the bidirectional traffic of the marketing department.
Figure 59 Network diagram
Configuration procedure
1. Configure Device C (the destination device):
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port to permit the packets of VLAN 2 to pass
through.
<DeviceC> system-view
[DeviceC] interface ten-gigabitethernet 1/0/1
[DeviceC-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceC-Ten-GigabitEthernet1/0/1] port trunk permit vlan 2
[DeviceC-Ten-GigabitEthernet1/0/1] quit
# Create a remote destination group.
[DeviceC] mirroring-group 2 remote-destination
# Create VLAN 2, which is to be configured as the remote probe VLAN.
[DeviceC] vlan 2
# Disable MAC address learning for VLAN 2.
[DeviceC-vlan2] undo mac-address mac-learning enable
[DeviceC-vlan2] quit
# Configure VLAN 2 as the remote probe VLAN of the mirroring group and Ten-GigabitEthernet
1/0/2 as the monitor port of the mirroring group, disable the spanning tree feature on
Ten-GigabitEthernet 1/0/2, and assign the port to VLAN 2 as an access port.
[DeviceC] mirroring-group 2 remote-probe vlan 2










