[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

z

z

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

 

traffic-remark-vlanid inbound

Required

 

 

acl-rule remark-vlanvlan-id

By default, VLAN mapping is

 

mapping

 

 

untagged-packet

not configured.

 

 

 

 

 

 

 

 

Configuration example

z

z

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 Queue Scheduling for information about queue scheduling.

1-25

Page 386
Image 386
3Com WX3000 Configuring Vlan Mapping, Configuring Queue Scheduling, Traffic-remark-vlanid inbound, Untagged-packet