![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/6d/36db2b94-b5fe-4d9d-af19-800fbd7667e8/36db2b94-b5fe-4d9d-af19-800fbd7667e8-bg182.png)
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 VLAN Mapping for information about VLAN mapping.
Configuration prerequisites
z The ACL rules used for traffic classification are defined. Refer to the ACL module of this manual for
information about defining ACL rules.
z The VLAN ID to be marked is determined.
z 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
z GigabitEthernet 1/0/1 belongs to VLAN 2 and is connected to the 10.1.1.0/24 network segment.
z 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 Queue Scheduling for information about queue scheduling.