R211x-HP Flexfabric 11900 Network Management and Monitoring Configuration Guide

180
[DeviceB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 2
3. Configure Device C:
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port and assign it to VLAN 2.
<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 remote source group 1.
[DeviceC] mirroring-group 1 remote-destination
# Create VLAN 2.
[DeviceC] vlan 2
[DeviceC-vlan2] quit
# Configure VLAN 2 as the remote probe VLAN and Ten-GigabitEthernet 1/0/2 as the monitor
port for the remote source group, and configure Ten-GigabitEthernet 1/0/2 as an access port and
assign it to VLAN 2.
[DeviceC] mirroring-group 1 remote-probe vlan 2
[DeviceC] mirroring-group 1 monitor-port Ten-GigabitEthernet 1/0/2
[DeviceC] interface Ten-GigabitEthernet 1/0/2
[DeviceC-Ten-GigabitEthernet1/0/2] port access vlan 2
Verifying the configuration
# Verify that you can monitor packets from the 10.1.1.1/24 network segment on the data monitoring
device.