beautypg.com

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

Page 172

background image

160

Traffic differentiation test configuration example

Network requirements

As shown in

Figure 82

, AC is connected to L2 switch. AP and AC are in the same network. Configure the

AC to map IP precedence 7 to local precedence 7, allowing such packets to occupy more bandwidth

when being transmitted on the wireless network.

Figure 82 Network diagram

Configuration procedure

# Configure a QoS policy named wmm.

system-view

# Create a class named wmm, and configure the class to match packets with IP precedence value 7.

[AC] traffic classifier wmm

[AC-classifier-wmm] if-match ip-precedence 7

[AC-classifier-wmm] quit

# Create a traffic behavior named wmm, and configure the traffic behavior to mark packets with local
precedence value 7.

[AC] traffic behavior wmm

[AC-behavior-wmm] remark local-precedence 7

[AC-behavior-wmm] quit

# Create a QoS policy named wmm, and associate class wmm with behavior wmm in the QoS policy.

[AC] qos policy wmm

[AC-qospolicy-wmm] classifier wmm behavior wmm

[AC-qospolicy-wmm] quit

# Apply QoS policy wmm to the incoming traffic of interface GigabitEthernet 1/0/1.

[AC] interface GigabitEthernet 1/0/1

[AC-GigabitEthernet1/0/1] qos apply policy wmm inbound

[AC-GigabitEthernet1/0/1] quit

# Create interface WLAN-ESS 1.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] quit

# Enter the specified priority mapping table view (optional, because the mapping table exists by
default.).

[AC] qos map-table lp-dot11e

# Create a clear-type WLAN service template, configure its SSID as market, and bind WLAN-ESS 1 to
the service template.

[AC] wlan service-template 1 clear

[AC-wlan-st-1] ssid market

[AC-wlan-st-1] bind WLAN-ESS 1

[AC-wlan-st-1] authentication-method open-system