Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 45
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
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points