Configuring vlan mapping, Configuring queue scheduling, 25 configuring queue scheduling -25 – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 369

Advertising
background image

37-25

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 ACL in H3C WX3000 Series

Unified Switches Switching Engine Configuration Guide

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.

Configuration prerequisites

The algorithm for queue scheduling to be used and the related parameters are determined.

Configuration procedure

Follow these steps to configure SP queue scheduling algorithm:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure SP queue
scheduling algorithm

undo queue-scheduler

[ queue-id ]

&<1-8>

Optional
By default, SP queue scheduling
algorithm is adopted on all the output
queues of a port.

Follow these steps to configure SDWRR queue scheduling algorithm:

Advertising