beautypg.com

H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 417

background image

41-9

[AC-classifier-c_market] if-match acl 3001

[AC-classifier-c_market] quit

# Configure traffic behavior b_ market to deny matching packets.

[AC] traffic behavior b_market

[AC-behavior-b_market] filter deny

[AC-behavior-b_market] quit

# Configure QoS policy p_rd to use traffic behavior b_rd for class c_rd.

[AC] qos policy p_rd

[AC-qospolicy-p_rd] classifier c_rd behavior b_rd

[AC-qospolicy-p_rd] quit

# Configure QoS policy p_market to use traffic behavior b_market for class c_market.

[AC] qos policy p_market

[AC-qospolicy-p_market] classifier c_market behavior b_market

[AC-qospolicy-p_market] quit

# Apply QoS policy p_rd to interface GigabitEthernet 0/0/2.

[AC] interface GigabitEthernet 0/0/2

[AC-GigabitEthernet0/0/2] qos apply policy p_rd inbound

[AC-GigabitEthernet0/0/2] quit

# Apply QoS policy p_market to interface GigabitEthernet 0/0/3.

[AC] interface GigabitEthernet 0/0/3

[AC-GigabitEthernet0/0/3] qos apply policy p_market inbound