R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

124
# Create VLAN 2.
[RouterC] vlan 2
[RouterC-vlan2] quit
# Configure VLAN 2 as the remote probe VLAN, and configure GigabitEthernet 2/0/2 as the
monitor port in the mirroring group, disable the spanning tree feature on GigabitEthernet 2/0/2,
and assign the port to VLAN 2.
[RouterC] mirroring-group 1 remote-probe vlan 2
[RouterC] interface gigabitethernet 2/0/2
[RouterC-GigabitEthernet2/0/2] mirroring-group 1 monitor-port
[RouterC-GigabitEthernet2/0/2] undo stp enable
[RouterC-GigabitEthernet2/0/2] port access vlan 2
[RouterC-GigabitEthernet2/0/2] quit
Verifying the configuration
After the configurations are completed, you can monitor all packets received and sent by the marketing
department on the server.