国家 / 地区

04-典型配置案例(FAT AP)

02-H3C无线接入点用户限速典型配置举例(V7)

本章节下载  (139.95 KB)

docurl=/cn/Service/Document_Software/Document_Center/Home/Wlan/00-Public/Trending/Wlan_OneNote/H3C_V7_OneNote/04/201911/1246512_30005_0.htm

02-H3C无线接入点用户限速典型配置举例(V7)

H3C 无线接入点

用户限速典型配置举例(V7)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2017-2019 新华三技术有限公司 版权所有,保留一切权利。

非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。

除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。

本文档中的信息可能变动,恕不另行通知。



1  简介

本文档介绍用户限速典型配置举例。

2  配置前提

本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。

本文档假设您已了解用户限速特性。

3  配置举例

3.1  组网需求

图1所示,无线客户端通过FAT AP接入网络,IP Network内部服务器作为DHCP服务器为FAT AP分配地址。FAT AP作为DHCP server为无线客户端分配地址,且在FAT AP上配置用户限速功能,限制从客户端到AP方向和从AP到客户端方向数据传输的最大速率,在入方向以静态模式使客户端到AP方向的固定速率为4000 Kbps、出方向以动态模式使从AP到客户端方向的共享速率为16000 Kbps。

图1 用户限速配置组网图

 

 

3.2  配置步骤

3.2.1  配置FAT AP

(1)       配置接口

# 创建VLAN 100及其对应的VLAN接口,并为该接口配置IP地址,Client使用该VLAN接入无线网络。

<WA5530>system-view

[WA5530] vlan 100

[WA5530-vlan100] quit

[WA5530] interface vlan-interface 100

[WA5530-Vlan-interface100] ip address 192.1.1.1 24

[WA5530-Vlan-interface100] quit

# 配置上行接口Vlan-interface 1自动获得地址。

[WA5530] interface vlan-interface 1

[WA5530-Vlan-interface1] undo ip address

[WA5530-Vlan-interface1] ip address dhcp-alloc

[WA5530-Vlan-interface1] quit

(2)       配置无线服务模板。

# 创建服务模板service,并进入无线服务模板视图。

[WA5530] wlan service-template service

# 配置SSID为service。

[WA5530-wlan-st-service] ssid service

# 配置无线服务模板VLAN为100。

[WA5530-wlan-st-service] vlan 100

# 开启基于无线服务模板的客户端限速功能,并且配置限制从客户端到AP方向和从AP到客户端方向数据传输的最大速率,使从客户端到AP方向的固定速率为4000 Kbps,从AP到客户端方向的共享速率为16000 Kbps。

[WA5530-wlan-st-service] client-rate-limit enable

[WA5530-wlan-st-service] client-rate-limit inbound mode static cir 4000

[WA5530-wlan-st-service] client-rate-limit outbound mode dynamic cir 16000

# 开启无线服务模板。

[WA5530-wlan-st-service] service-template enable

[WA5530-wlan-st-service] quit

(3)       进入WLAN-Radio 1/0/1接口,并将无线服务模板service绑定到WLAN-Radio 1/0/1接口。

[WA5530] interface wlan-radio 1/0/1

[WA5530-WLAN-Radio1/0/1] service-template service

[WA5530-WLAN-Radio1/0/1] quit

(4)       配置DHCP服务。

# 开启DHCP功能。

[WA5530] dhcp enable

# 创建名为vlan100的DHCP地址池,为Client分配IP地址,配置地址池动态分配的网段为192.1.1.0/24,网关地址为192.1.1.1。

[WA5530] dhcp server ip-pool vlan100

[WA5530-dhcp-pool-vlan100] network 192.1.1.0 mask 255.255.255.0

[WA5530-dhcp-pool-vlan100] gateway-list 192.1.1.1

[WA5530-dhcp-pool-vlan100] quit

3.3  验证配置

客户端上线后,每个客户端的上行流量最高不会超过4000 Kbps,所有客户端加起来的下行流量最高不会超过16000 Kbps。

3.4  配置文件

[WA5530] display current-configuration                                                 

#                                                                              

sysname WA5530                                                                   

#                                                                              

 telnet server enable                                                          

#                                                                              

 port-security enable                                                          

#                                                                               

 dhcp enable                                                                   

#                                                                              

 password-recovery enable                                                       

#                                                                              

vlan 1                                                                         

#                                                                               

vlan 100                                                                       

#                                                                              

dhcp server ip-pool vlan100                                                     

 gateway-list 192.1.1.1                                                        

 network 192.1.1.0 mask 255.255.255.0                                          

#                                                                               

wlan service-template service                                                  

 ssid service                                                                  

 vlan 100                                                                      

 client-rate-limit enable                                                      

 client-rate-limit inbound mode static cir 4000                                

 client-rate-limit outbound mode dynamic cir 16000                             

 service-template enable                                                       

#                                                                              

interface NULL0                                                                

#                                                                               

interface Vlan-interface1                                                      

 ip address dhcp-alloc                                                         

#                                                                               

interface Vlan-interface100                                                    

 ip address 192.1.1.1 255.255.255.0                                            

#                                                                               

interface GigabitEthernet1/0/1                                                 

#                                                                              

interface GigabitEthernet1/0/2                                                  

#                                                                              

interface WLAN-Radio1/0/1                                                      

service-template service                                                       

#                                                                              

interface WLAN-Radio1/0/2                                                      

 service-template 1                                                             

#                                                                              

interface WLAN-Radio1/0/3                                                      

 service-template 1                                                            

#                                                                               

return                                                                         

4  相关资料

·            《H3C 无线接入点 命令参考》中的“WLAN QoS命令参考”。

·            《H3C 无线接入点 配置指导》中的“WLAN QoS配置指导”。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

联系我们 联系我们
联系我们
回到顶部 回到顶部