1-24
Configuring VLAN Mapping
Refer to section VLAN Mapping for information about VLAN mapping.
Configuration prerequisites
z The ACL rules used for traffic classification have been defined. Refer to the ACL
module 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 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
remark-vlanid
Required
By default, VLAN mapping
is not configured.
Configuring Queue Scheduling
Refer to section Queue Scheduling for information about queue scheduling.
Configuration prerequisites
The algorithm for queue scheduling to be used and the related parameters have been
determined.
Configuration procedure
Follow these steps to configure queue scheduling in system view:
To do… Use the command… Remarks
Enter system view
system-view
—
Configure queue
scheduling
queue-scheduler { strict-priority |
wfq queue0-width queue1-width
queue2-width queue3-width
queue4-width queue5-width
queue6-width queue7-width | wrr
queue0-weight queue1-weight
queue2-weight queue3-weight
queue4-weight queue5-weight
queue6-weight queue7-weight }
Required
By default, the queue
scheduling algorithm
adopted on all the ports is
WRR. The default weights
of the eight output queues
of a port are 1, 2, 3, 4, 5, 9,
13, and 15 (in the order
queue 0 through queue 7).
Follow these steps to configure queue scheduling in Ethernet port view: