
169
Configuration restrictions and guidelines
When you configure local port mirroring with multiple monitor ports, follow these restrictions and
guidelines:
•
Configure an unused port on the device as the reflector port. Do not connect a network cable to
the reflector port.
•
When a port is configured as a reflector port, the port restores to the factory default settings. Do
not configure other features on the reflector port.
•
A mirroring group can contain multiple source ports.
•
For correct operation of port mirroring, do not assign a source port to the remote probe VLAN.
•
If you have configured a reflector port for a remote source group, do not configure an egress
port for it.
•
A VLAN can act as the remote probe VLAN for only one remote source group. As a best
practice, use the remote probe VLAN for port mirroring exclusively. Do not create a VLAN
interface or perform other configurations for the VLAN.
•
A remote probe VLAN must be a static VLAN. To delete this static VLAN, first remove the
remote probe VLAN configuration by using the
undo mirroring-group remote-probe vlan
command.
•
If the remote probe VLAN of a remote mirroring group is removed, the remote mirroring group
will become invalid.
Configuration procedure
To configure local port mirroring with multiple monitor ports:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a remote
source group.
mirroring-group group-id
remote-source
By default, no mirroring groups
exist on a device.
3.
Configure source ports
for the remote source
group.
•
In system view:
mirroring-group group-id
mirroring-port mirroring-port-list
{
both
|
inbound
|
outbound
}
•
In interface view:
a.
Enter interface view:
interface interface-type
interface-number
b.
Assign the port to the
mirroring group as a source
port:
mirroring-group group-id
mirroring-port
{
both
|
inbound
|
outbound
}
c.
Return to system view:
quit
By default, no source port is
configured for a mirroring group.
4.
Configure the reflector
port for the remote
source group.
mirroring-group group-id
reflector-port reflector-port
By default, no reflector port is
configured for a mirroring group.
5.
Create a VLAN to be
configured as the
remote probe VLAN.
vlan vlan-id
By default, only VLAN 1 (system
default VLAN) exists.
6.
Assign monitor ports to
the VLAN.
port interface-list
By default, all ports are in VLAN 1.
7.
Return to system view.
quit
N/A