3com WX3000 Manuel D’Utilisation

Page de 715
 
1-24 
Follow these steps to redirect packets that are of a VLAN and match specific ACL rules: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Configure traffic redirecting 
traffic-redirect vlan vlan-id inbound acl-rule 
interface interface-type interface-number 
Required 
 
Follow these steps to redirect packets that are of a port group and match specific ACL rules: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter port group view 
port-group group-id 
— 
Configure traffic redirecting 
traffic-redirect inbound acl-rule interface 
interface-type interface-number 
Required 
 
Follow these steps to redirect packets passing a port and matching specific ACL rules: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view 
interface interface-type interface-number 
— 
Configure traffic redirecting 
traffic-redirect inbound acl-rule interface 
interface-type interface-number 
Required 
 
 
If the traffic is redirected to a Combo port in down state, the system automatically redirects the traffic to 
the port corresponding to the Combo port in up state. Refer to the Port Basic Configuration module of 
this manual for information about Combo ports.  
 
 
As the priority of traffic classification rules is higher than that of the default rules used for processing 
protocol packets, redirecting all the packets or packets of a VLAN may affect device management that 
is implemented through Telnet and so on. 
 
Configuration example 
GigabitEthernet 1/0/1 belongs to VLAN 2 and is connected to the 10.1.1.0/24 network segment. 
Redirect all the packets from the 10.1.1.0/24 network segment to GigabitEthernet 1/0/7. 
1) Method 
<device> system-view 
[device] acl number 2000 
[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255