3com WX3000 Manuel D’Utilisation

Page de 715
 
1-25 
[device-acl-basic-2000] quit 
[device] interface GigabitEthernet1/0/1 
[device-GigabitEthernet1/0/1] traffic-redirect inbound ip-group 2000 interface 
GigabitEthernet1/0/7 
2) Method 
II 
<device> system-view 
[device] acl number 2000 
[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255 
[device-acl-basic-2000] quit 
[device] traffic-redirect vlan 2 inbound ip-group 2000 interface GigabitEthernet1/0/7 
Configuring VLAN Mapping 
Refer to 
 for information about VLAN mapping. 
Configuration prerequisites 
The ACL rules used for traffic classification are defined. Refer to the ACL module of this manual for 
information about defining ACL rules. 
The VLAN ID to be marked is determined. 
The ports on which the configuration is to be performed are determined. 
Configuration procedure  
Follow these steps to configure VLAN mapping: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view 
interface interface-type 
interface-number 
— 
Configure VLAN 
mapping 
traffic-remark-vlanid inbound 
acl-rule remark-vlan vlan-id 
untagged-packet 
Required 
By default, VLAN mapping is 
not configured.  
 
Configuration example 
GigabitEthernet 1/0/1 belongs to VLAN 2 and is connected to the 10.1.1.0/24 network segment. 
Configure VLAN mapping for all the packets sourced from the 10.1.1.0/24 network segment to map 
the VLAN IDs of these packets to 1001. 
Configuration procedure : 
<device> system-view 
[device] acl number 2000 
[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255 
[device-acl-basic-2000] quit 
[device] interface GigabitEthernet 1/0/1 
[device-GigabitEthernet1/0/1] traffic-remark-vlanid inbound ip-group 2000 remark-vlan 1001 
Configuring Queue Scheduling 
Refer to 
 for information about queue scheduling.