3Com Switch 7750 Configuration Guide Guide

644 CHAPTER 59: MIRRORING CONFIGURATION
Configuration Example
The source port is GigabitEthernet 1/0/1. Mirror all packets received and sent
via this port.
The destination port is GigabitEthernet 1/0/4.
1 Configuration procedure 1:
<SW7750> system-view
[SW7750] mirroring-group 1 local
[SW7750] interface GigabitEthernet 1/0/4
[SW7750-GigabitEthernet1/0/4] mirroring-group 1 monitor-port
[SW7750-GigabitEthernet1/0/4] quit
[SW7750] interface GigabitEthernet 1/0/1
[SW7750-GigabitEthernet1/0/1] mirroring-group 1 mirroring-port both
2 Configuration procedure 2:
<SW7750> system-view
[SW7750] mirroring-group 1 local
[SW7750] mirroring-group 1 monitor-port GigabitEthernet 1/0/4
[SW7750] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 both
Configuring RSPAN Configuration prerequisites
The source switch, intermediate switch, and the destination switch have been
determined.
The source port, the reflector port, the destination port, and the remote-probe
VLAN have been determined.
Required configurations are performed to ensure Layer 2 connectivity between
the source and destination switches over the remote-probe VLAN.
The direction of the packets to be monitored has been determined.
The remote-probe VLAN is enabled.
Configuring RSPAN on the source switch
Tabl e 512 Configure RSPAN on the source switch
Operation Command Description
Enter system view system-view -
Create a VLAN and enter its
VLAN view
vlan vlan-id
vlan-id is the ID of the
destination remote-probe
VLAN.
Define the current VLAN as a
remote-probe VLAN
remote-probe vlan enable Required
Exit current view quit -
Enter port view of the relay
port that connects to the
intermediate switch or
destination switch
interface interface-type
interface-number
-
Configure the current port as
a trunk port
port link-type trunk
Required
By default, the type of the
port is access.