174
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 the specified
remote source group.
mirroring-group
group-id
monitor-egress
By default, a port does not act as
the egress port for any remote
source group.
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 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 the specified
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.
Displaying and maintaining port mirroring
Execute display commands in any view.
Task Command
Display mirroring group information.
display mirroring-group
{ group-id
|
all
|
local
|
remote-destination
|
remote-source
}
Port mirroring configuration examples
Local port mirroring configuration example
Network requirements
As shown in Figure 60, configure local port mirroring so the server can monitor the bidirectional traffic
of the Marketing department and the Technical department.