225
Configuring the remote probe VLAN for a remote destination group
When you configure the remote probe VLAN for a remote destination 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.
•
Configure the same remote probe VLAN for the remote groups on the source and destination
devices.
To configure the remote probe VLAN for a remote destination group:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the remote probe
VLAN for a remote
destination group.
mirroring-group group-id
remote-probe vlan vlan-id
By default, no remote probe VLAN
is configured for a remote
destination group.
Assigning the monitor port to the remote probe VLAN
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter the interface view of
the monitor port.
interface interface-type
interface-number
N/A
3.
Assign the port to the
remote probe VLAN.
•
For an access port:
port access vlan vlan-id
•
For a trunk port:
port trunk permit vlan
vlan-id
•
For a hybrid port:
port hybrid
vlan
vlan-id
{
tagged
|
untagged
}
For more information about the
port access vlan
,
port trunk
permit vlan
, and
port hybrid
vlan
commands, see
Layer
2—LAN Switching Command
Reference
.
Configuring a remote source group on the source device
Creating a remote source group
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 remote source
group exists on a device.
Configuring source ports for a remote source group
To configure source ports for a mirroring group, use one of the following methods:
•
Assign a list of source ports to the mirroring group in system view.
•
Assign a port to the mirroring group as a source port in interface view.
To assign multiple ports to the mirroring group as source ports in interface view, repeat the
operation.
When you configure source ports for a remote source group, follow these restrictions and guidelines: