ttserv.exe是很好的WEB FTP Telnet TFTP程序,轻便,快捷。
该文件在哪个目录被打开,程序就默认在哪个位置传输文件。
一、进入系统状态
<H3C_AC>system-view
System View: return to User View with Ctrl+Z.
[H3C_AC]
2、常用命令
1、telnet:windows端远程连接与控制交换机的命令
2、quit:后退到上一级目录
3、system:进入管理模式
4、display current:显示当前交换机设置
5、display wlan ap all:显示当前无线ap运行情况
6、save:保存
7、poe enable:端口供电(先oap、再进入相应端口、如interface GigabitEthernet 1/0/1,才能使用此命令)
8、undo poe enable:取消端口供电
9、Display wlan client 查看当前无线网络的在线客户端
10、关闭radio:
[H3C_AC]wlan ap ap1_002
[H3C_AC-wlan-ap-ap1_002]radio 1
[H3C_AC-wlan-ap-ap1_002-radio-1]radio disable
之后即可设置dotx11x的各种设置(否则提示radio在用,不能设置dot11x的参数),然后再恢复
[H3C_AC-wlan-ap-ap1_002-radio-1]radio enable
11、查看无线控制器内存空间和文件
dir:查看所有所有文件
查看所有文件(包括隐藏文件)
彻底删除文件:
delete /unreserved 文件名
12、增加、删除ap
wlan ap ap1_004 model WA2100 id 2 //ap1_xxx、id x不能和已注册的无线ap冲突
echo-interval 80
serial-id 210235A22WB106002134 //此编号在无线ap机身贴有
jumboframe enable 1500
device-detection enable
radio 1
radio-policy 513
service-template 2
radio enable
save
删除 ap 命令:undo wlan ap xxxx(需要删除的ap在交换机中的名称)
!!!!!!!!!!!!!!!!!!!!!!!!
查看端口流量分布:
华为:display interface brief
H3C:display interface GigabitEthernet (brief)
适合于查看每个端口的流量百分比,从而定位故障
3、设置无线客户端离线后的解绑时间
[H3C_AC]wlan ap ap1_002
[H3C_AC-wlan-ap-ap1_002]
[H3C_AC-wlan-ap-ap1_002]client idle-timeout ?
INTEGER<60-86400> Specify idle time in seconds (Default: 3600) //时间在60S到86400S之间
[H3C_AC-wlan-ap-ap1_002]client idle-timeout 3600
2、设置AP的channel,可以手工指定信道,也可以设置为auto:
[H3C_AC]wlan ap ap1_002
[H3C_AC-wlan-ap-ap1_002]radio 1
[H3C_AC-wlan-ap-ap1_002-radio-1]
[H3C_AC-wlan-ap-ap1_002-radio-1]channel ?
INTEGER Legal channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
auto Automatic channel selection (Default)
band-width Specify the BandWidth Mode
lock Lock the current channel
[H3C_AC-wlan-ap-ap1_002-radio-1]channel 6 //手工指定为6
[H3C_AC-wlan-ap-ap1_002-radio-1]channel auto //或是自动
3、设置AP射频口能够同时接受的无线客户端数,默认为64:
[H3C_AC]wlan service-template 1 //进入AP所绑定的服务模版模式中
[H3C_AC-wlan-st-1]
[H3C_AC-wlan-st-1]client ?
forwarding-mode Forwarding-mode
max-count Specify maximum client number per BSS
[H3C_AC-wlan-st-1]client ma
[H3C_AC-wlan-st-1]client max-count ?
INTEGER<1-124> Maximum client number per BSS (Default: 64) //最大客户端数位124,默认为64
[H3C_AC-wlan-st-1]client max-count 64 //设置最大客户端数为64
Error: Service template in use. Disable it to change parameters. //当需要改变最大客户端数时,需要关闭模块
关闭模版的方法:
[H3C_AC]wlan service-template 1 //首先进入服务模版1
[H3C_AC-wlan-st-1]service-template disable //关闭服务模版,注意,当关闭服务模版时,所有启用了该模版的AP将停止接入用户,慎用
4、查看AC上用户在线情况:
[H3C_AC]dis wlan client
5、查看某一客户端的详细情况,如是否漫游
[H3C_AC]dis wlan client mac-address 0017-c44e-5787 verbose
Total Number of Clients : 1
Client Information
-------------------------------------------------------------------------------
MAC Address : 0017-c44e-5787
User Name : -NA-
AID : 1
AP Name : jj_dqwc_ap03
Radio Id : 2
SSID : ChinaNet
BSSID : 3822-d621-1ed0
Port : WLAN-DBSS1:81
VLAN : 1909
State : Running
Power Save Mode : Active
Wireless Mode : 11g
QoS Mode : WMM
Listen Interval (Beacon Interval) : 1
RSSI : 4
Rx/Tx Rate : 1/1
Client Type : PRE-RSNA
Authentication Method : Open System
AKM Method : None
4-Way Handshake State : -NA-
Group Key State : -NA-
Encryption Cipher : Clear
Roam Status : Normal //Normal表示客户端没有漫游
Roam Count : 0
Up Time (hh:mm:ss) : 00:01:59
-------------------------------------------------------------------------------
6、删除某一客户端:
<H3C_AC>reset wlan client mac-address 0008-ca55-9179
7、禁止某一客户端连接无线网络,将客户端的MAC地址加入AC的黑名单中即可:
[H3C_AC]wlan ids //进入IDS攻击检测模式
[H3C_AC-wlan-ids]static-blacklist mac-address 0017-c44e-5787 //此为静态黑名单,加入客户端的MAC地址即可
8、放行某一客户端连接无线网络,将客户端从黑名单删除:
[H3C_AC-wlan-ids]undo static-blacklist mac-address 0017-c44e-5787 //使用undo命名即可删除加入黑名单的客户端
9、从AC上远程登录某一AP
[H3C_AC]_h //进入设备隐含命令模式
Now you enter a hidden command view for developer‘s testing, some commands may
affect operation by wrong use, please carefully use it with our engineer‘s
direction. 现在开发人员的测试输入一个隐藏的命令视图,某些命令可能
影响操作的错误使用,请与我们的工程师仔细使用
方向
[H3C_AC-hidecmd]
[H3C_AC-hidecmd]wlan ap da_ptxx_ap06 exec-control enable //开启AP执行控制功能
[H3C_AC-hidecmd]wlan ap da_ptxx_ap06 telnet enable //开启AP telnet功能
[H3C_AC-hidecmd]quit //退出隐含模式
[H3C_AC]
[H3C_AC]dis wlan ap name da_ptxx_ap06 verbose //查看需要远程管理的AP IP地址
AP Profile: da_ptxx_ap06
-------------------------------------------------------------------------------
APID : 186
AP System Name : Not Configured
Map Configuration : Not Configured
State : Run
Up Time(hh:mm:ss) : 12:31:46
Model : WA2610E-GNP
Serial-ID : 219801A0CSC123020667
IP Address : 10.11.17.21 //AP IP地址为10.11.17.21
H/W Version : Ver.F
S/W Version : V100R003B03D019SP01
Boot-Rom Version : 1.07
Description : 德安县蒲塘小学办公楼3F【AP06】
Connection Type : Master
Peer AC MAC Address : -NA-
Priority Level : 4
Echo Interval(s) : 10
Statistics report Interval(s) : 50
<H3C_AC>telnet 10.11.17.21 //进入AC的监控模式<>,使用telnet登录AP
Trying 10.11.17.21 ...
Press CTRL+K to abort
Connected to 10.11.17.21 ...
******************************************************************************
* Copyright (c) 2004-2012 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner‘s prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
<WA2610E-GNP> dis current-configuration //使用命令查看AP的配置
#
version 5.20, Ess 1302P09
#
sysname WA2610E-GNP
#
ipv6
#
telnet server enable
#
vlan 1
#
interface NULL0
#
interface Vlan-interface1
ip address dhcp-alloc client-identifier mac Vlan-interface1
#
interface GigabitEthernet1/0/1
#
interface WLAN-Radio1/0/1
#
info-center source LWPC channel 4
#
undo gratuitous-arp-learning enable
#
user-interface con 0
user-interface vty 0 4
authentication-mode none
user privilege level 3
set authentication password simple h3capadmin
#
return
<WA2610E-GNP>
<WA2610E-GNP> quit //退出AP进入AC
The connection was closed by the remote host!
<H3C_AC>
10、针对11n AP若不能达到300Mbps的协商速率,可以通过如下命名进行修改:
A、修改AP的信道带宽
[H3C_AC]wlan ap da_ptxx_ap07 //进入11n AP模式下
[H3C_AC-wlan-ap-ap1_002]radio 1 //进入射频口1,radio1 为5Ghz
[H3C_AC-wlan-ap-ap1_002-radio-1]channel band-width ?
20 Specify the BandWidth Mode as 20M
40 Specify the BandWidth Mode as 20/40M
[H3C_AC-wlan-ap-ap1_002-radio-1]channel band-width 40
//将信道的带宽改为40Mhz,默认为20Mhz
B、修改AP发射功率
[H3C_AC-wlan-ap-ap1_002-radio-1]max-power ?
INTEGER<1-27> Specify maximum radio power in dBm (Default: 27) //默认为最大,27
[H3C_AC-wlan-ap-ap1_002-radio-1]max-power 27
11、dis wlan statistics ap name yzq_dxchshuju5f connect-history
12、ping 117.45.126.168
本文出自 “zgysolution” 博客,请务必保留此出处http://zgysolution.blog.51cto.com/9605745/1651253
原文地址:http://zgysolution.blog.51cto.com/9605745/1651253