beautypg.com

Primap configuration example, Network requirements, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 34

background image

27

[Device-maptbl-dot1p-lp] quit

Primap configuration example

Network requirements

As shown in

Figure 6

, Device A is connected through its GigabitEthernet 1/0/1 port to Device C. The

DSCP value of traffic sent out the port is 11. Device B is connected through its GigabitEthernet 1/0/2 port

to Device C. The DSCP value of traffic sent out the port is 13.
Configure priority mapping to satisfy requirements 1 as follows:

Mark packets from Device A with DSCP 50 and packets from Device B with DSCP 30.

When Ethernet 1/3 of Device C is congested, Device C schedules the packets according to their
priority prior to priority mapping, and allows Device B to preferentially access Server.

Configure priority mapping to satisfy requirements 2 as follows:

Mark packets from Device A with DSCP 50 and packets from Device B with DSCP 30.

When GigabitEthernet 1/0/3 of Device C is congested, Device C schedules the packets according
to their priority after priority mapping, and allows Device A to preferentially access Server.

Figure 6 Network diagram for primap configuration

Configuration procedure

1.

Configurations for requirements 1

# Configure the DSCP-to-DSCP mapping table.

system-view

[DeviceC] qos map-table dscp-dscp

[DeviceC-maptbl-dscp-dscp] import 11 export 50

[DeviceC-maptbl-dscp-dscp] import 13 export 30

[DeviceC-maptbl-dscp-dscp] quit

# Create basic ACL 2001, and configure a rule to match packets with source IP address 192.168.0.1.

[DeviceC] acl number 2001

[DeviceC-acl-basic-2001] rule permit source 192.168.0.1 0

[DeviceC-acl-basic-2001] quit

# Create basic ACL 2002, and configure a rule to match packets with source IP address 192.168.0.2.

[DeviceC] acl number 2002