228
•
A port of an existing mirroring group cannot be configured as an egress port.
Configuring the egress port for a remote source group in system view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the egress port for
a remote source group.
mirroring-group group-id
monitor-egress interface-type
interface-number
By default, no egress port is
configured for a remote source
group.
Configuring the egress port for a remote source group in interface view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the port as the
egress port for a remote
source group.
mirroring-group group-id
monitor-egress
By default, a port does not act as
the egress port for any remote
source groups.
Configuring the remote probe VLAN for a remote source group
When you configure the remote probe VLAN for a remote source group, follow these restrictions and
guidelines:
•
Only an existing static VLAN can be configured as a remote probe VLAN.
•
When a VLAN is configured as a remote probe VLAN, use the remote probe VLAN for port
mirroring exclusively.
•
The remote mirroring groups on the source device and destination device must use the same
remote probe VLAN.
To configure the remote probe VLAN for a remote source group:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the remote probe
VLAN for a remote source
group.
mirroring-group group-id
remote-probe vlan vlan-id
By default, no remote probe VLAN
is configured for a remote source
group.
Configuring Layer 3 remote port mirroring
To configure Layer 3 remote port mirroring, perform the following tasks:
•
Create a local mirroring group on both the source device and the destination device.
•
Configure the monitor port and source ports or source CPUs for each mirroring group.
The source and destination devices are connected by a tunnel. If intermediate devices exist,
configure a unicast routing protocol on the intermediate devices to ensure Layer 3 reachability
between the source and destination devices.
On the source device, perform the following tasks:
•
Configure source ports or source CPUs you want to monitor.
•
Configure the tunnel interface as the monitor port.