1-22Configuration prerequisitesz The ACL rules used for traffic classification have been defined. Refer to the ACLmodule of this manual for information about defining ACL rules.z The ports on which the configuration is to be performed have been determined.z The VLAN ID to be set for the packets has been determined.Configuration procedureFollow these steps to configure VLAN mapping:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure VLAN mappingtraffic-remark-vlanidinbound acl-ruleremark-vlan remark-vlanidRequiredBy default, VLAN mappingis not configured.Configuration example# Configure a VLAN mapping on GigabitEthernet 1/0/1 to set the VLAN ID to 1001 forpackets matching Layer-2 ACL 4000. system-view[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] traffic-remark-vlanid inbound link-group 4000remark-vlan 1001Configuring Queue SchedulingRefer to section Queue Scheduling for information about queue scheduling.Configuration prerequisitesThe algorithm for queue scheduling to be used and the related parameters have beendetermined.Configuration procedureYou can configure queue scheduling in system view or in Ethernet port view.1) In system viewFollow these steps to configure queue scheduling in system view: