3Com Switch 7750 Configuration Guide Guide

652 CHAPTER 59: MIRRORING CONFIGURATION
n
To define a destination port for mirroring, you can also enter the port view of the
specified port directly to execute the mirroring-group group-id monitor-port
command. Refer to corresponding command manual for detail.
Configuration example
1 Network requirements:
GigabitEthernet 1/0/1 on the switch is connected to the 10.1.1.1/24 network
segment.
Mirror the packets from the 10.1.1.1/24 network segment to GigabitEthernet
1/0/4, the destination port.
2 Configuration procedure:
<SW7750> system-view
[SW7750] acl number 2000
[SW7750-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[SW7750-acl-basic-2000] quit
[SW7750] mirroring-group 3 local
[SW7750] mirroring-group 3 monitor-port GigabitEthernet 1/0/4
[SW7750] interface GigabitEthernet 1/0/1
[SW7750-GigabitEthernet1/0/1] mirrored-to inbound ip-group 2000
interface GigabitEthernet 1/0/4
Configuring Remote
Traffic Mirroring
Configuration prerequisites
ACLs for identifying traffics have been defined. For defining ACLs, refer to the
description on the ACL module in this manual.
The source switch, intermediate switch and the destination switch have been
specified.
The reflector port, destination port for mirroring, and remote-probe VLAN have
been specified.
Required configurations are performed to ensure Layer 2 connectivity between
the source and destination switches over the remote-probe VLAN.
The direction of traffic packets to be monitored has been determined.
The remote-probe VLAN has been enabled.
Configuring the source switch
Tabl e 518 Configure the source switch
Operation Command Description
Enter system view system-view -
Create a VLAN and enter the
VLAN view
vlan vlan-id
The vlan-id is the ID of the
remote-probe VLAN to be
defined.
Define the current VLAN as
the remote-probe VLAN
remote-probe vlan enable Required
Quit from the current view quit -
Enter port view of the relay
port connected with an
intermediate switch or a
destination switch
interface interface-type
interface-number
-