3com S7906E Instruccion De Instalación

Descargar
Página de 2621
 
2-4 
[Sysname] traffic classfier 1 
[Sysname-classifier-1] if-match acl 2000 
[Sysname-classifier-1] quit 
# Create traffic behavior 1 and configure the action of mirroring traffic to GigabitEthernet 2/0/2 for the 
traffic behavior.  
[Sysname] traffic behavior 1 
[Sysname-behavior-1] mirror-to interface GigabitEthernet 2/0/2 
[Sysname-behavior-1] quit 
# Create QoS policy 1 and associate traffic behavior 1 with class 1 in the QoS policy.  
[Sysname] qos policy 1 
[Sysname-policy-1] classifier 1 behavior 1 
[Sysname-policy-1] quit 
# Apply QoS policy 1 to the inbound direction of GigabitEthernet 2/0/1.  
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] qos apply policy 1 inbound 
After the configurations, you can monitor all packets from Host A on the data monitoring device. 
Remote Traffic Mirroring Configuration Example 
Network requirements 
As shown in 
, the customer network is as described below:  
GigabitEthernet 2/0/2 of Switch A is connected to the 10.1.1.1/24 network segment.  
GigabitEthernet 2/0/2 of Switch C is connected to the data monitoring device.  
Switch B connects Switch A and Switch C, as shown in 
.  
Configure remote traffic mirroring to mirror the packets which are from the 10.1.1.1/24 network segment 
and received on GigabitEthernet 2/0/2 of Switch A to the data monitoring device.  
Figure 2-2 Network diagram for remote traffic mirroring configuration 
 
 
Configuration procedure 
Configuration on Switch A 
# Configure basic IPv4 ACL 2000 to match packets from the 10.1.1.1/24 network segment.  
<SwitchA> system-view 
[SwitchA] acl number 2000 
[SwitchA-acl-basic-2000] rule permit source 10.1.1.1 255.255.255.0