神州无线AC和AP三种认证方法

神州无线AC和AP三种认证方法_第1张图片

 

无线AC基础配置:

DCWS-6028#conf

DCWS-6028(config)#vlan 31;100

DCWS-6028(config)#int vlan 31

DCWS-6028(config-if-vlan31)#ip address 192.168.31.1 255.255.255.0

DCWS-6028(config-if-vlan31)#int vlan 100

DCWS-6028(config-if-vlan100)#ip add 192.168.100.1 255.255.255.0

DCWS-6028(config-if-vlan100)#exi

DCWS-6028(config)#service dhcp

DCWS-6028(config)#ip dhcp pool AP

DCWS-6028(dhcp-ap-config)#network-address 192.168.31.0 255.255.255.0

DCWS-6028(dhcp-ap-config)#default-router 192.168.31.1

DCWS-6028(dhcp-ap-config)#exit

DCWS-6028(config)#ip dhcp pool vlan100

DCWS-6028(dhcp-vlan100-config)#network-address 192.168.100.0 255.255.255.0

DCWS-6028(dhcp-vlan100-config)#default-router 192.168.100.1

DCWS-6028(dhcp-vlan100-config)#dns-server 8.8.8.8

DCWS-6028(dhcp-vlan100-config)#exit

DCWS-6028(dhcp-ap-config)#int e1/0/24

DCWS-6028(config-if-ethernet1/0/24)#switchport mode trunk

DCWS-6028(config-if-ethernet1/0/24)#switchport trunk native vlan 31

DCWS-6028(config-if-ethernet1/0/24)#switchport trunk allowed vlan 100;31

第一种认证:无密码认证

DCWS-6028(config)#wireless         

DCWS-6028(config-wireless)#enable

DCWS-6028(config-wireless)#no auto-ip-assign

DCWS-6028(config-wireless)#static-ip 192.168.31.1

DCWS-6028(config-wireless)#discovery vlan-list 31

DCWS-6028(config-wireless)#ap authentication none

DCWS-6028(config-wireless)#network 1

DCWS-6028(config-network)#ssid wgzj

DCWS-6028(config-network)#vlan 100

DCWS-6028(config-network)#exit  

DCWS-6028(config-wireless)#ap profile 1

DCWS-6028(config-ap-profile)#hwtype 59

DCWS-6028(config-ap-profile)#radio 1

DCWS-6028(config-ap-profile-radio)#vap 0

DCWS-6028(config-ap-profile-vap)#enable

DCWS-6028(config-ap-profile)#end

DCWS-6028#wireless ap profile apply 1

DCWS-6028#show wireless ap status

    MAC Address                                                            Configuration               

 (*) Peer Managed  IP Address                              Profile Status     Status           Age     

------------------ --------------------------------------- ------- ------- ------------- --------------

 00-03-0f-99-ba-40 192.168.31.2                            1       Managed Success       0d:00:00:01

Total Access Points............................ 1

第二种认证:密码认证( pass-phrase

DCWS-6028(config)#wireless         

DCWS-6028(config-wireless)#enable

DCWS-6028(config-wireless)#no auto-ip-assign

DCWS-6028(config-wireless)#static-ip 192.168.31.1

DCWS-6028(config-wireless)#discovery vlan-list 31

DCWS-6028(config-wireless)#ap authentication pass-phrase

DCWS-6028(config-wireless)#ap database 00-03-0F-99-BA-40

DCWS-6028(config-ap)#password plain 12345678

DCWS-6028(config-ap)#exit

DCWS-6028(config-wireless)#network 1

DCWS-6028(config-network)#ssid wgzj

DCWS-6028(config-network)#vlan 100

DCWS-6028(config-network)#exit  

DCWS-6028(config-wireless)#ap profile 1

DCWS-6028(config-ap-profile)#hwtype 59

DCWS-6028(config-ap-profile)#radio 1

DCWS-6028(config-ap-profile-radio)#vap 0

DCWS-6028(config-ap-profile-vap)#enable

DCWS-6028(config-ap-profile)#end

DCWS-6028#telnet 192.168.31.2

Connecting Host 192.168.31.2 Port 23...

Service port is 23

Connected to 192.168.31.2

WLAN-AP login: admin

Password:

Enter 'help' for help.

WLAN-AP# set managed-ap pass-phrase 12345678

WLAN-AP# save-running

WLAN-AP# exit

Connection closed.

DCWS-6028#wireless ap profile apply 1

All configurations will be send to the aps associated to this profile and associated clients on these aps will be disconnected. Are you sure you want to apply the profile configuration? [Y/N] y

AP Profile apply is in progress.

DCWS-6028#show wireless ap status

    MAC Address                                                            Configuration               

 (*) Peer Managed  IP Address                              Profile Status     Status           Age     

------------------ --------------------------------------- ------- ------- ------------- --------------

 00-03-0f-99-ba-40 192.168.31.2                            1       Managed Success       0d:00:00:01

Total Access Points............................ 1

第三种认证:MAC认证

DCWS-6028(config)#wireless         

DCWS-6028(config-wireless)#enable

DCWS-6028(config-wireless)#no auto-ip-assign

DCWS-6028(config-wireless)#static-ip 192.168.31.1

DCWS-6028(config-wireless)#discovery vlan-list 31

DCWS-6028(config-wireless)#ap authentication mac

DCWS-6028(config-wireless)#ap database 00-03-0F-99-BA-40

DCWS-6028(config-wireless)#network 1

DCWS-6028(config-network)#ssid wgzj

DCWS-6028(config-network)#vlan 100

DCWS-6028(config-network)#exit  

DCWS-6028(config-wireless)#ap profile 1

DCWS-6028(config-ap-profile)#hwtype 59

DCWS-6028(config-ap-profile)#radio 1

DCWS-6028(config-ap-profile-radio)#vap 0

DCWS-6028(config-ap-profile-vap)#enable

DCWS-6028(config-ap-profile)#end

DCWS-6028#wireless ap profile apply 1

DCWS-6028#show wireless ap status

    MAC Address                                                            Configuration               

 (*) Peer Managed  IP Address                              Profile Status     Status           Age     

------------------ --------------------------------------- ------- ------- ------------- --------------

 00-03-0f-99-ba-40 192.168.31.2                            1       Managed Success       0d:00:00:01

Total Access Points............................ 1

你可能感兴趣的:(网络,信息与通信,运维)