[huawei]wlan
[huawei-wlan-view]radio-2g-profile name r2
[huawei-wlan-radio-2g-prof-r2]undo wmm disable //使能WMM功能,缺省使能
[huawei-wlan-radio-2g-prof-r2]wmm mandatory enable //禁止不支持WMM功能的STA连接到已使能WMM功能的AP上
[huawei-wlan-radio-2g-prof-r2]wmm edca-ap ac-be aifsn 1 //配置AP上的EDCA参数
[huawei-wlan-radio-2g-prof-r2]wmm edca-ap ac-vo ecw ecwmin 1 ecwmax 1
[huawei-wlan-radio-2g-prof-r2]wmm edca-ap ac-vi txoplimit 1
[huawei-wlan-radio-2g-prof-r2]wmm edca-ap ac-bk ack-policy normal //配置AP上的ACK策略
[huawei-wlan-view]ssid-profile name s1
[huawei-wlan-ssid-prof-s1]wmm edca-client ac-be aifsn 1 //配置STA上的EDCA参数
[huawei-wlan-view]traffic-profile name t1 //创建流量模板并进入流量模板视图,缺省系统存在名为“default”的流量模板
[huawei-wlan-traffic-prof-t1]priority-map downstream trust dot1p //配置网络上数据下行至AP时,802.3报文到802.11报文的映射方式,缺省为DSCP
[huawei-wlan-traffic-prof-t1]priority-map downstream trust dscp
[huawei-wlan-traffic-prof-t1]priority-map downstream dscp 1 to 2 dot11e 1 //配置网络上数据下行至AP时,802.3报文的DSCP优先级到802.11报文的UP优先级的映射关系
[huawei-wlan-traffic-prof-t1]priority-map downstream dot1p 1 to 2 dot11e 1 //配置网络上数据下行至AP时,802.3报文的802.1p优先级到802.11报文的UP优先级的映射关系
[huawei-wlan-traffic-prof-t1]priority-map tunnel-upstream trust dot11e //配置AP上数据上行至AC时,802.11报文到隧道报文的映射方式,缺省为802.11e
[huawei-wlan-traffic-prof-t1]priority-map tunnel-upstream trust dscp
[huawei-wlan-traffic-prof-t1]priority-map tunnel-upstream dot11e 1 to 2 dscp 1 //配置AP上数据上行至AC时,802.11报文的UP优先级到隧道报文的DSCP优先级的映射关系
[huawei-wlan-traffic-prof-t1]priority-map tunnel-upstream dot11e 1 to 2 dot1p 1 //配置AP上数据上行至AC时,802.11报文的UP优先级到隧道报文的802.1p优先级的映射关系
[huawei-wlan-traffic-prof-t1]priority-map tunnel-upstream dscp 1 to 2 tunnel-dscp 1 //配置AP上数据上行至AC时,802.11报文的DSCP优先级到隧道报文的DSCP优先级的映射关系
[huawei-wlan-traffic-prof-t1]priority-map tunnel-upstream dscp 1 to 2 dot1p 1 //配置AP上数据上行至AC时,802.11报文的DSCP优先级到隧道报文的802.1p优先级的映射关系
[huawei-wlan-view]vap-profile name v1
[huawei-wlan-vap-prof-v1]traffic-profile t1 //在VAP模板中引用流量模板
[huawei]display traffic-profile all //查看流量模板中关于优先级映射的配置信息
[huawei-wlan-view]traffic-profile name t1 //创建流量模板并进入流量模板视图
[huawei-wlan-traffic-prof-t1]rate-limit client up 64 //配置VAP内所有STA或每个STA上下行报文的限制速率, 缺省为4294967295Kbps
[huawei-wlan-traffic-prof-t1]rate-limit client down 64
[huawei-wlan-traffic-prof-t1]rate-limit vap up 64
[huawei-wlan-traffic-prof-t1]rate-limit vap down 64
[huawei-wlan-view]ssid-profile name s1 //进入SSID模板视图
[huawei-wlan-ssid-prof-s1]qos car inbound cir 64 //配置QoS CAR参数
[huawei-wlan-view]rrm-profile name r1 //创建RRM模板并进入RRM模板视图
[huawei-wlan-rrm-prof-r1]airtime-fair-schedule enable //使能AP射频的Airtime调度功能
[huawei-wlan-view]radio-2g-profile name r1
[huawei-wlan-radio-2g-prof-r1]rrm-profile r1 //将RRM模板绑定到2G射频模板
[huawei-wlan-view]traffic-profile name t1 //创建流量模板并进入流量模板视图
[huawei-wlan-traffic-prof-t1]traffic-filter inbound ipv4 acl 3000 //在流量模板下配置基于ACL的报文过滤
[huawei-wlan-traffic-prof-t1]traffic-filter outbound ipv4 acl 3000
[huawei-wlan-traffic-prof-t1]traffic-remark inbound ipv4 acl 3000 dot11e 1 //在流量模板下配置基于ACL的报文重标记
[huawei-wlan-traffic-prof-t1]traffic-remark inbound ipv4 acl 3000 dscp 1
[huawei-wlan-traffic-prof-t1]traffic-remark outbound ipv4 acl 3000 dscp 1
[huawei-wlan-traffic-prof-t1]traffic-remark outbound ipv4 acl 3000 dot11e 1
[huawei-wlan-traffic-prof-t1]user-isolate l2 //使能流量模板下用户隔离功能
[huawei]lync listener http-port 1025 //使能交换机与Lync服务器交互的功能,并指定服务端口号