Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 45

Advertising
background image

36

Configuration procedure

# Configure ACLs to permit the packets from Client A and Client B.

[AC] acl number 2001

[AC-acl-basic-2001] rule permit source 1.1.1.1 0

[AC-acl-basic-2001] quit

[AC] acl number 2002

[AC-acl-basic-2002] rule permit source 1.1.1.2 0

[AC-acl-basic-2002] quit

# Configure QoS policy qp to perform traffic policing for traffic from Client A and traffic from Client B,
respectively.

[AC] traffic classifier tc1

[AC-classifier-tc1] if-match acl 2001

[AC-classifier-tc1] quit

[AC]traffic behavior tb1

[AC-behavior-tb1] car cir 54 cbs 1875 ebs 0 green pass red remark-lp-pass 2

[AC behavior-tb1] quit

[AC] traffic classifier tc2

[AC-classifier-tc2] if-match acl 2002

[AC-classifier-tc2] quit

[AC]traffic behavior tb2

[AC-behavior-tb2] car cir 500 cbs 32000 ebs 0 green pass red discard

[AC behavior-tb2] quit

[AC] qos policy qp

[AC-qospolicy-qp] classifier tc1 behavior tb1

[AC-qospolicy-qp] classifier tc2 behavior tb2

[AC-qospolicy-qp] quit

# Apply QoS policy qp to the incoming traffic of interface WLAN-ESS 1.

[AC]interface WLAN-ESS 1

[AC-WLAN-ESS1]qos apply policy qp inbound

[AC-WLAN-ESS1]quit

# Configure QoS policy qp3 to perform traffic policing for the traffic from AC to the Internet.

[AC] traffic classifier tc3

[AC-classifier-tc3] if-match any

[AC-classifier-tc3] quit

[AC]traffic behavior tb3

[AC-behavior-tb3] car cir 1000 cbs 65000 ebs 0 green pass red discard

[AC behavior-tb3] quit

[AC] qos policy qp3

[AC-qospolicy-qp3] classifier tc3 behavior tb3

[AC-qospolicy-qp3] quit

# Apply QoS policy qp3 to the outgoing traffic of interface GigabitEthernet 1/0/2, through which the
AC is connected to the Internet.

[AC]interface GigabitEthernet1/0/2

[AC-GigabitEthernet1/0/2] qos apply policy qp3 outbound

[AC-GigabitEthernet1/0/2] quit

Advertising