When you remove the configuration of a remote probe VLAN, an active mirroring group
becomes inactive.
Configuration procedure:
2.
Step
1.
Enter system view.
2.
Configure the
remote probe
VLAN.
Assigning the monitor port to the remote probe VLAN
Step
1.
Enter system view.
Enter the interface view of the monitor
2.
port.
3.
Assign the port to the probe VLAN.
For more information about the port access vlan, port trunk permit vlan, and port hybrid vlan commands,
see Layer 2—LAN Switching Command Reference.
Displaying and maintaining port mirroring
Task
Display the configuration of
mirroring groups.
Port mirroring configuration examples
Local port mirroring configuration example
Network requirements
On the network shown in
Device A connects to the marketing department through GigabitEthernet 1/0/1 and to the
•
technical department through GigabitEthernet 1/0/2. It connects to the server through
GigabitEthernet 1/0/3.
Command
system-view
mirroring-group group-id
remote-probe vlan rprobe-vlan-id
Command
system-view
interface interface-type interface-number
•
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 }
Command
display mirroring-group { group-id | all | local |
remote-destination | remote-source } [ | { begin |
exclude | include } regular-expression ]
Figure
33:
85
Remarks
N/A
By default, no remote probe VLAN is
configured for a remote destination
group.
Remarks
N/A
N/A
Use one of the
commands.
Remarks
Available in any view