01-WLAN接口配置
本章节下载 (155.84 KB)
· 本文所指的AP和FAT AP代表了MSR800、MSR 900、MSR900-E、MSR 930和MSR 20-1X无线款型,以及安装了SIC-WLAN模块的MSR系列路由器。
· MSR 2600、MSR 30-11、MSR 30-11E、MSR 30-11F和MSR3600-51F路由器不支持WLAN功能。
· 无线路由器支持一种实际的物理接口——WLAN-Radio接口,此接口提供无线接入服务。
· 无线路由器支持WLAN-BSS与WLAN-Ethernet类型虚拟接口。WLAN-Radio接口被视为普通物理接入口,它可以和WLAN-BSS接口、WLAN-Ethernet接口绑定。
WLAN-Radio是设备上的一种物理接口,提供无线接入服务。用户可以配置该接口的参数,但不可手工删除它。
表1-1 WLAN-Radio接口配置
配置步骤 |
命令 |
说明 |
进入系统视图 |
system-view |
- |
进入WLAN-Radio接口视图 |
interface wlan-radio interface-number |
必选 |
设置接口描述信息 |
description text |
可选 缺省情况下,接口的描述信息为“接口名 Interface” |
设置接口的期望带宽 |
bandwidth bandwidth-value |
可选 |
恢复WLAN-Radio接口的缺省配置 |
default |
可选 |
关闭WLAN-Radio接口 |
shutdown |
可选 缺省情况下,接口处于开启状态 |
WLAN-BSS接口是一种虚拟接口,类似于二层以太网口,具有二层属性,并可配置多种二层协议。在无线路由器上,WLAN-Radio物理接口与此接口绑定后,WLAN-Radio接口将工作在二层模式。
表1-2 WLAN-BSS接口配置
配置步骤 |
命令 |
说明 |
进入系统视图 |
system-view |
- |
进入WLAN-BSS接口视图 |
interface wlan-bss interface-number |
必选 如果指定的WLAN-BSS接口不存在,则该命令先完成WLAN-BSS接口的创建,然后再进入该接口的视图 在使用IMC绑定服务和WLAN-BSS接口时,wlan-bss接口编号必须小于等于31 有关IMC的介绍,请参见《H3C智能管理中心 用户手册》 |
设置接口描述信息 |
description text |
可选 缺省情况下,接口的描述信息为“接口名 Interface” |
配置接口的链路类型 |
port link-type { access | hybrid } |
可选 缺省情况下,WLAN-BSS接口的链路类型均为Access类型 根据链路类型,WLAN-BSS接口还支持“配置基于Access端口的VLAN”或者“配置基于Hybrid端口的VLAN”,关于这些配置的详细介绍请参见“二层技术-以太网交换”中的“VLAN” |
指定MAC地址认证用户使用的认证域 |
mac-authentication domain domain-name |
可选 缺省情况下,未指定MAC地址认证用户使用的认证域,使用系统缺省的认证域 |
配置端口同时可容纳接入的MAC地址认证用户数量的最大值 |
mac-authentication max-user user-number |
可选 缺省情况下,端口可容纳接入用户数量的最大值为256 |
设置接口的期望带宽 |
bandwidth bandwidth-value |
可选 |
恢复WLAN-BSS接口的缺省配置 |
default |
可选 |
禁用WLAN-BSS接口 |
shutdown |
可选 缺省情况下,接口处于启用状态 |
mac-authentication domain和mac-authentication max-user命令的详细介绍请参见“安全配置指导”中的“MAC地址认证”。
WLAN-Ethernet接口是一种虚拟的三层接口,类似于三层以太网接口,具有三层属性,能够配置IP地址。在无线路由器上WLAN-Radio物理接口与此接口绑定后,WLAN-Radio接口将工作在三层模式。
表1-3 进入WLAN-Ethernet接口视图
配置步骤 |
命令 |
说明 |
进入系统视图 |
system-view |
- |
进入WLAN-Ethernet接口视图 |
interface wlan-ethernet interface-number |
必选 如果指定的WLAN-Ethernet接口不存在,则该命令先完成WLAN-Ethernet接口的创建,然后再进入该接口的视图 |
设置接口的期望带宽 |
bandwidth bandwidth-value |
可选 |
恢复WLAN-Ethernet接口的缺省配置 |
default |
可选 |
WLAN-Ethernet接口可以配置MTU等基本参数,还可以配置ARP、DHCP、路由等特性。本节只罗列了WLAN-Ethernet接口支持的特性,关于各特性、命令的详细描述及配置,请参见平台手册的相应章节。
表1-4 配置WLAN-Ethernet接口
操作 |
|||
接口配置 |
· qos max-bandwidth · shutdown · mtu · description · enable snmp trap updown |
||
ARP配置 |
· arp max-learning-num · arp proxy enable · proxy-arp enable |
||
BOOTP客户端配置 |
ip address bootp-alloc |
||
DHCP配置 |
DHCP服务器配置 |
dhcp select server global-pool |
|
DHCP中继配置 |
· dhcp relay address-check · dhcp relay information enable · dhcp relay information format · dhcp relay information strategy · dhcp relay release · dhcp relay server-select · dhcp select relay |
||
DHCP客户端配置 |
ip address dhcp-alloc |
||
IP Accounting配置 |
· ip count firewall-denied · ip count inbound-packets · ip count outbound-packets |
||
IP地址配置 |
ip address |
||
IP性能配置 |
· ip forward-broadcast · tcp mss |
||
IP单播策略路由配置 |
ip policy-based-route |
||
UDP HELPER配置 |
udp-helper server |
||
URPF配置 |
ip urpf |
||
快速转发配置 |
ip fast-forwarding |
||
IPv6基础配置 |
· ipv6 address · ipv6 address auto link-local · ipv6 mtu · ipv6 nd autoconfig managed-address-flag · ipv6 nd autoconfig other-flag · ipv6 nd dad attempts · ipv6 nd ns retrans-timer · ipv6 nd nud reachable-time · ipv6 nd ra halt · ipv6 nd ra interval · ipv6 nd ra prefix · ipv6 nd ra router-lifetime · ipv6 neighbors max-learning-num · ipv6 policy-based-route |
||
NAT-PT配置 |
natpt enable |
||
IS-IS配置 |
· isis authentication-mode · isis circuit-level · isis circuit-type p2p · isis cost · isis dis-name · isis dis-priority · isis enable · isis mesh-group · isis small-hello · isis timer csnp · isis timer hello · isis timer holding-multiplier · isis timer lsp · isis timer retransmit · isis silent |
||
OSPF配置 |
· ospf authentication-mode simple · ospf authentication-mode · ospf cost · ospf dr-priority · ospf mtu-enable · ospf network-type · ospf timer dead · ospf timer hello · ospf timer poll · ospf timer retransmit · ospf trans-delay |
||
RIP配置 |
· rip authentication-mode · rip input · rip output · rip metricin · rip metricout · rip poison-reverse · rip split-horizon · rip summary-address · rip version |
||
IPv6-IS-IS配置 |
isis ipv6 enable |
||
IPv6-OSPFv3配置 |
· ospfv3 cost · ospfv3 mtu-ignore · ospfv3 timer dead · ospfv3 timer hello · ospfv3 timer retransmit · ospfv3 area · ospfv3 dr-priority · ospfv3 trans-delay |
||
IPv6-RIPng配置 |
· ripng default-route · ripng enable · ripng metricin · ripng metricout · ripng poison-reverse · ripng split-horizon · ripng summary-address |
||
MPLS基本配置 |
· mpls · mpls ldp · mpls ldp timer hello-hold · mpls ldp timer keepalive-hold · mpls ldp transport-address |
||
BGP/MPLS VPN配置 |
ip binding vpn-instance |
||
PPPoE配置 |
· pppoe-server bind virtual-template · pppoe-client dial-bundle-number |
||
网桥配置 |
bridge-set |
||
组播配置 |
组播路由与转发配置 |
· multicast minimum-ttl · multicast ipv6 minimum-hoplimit · multicast boundary · multicast ipv6 boundary |
|
IPv6组播路由与转发配置 |
· multicast ipv6 minimum-hoplimit · multicast ipv6 boundary |
||
IGMP配置 |
· igmp enable · igmp fast-leave · igmp group-policy · igmp last-member-query-interval · igmp max-response-time · igmp require-router-alert · igmp robust-count · igmp send-router-alert · igmp static-group · igmp timer other-querier-present · igmp timer query · igmp version |
||
MLD配置 |
· mld enable · mld last-listener-query-interval · mld max-response-time · mld require-router-alert · mld send-router-alert · mld robust-count · mld timer other-querier-present · mld timer query · mld version · mld static-group · mld group-policy · mld fast-leave |
||
PIM配置 |
· pim bsr-boundary · pim hello-option · pim holdtime · pim require-genid · pim sm · pim dm · pim state-refresh-capable · pim timer graft-retry · pim timer hello · pim timer join-prune · pim triggered-hello-delay |
||
IPv6 PIM配置 |
· pim ipv6 bsr-boundary · pim ipv6 hello-option · pim ipv6 holdtime · pim ipv6 require-genid · pim ipv6 sm · pim ipv6 dm · pim ipv6 state-refresh-capable · pim ipv6 timer graft-retry · pim ipv6 timer hello · pim ipv6 timer join-prune · pim ipv6 triggered-hello-delay |
||
QoS |
流量监管/流量整形/物理接口限速配置 |
· qos car · qos gts any cir · qos gts acl |
|
QoS策略配置 |
qos apply policy |
||
拥塞管理配置 |
qos max-bandwidth |
||
防火墙配置 |
· firewall ethernet-frame-filter · firewall packet-filter · firewall packet-filter ipv6 · firewall aspf |
||
NAT配置 |
· nat outbound · nat outbound static · nat server |
||
Portal配置 |
· portal auth-network · portal server |
||
IPsec配置 |
ipsec policy |
||
备份中心配置 |
· standby interface · standby threshold · standby timer delay · standby timer flow-check · standby bandwidth |
||
NetStream配置 |
ip netstream |
||
NTP配置 |
· ntp-service broadcast-client · ntp-service broadcast-server · ntp-service multicast-client · ntp-service multicast-server · ntp-service in-interface disable |
||
IPX配置 |
ipx encapsulation |
||
端口安全 |
· port-security authorization ignore · port-security max-mac-count · port-security port-mode { mac-and-psk | mac-authentication | mac-else-userlogin-secure | mac-else-userlogin-secure-ext | psk | userlogin-secure | userlogin-secure-ext | userlogin-secure-ext-or-psk | userlogin-secure-or-mac | userlogin-secure-or-mac-ext } · port-security preshared-key { pass-phrase | raw-key } · port-security tx-key-type 11key |
||
在完成上述配置后,在任意视图下执行display命令可以显示配置后WLAN接口的运行情况,通过查看显示信息验证配置的效果。
表1-5 WLAN接口显示和维护
操作 |
命令 |
显示WLAN-Radio接口的信息 |
display interface [ wlan-radio ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface wlan-radio interface-number [ brief ] [ | { begin | exclude | include } regular-expression ] |
显示WLAN-BSS接口的信息 |
display interface [ wlan-bss] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface wlan-bss interface-number [ brief ] [ | { begin | exclude | include } regular-expression ] |
显示WLAN-Ethernet接口的信息 |
display interface [ wlan-ethernet ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface wlan-ethernet interface-number [ brief ] [ | { begin | exclude | include } regular-expression ] |
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!