To do...
Configure the destination
port for the remote
destination mirroring group
Configure the remote-probe
VLAN for the remote
destination mirroring group
When configuring a destination switch, note that:
The destination port of remote port mirroring cannot be a member port of an existing
mirroring group, a member port of an aggregation group, or a port enabled with LACP
or STP.
Only an existing static VLAN can be configured as the remote-probe VLAN. To remove
a remote-probe VLAN, you need to restore it to a normal VLAN first. A remote port
mirroring group gets invalid if the corresponding remote port mirroring VLAN is
removed.
Displaying Port Mirroring
To do...
Display the information of a
mirroring group.
Mirroring Configuration Examples
Local Port Mirroring Configuration Example
Network requirements
The departments of a company connect to each other through Switch 4200G series:
Research and Development (R&D) department is connected to Switch C through
GigabitEthernet 1/0/1.
Marketing department is connected to Switch C through GigabitEthernet 1/0/2.
Data detection device is connected to Switch C through GigabitEthernet 1/0/3
The administrator wants to monitor the packets received on and sent from the R&D
department and the marketing department through the data detection device.
Use the local port mirroring function to meet the requirement. Perform the following
configurations on Switch C.
Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as mirroring source ports.
Configure GigabitEthernet 1/0/3 as the mirroring destination port.
Use the command...
mirroring-group group-id
monitor-port monitor-port
mirroring-group group-id
remote-probe vlan
remote-probe-vlan-id
Use the command...
display mirroring-group { group-id
| all | local | remote-destination |
remote-source }
1-8
Remarks
Required
Required
Remarks
Available in any
view