Displaying and Maintaining Port Mirroring 899
Configuring a Remote
Destination Port
Mirroring Group
Follow these steps to configure a remote destination port mirroring group:
n
■ The remote destination mirroring port cannot be a member port of the current
mirroring group.
■ The remote destination mirroring port can be an access, trunk, or hybrid port.
It must be assigned to the remote mirroring VLAN.
■ Do not enable STP, RSTP or MSTP on the remote destination mirroring port.
Otherwise, the mirroring function may be affected.
■ Do not use the remote destination mirroring port for any purpose other than
port mirroring.
■ Only existing static VLANs can be configured as remote port mirroring VLANs.
To remove a VLAN operating as a remote port mirroring 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.
■ Use a remote port mirroring VLAN for remote port mirroring only.
■ A port can belong to only one port mirroring group. A VLAN can be the remote
port mirroring VLAN of only one port mirroring group.
Displaying and
Maintaining Port
Mirroring
To do… Use the command… Remarks
Enter system view system-view -
Create a remote destination port
mirroring group
mirroring-group
group-id
remote-destination
Required
Configure the remote port mirroring
VLAN for the port mirroring group
mirroring-group
group-id remote-probe
vlan rprobe-vlan-id
Required
Add a port to
the port
mirroring group
as the
destination port
In system view mirroring-group
group-id monitor-port
monitor-port-id
Use either approach.
You can add a port to a
remote port mirroring
group as the destination
port in either system view
or interface view. They
achieve the same
purpose.
In interface view interface interface-type
interface-number
[ mirroring-group
group-id ] monitor-port
quit
Enter destination interface view interface interface-type
interface-number
-
Add the port to
the remote port
mirroring VLAN
The port is an access
port
port access vlan
rprobe-vlan-id
Perform one of these
three operations
according to the port
type.
The port is a trunk
port
port trunk permit vlan
rprobe-vlan-id
The port is a hybrid
port
port hybrid vlan
rprobe-vlan-id { tagged |
untagged }
To do… Use the command… Remarks
Display the configuration of a
port mirroring group
display mirroring-group
{ group-id | all | local |
remote-destination |
remote-source }
Available in any view