RG-AP220-E FAT模式下AP的简单配置
版本信息:
Ruijie#show ver
System description : Ruijie Indoor AP220-E (802.11a/n and 802.11b/g/n) By Ruijie Networks.
System start time : 2009-09-10 9:8:32
System uptime : 0:0:5:4
System hardware version : 1.00
System software version : RGOS 10.4(1T7), Release(83042)
System boot version : 10.4.82993
System serial number : 2865DP6070162
目的:
配置两个开放模式下广播的ssid,并且对应不同的vlan。
配置信息:
Ruijie#show run
Building configuration...
Current configuration : 3412 bytes
!
version RGOS 10.4(1T7), Release(83042)(Mon JAN 5 12:17:04 CST 2009 -ngcf65)
!
!
!
!
nfpp
dhcpv6-guard enable
ip-guard enable
dhcp-guard enable
icmp-guard enable
arp-guard enable
!
!
!
vlan 1
!
vlan 10 //创建vlan
!
vlan 20 //创建vlan
!
!
no service password-encryption
service dhcp
ip fragment-quota 200
!
!
ip dhcp pool 10 //配置dhcp 地址池
lease 1 0 0
network 192.168.10.0 255.255.255.0
default-router 192.168.10.254
!
ip dhcp pool 20 //配置dhcp 地址池
lease 1 0 0
network 192.168.20.0 255.255.255.0
default-router 192.168.20.254
!
!
!
!
!
!
!
!
!
enable secret 5 $1$sh7X$D1w2Aq85Fuyq90qw //配置特权密码
enable service web-server //启用web网管服务
!
!
!
!
!
wids
!
!
dot11 wlan 10 //创建wlan id为10
vlan 10 //关联的vlan
broadcast-ssid //启用广播
ssid wlan-10 //配置ssid 的名称
!
dot11 wlan 20 //创建wlan id为20
vlan 20 //关联的vlan
broadcast-ssid //启用广播
ssid wlan-20 //配置ssid 的名称
!
interface GigabitEthernet 0/1
duplex auto
speed auto
!
interface GigabitEthernet 0/1.10 //创建子接口,并封装
encapsulation dot1Q 10
!
interface GigabitEthernet 0/1.20 //创建子接口,并封装
encapsulation dot1Q 20
!
interface Dot11radio 1/0 //rdion1
smps dynamic
apsd disable
wmm edca-radio voice aifsn 1 cwmin 2 cwmax 3 txop 47
wmm edca-radio video aifsn 1 cwmin 3 cwmax 4 txop 94
wmm edca-radio best-effort aifsn 3 cwmin 4 cwmax 6 txop 0
wmm edca-radio back-ground aifsn 7 cwmin 4 cwmax 10 txop 0
wmm edca-client voice aifsn 2 cwmin 2 cwmax 3 txop 47 len 0
wmm edca-client voice cac optional
wmm edca-client video aifsn 2 cwmin 3 cwmax 4 txop 94 len 0
wmm edca-client video cac optional
wmm edca-client best-effort aifsn 3 cwmin 4 cwmax 10 txop 0 len 0
wmm edca-client back-ground aifsn 7 cwmin 4 cwmax 10 txop 0 len 0
wmm enable
station-role root-ap
mac-mode localc
short-preamble
chan-width 20
rate-set 1 mandatory
radio-type 802.11b
channel 1
speed-mode auto
loadblance 60
coverage-rssi 10
country-code CNI
radio-mode 11ng_ht20
wlan-id 10 //关联wlan-id
wlan-id 20 //关联wlan-id
duplex auto
speed auto
no keepalive
!
interface Dot11radio 1/0.1 //radio 子接口关联
encapsulation dot1Q 10
mac-mode fat
short-preamble
!
interface Dot11radio 1/0.2 //radio 子接口关联
encapsulation dot1Q 20
mac-mode fat
short-preamble
!
interface Dot11radio 2/0 //rdion2
smps dynamic
apsd disable
wmm edca-radio voice aifsn 1 cwmin 2 cwmax 3 txop 47
wmm edca-radio video aifsn 1 cwmin 3 cwmax 4 txop 94
wmm edca-radio best-effort aifsn 3 cwmin 4 cwmax 6 txop 0
wmm edca-radio back-ground aifsn 7 cwmin 4 cwmax 10 txop 0
wmm edca-client voice aifsn 2 cwmin 2 cwmax 3 txop 47 len 0
wmm edca-client voice cac optional
wmm edca-client video aifsn 2 cwmin 3 cwmax 4 txop 94 len 0
wmm edca-client video cac optional
wmm edca-client best-effort aifsn 3 cwmin 4 cwmax 10 txop 0 len 0
wmm edca-client back-ground aifsn 7 cwmin 4 cwmax 10 txop 0 len 0
wmm enable
station-role root-ap
mac-mode localc
short-preamble
chan-width 20
rate-set 1 mandatory
radio-type 802.11b
channel 1
speed-mode auto
loadblance 60
coverage-rssi 10
country-code CNI
radio-mode 11ng_ht20
wlan-id 10 //关联wlan-id
wlan-id 20 //关联wlan-id
duplex auto
speed auto
no keepalive
!
interface Dot11radio 2/0.1 //radio 子接口关联
encapsulation dot1Q 10
mac-mode fat
short-preamble
!
interface Dot11radio 2/0.2 //radio 子接口关联
encapsulation dot1Q 20
mac-mode fat
short-preamble
!
interface BVI 10 //AP 接口及ip配置
ip address 192.168.10.254 255.255.255.0
!
interface BVI 20 //AP 接口及ip配置
ip address 192.168.20.254 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.33.1 //默认路由
!
!
line con 0
line vty 0 4
login
!
!
end
接口ip状态信息:
Ruijie#sh ip int b
Interface IP-Address(Pri) OK? Status
GigabitEthernet 0/1 192.168.33.57/24 YES DOWN
Local 0 no address YES DOWN
Dot11radio 1/0.2 no address YES DOWN
Dot11radio 1/0.1 no address YES DOWN
Dot11radio 1/0 no address YES DOWN
Dot11radio 2/0.2 no address YES DOWN
Dot11radio 2/0.1 no address YES DOWN
Dot11radio 2/0 no address YES DOWN
BVI 10 192.168.10.254/24 YES UP
BVI 20 192.168.20.254/24 YES UP
本文出自 “感恩的心” 博客,转载请与作者联系!