3com WX3000 Manuel D’Utilisation

Page de 715
 
1-8 
Configuration prerequisites 
The MAC address to be matched is determined. 
The destination port is determined. 
Configuration procedure 
Follow these steps to configure MAC-based mirroring: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Create a local or remote source 
mirroring group 
mirroring-group group-id 
{ local | remote-source } 
Required 
Configuring MAC-Based 
Mirroring 
mirroring-group group-id 
mirroring-mac mac vlan 
vlan-id
 
Required 
Configure the destination port 
for the mirroring group 
mirroring-group group-id 
monitor-port 
monitor-port-id 
Required 
Note that you need not 
configure the destination port 
on the source switch when 
configuring MAC-based remote 
mirroring. 
 
Configuration example 
Configure MAC-based mirroring to mirror packets whose source/destination MAC addresses match 
000f-e20f-0101 to port GigabitEthernet 1/0/2 on the local device. 
Configuration procedure: 
<device> system-view 
[device] mac-address static 000f-e20f-0101 interface Gigabitethernet 1/0/1 vlan 2 
[device] mirroring-group 1 local 
[device] mirroring-group 1 mirroring-mac 000f-e20f-0101 vlan 2 
[device] mirroring-group 1 monitor-port GigabitEthernet 1/0/2 
Configuring VLAN-Based Mirroring 
 
 
You can configure VLAN-based mirroring for a remote source mirroring group to implement the 
VLAN-based remote mirroring function. 
 
Configuration prerequisites 
The VLAN to be monitored is determined. 
The destination port is determined.