Configuration prerequisites
Before configuring Layer 3 remote port mirroring, create a GRE tunnel that connects the source and
destination devices.
Configuring local mirroring groups
Configure a local mirroring group on the source device and on the destination device separately.
To create a local mirroring group (on the source or destination device):
To do...
1.
Enter system view.
Create a local mirroring
2.
group.
Configuring mirroring ports for a local mirroring group
On the source device, configure the ports you want to monitor as the mirroring ports; on the destination
device, configure the physical port corresponding to the tunnel interface as the mirroring port.
You can configure a list of mirroring ports for a mirroring group at a time in system view, or assign only
the current port to it as a mirroring port in interface view. To assign multiple ports to the mirroring group
as mirroring ports in interface view, repeat the step.
Configuring mirroring ports in system view
To configure mirroring ports for a local mirroring group in system view:
To do...
1.
Enter system view.
2.
Configure mirroring ports for
a local mirroring group.
Configuring a mirroring port in interface view
To do...
1.
Enter system view.
2.
Enter interface view.
Configure the current port as
3.
a mirroring port.
NOTE:
A mirroring group can contain multiple mirroring ports.
Use the command...
system-view
mirroring-group group-id local
Use the command...
system-view
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
Use the command...
system-view
interface interface-type interface-
number
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
179
Remarks
—
Required.
By default, no mirroring
group exists.
Remarks
—
Required.
By default, no mirroring port is
configured for a mirroring group.
Remarks
—
—
Required.
By default, a port does not serve
as a mirroring port for any
mirroring group.