3com WX3000 Benutzerhandbuch

Seite von 715
 
1-31 
Follow these steps to configure traffic mirroring for a port: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view of the 
destination port 
interface interface-type 
interface-number 
— 
Define the current port as the 
destination port 
monitor-port 
Required 
Exit current view  
quit 
— 
Enter Ethernet port view of 
traffic mirroring configuration  
interface interface-type 
interface-number 
— 
Reference ACLs for identifying 
traffic flows and perform traffic 
mirroring for packets that 
match. 
mirrored-to inbound acl-rule 
monitor-interface 
Required 
 
 
As the priority of traffic classification rules is higher than that of the default rules used for processing 
protocol packets, traffic mirroring on all the packets or packets of a VLAN may affect device 
management that is implemented through Telnet and so on 
 
Configuration example 
Network requirements: 
GigabitEthernet 1/0/1 is connected to the 10.1.1.0/24 network segment. 
Duplicate the packets from network segment 10.1.1.0/24 to the destination mirroring port 
GigabitEthernet 1/0/4. 
1) Method 
<device> system-view 
[device] acl number 2000 
[device-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255 
[device-acl-basic-2000] quit 
[device] interface GigabitEthernet 1/0/4 
[device-GigabitEthernet1/0/4] monitor-port 
[device-GigabitEthernet1/0/4] quit 
[device] interface GigabitEthernet 1/0/1 
[device-GigabitEthernet1/0/1] mirrored-to inbound ip-group 2000 monitor-interface 
2) Method 
II 
<device> system-view 
[device] acl number 2000 
[device-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255 
[device-acl-basic-2000] quit 
[device] interface GigabitEthernet 1/0/4 
[device-GigabitEthernet1/0/4] monitor-port 
[device-GigabitEthernet1/0/4] quit