# Check the license status.
C3850-24P-S#sh license right-to-use
Slot# License name Type Count Period left
----------------------------------------------------------
1 ipbase permanent N/A Lifetime
License Level on Reboot: ipbase
# AP license is Right-to-Use type. accept EULA.
C3850-24P-S#license right-to-use activate apcount 50 slot 1 acceptEULA
# IP Service license is also Right-to-Use type. accept EULA. but you must reboot.
C3850-24P-S#license right-to-use activate ipservices slot 1 acceptEULA
# after accepting EULA, check the license status.
C3850-24P-S#sh license right-to-use summary
License Name Type Count Period left
-----------------------------------------------
ipbase permanent N/A Lifetime
apcount base 0 Lifetime
apcount adder 50 Lifetime # AP license status.
--------------------------------------------
License Level In Use: ipbase
License Level on Reboot: ipservices # IP Service licesne after rebooting.
Evaluation AP-Count: Disabled
Total AP Count Licenses: 50
AP Count Licenses In-use: 0
AP Count Licenses Remaining: 50
# Check the license status after rebooting.
C3850-24P-S#sh license right-to-use summary
License Name Type Count Period left
-----------------------------------------------
ipservices permanent N/A Lifetime
apcount base 0 Lifetime
apcount adder 50 Lifetime
--------------------------------------------
License Level In Use: ipservices
License Level on Reboot: ipservices
Evaluation AP-Count: Disabled
Total AP Count Licenses: 50
AP Count Licenses In-use: 0
AP Count Licenses Remaining: 50
# Using this command, change from Wireless Mobility Agent to Wireless Mobility Controller mode to use WLC. you must reboot.
C3850-24P-S(config)#wireless mobility controller
Mobility role changed to Mobility Controller.
Please save config and reboot the whole stack.
# Status of Wireless Mobility Agent.
C3850-24P-S#sh wireless mobility summary
Mobility Agent Summary:
Mobility Role : Mobility Agent # You can't use WLC feature.
Mobility Protocol Port : 16666
Mobility Switch Peer Group Name :
Multicast IP Address : 0.0.0.0
DTLS Mode : Enabled
Mobility Domain ID for 802.11r : 0xac34
Mobility Keepalive Interval : 10
Mobility Keepalive Count : 3
Mobility Control Message DSCP Value : 0
Switch Peer Group Members Configured : 0
Link Status is Control Link Status : Data Link Status
The status of Mobility Controller:
IP Public IP Link Status
------------------------------------------------
0.0.0.0 0.0.0.0 - : -
# Status of Wireless Mobility Controller.
C3850-24P-S#sh wireless mobil summary
Mobility Controller Summary:
Mobility Role : Mobility Controller # You can use WLC feature.
Mobility Protocol Port : 16666
Mobility Group Name : default
Mobility Oracle IP Address : 0.0.0.0
DTLS Mode : Enabled
Mobility Domain ID for 802.11r : 0xac34
Mobility Keepalive Interval : 10
Mobility Keepalive Count : 3
Mobility Control Message DSCP Value : 48
Mobility Domain Member Count : 1
Link Status is Control Link Status : Data Link Status
Controllers configured in the Mobility Domain:
IP Public IP Group Name Multicast IP Link Status
-------------------------------------------------------------------------------
169.254.1.1 - default 0.0.0.0 UP : UP
# Set management Vlan for WLC.
C3850-24P-S(config)#wireless management interface vlan 22
# Set Vlan interface for WLC.
C3850-24P#sh run int vlan 22
interface Vlan22
ip address 192.168.22.254 255.255.255.0
end
# Set DHCP Pool.
ip dhcp pool DHCP
network 192.168.22.0 255.255.255.0
default-router 192.168.22.254
dns-server 168.126.63.1
# The interface connected AP is set Access mode.
C3850-24P-S#sh run int g1/0/1
interface GigabitEthernet1/0/1
switchport mode access
switchport access vlan 22
spanning-tree portfast
end
# Wait a minute, AP will Join and download iOS from WLC on switch.
C3850-24P-S#sh ap summary
Number of APs: 1
Global AP User Name: Not configured
Global AP Dot1x User Name: Not configured
AP Name AP Model Ethernet MAC Radio MAC State
----------------------------------------------------------------------------------------
AccessPoint(Test) 3502I 503d.e5be.fd96 c062.6b8e.9780 Downloading
# After downloading iOS, AP will discovered.
C3850-24P-S#sh ap summary
Number of APs: 1
Global AP User Name: Not configured
Global AP Dot1x User Name: Not configured
AP Name AP Model Ethernet MAC Radio MAC State
----------------------------------------------------------------------------------------
AccessPoint(Test) 3502I 503d.e5be.fd96 c062.6b8e.9780 Registered
# Then Stop the AP's signal.
C3850-24P(config)#ap dot11 24ghz shutdown
C3850-24P(config)#ap dot11 5ghz shutdown
# change the Country code.
C3850-24P-S(config)#ap country KR
Changing country code could reset channel and RRM grouping configuration. If running in RRM One-Time mode, reassign channels after this command. Check customized APs for valid channel values after this command.
Are you sure you want to continue? (y/n)[y]: y
% switch-1:wcm:Disable 802.11a and 802.11b networks prior to configuring country code.
# Check the AP's country code.
C3850-24P#sh wireless country configured
Configured Country.............................: KR - Korea Republic (C)
Configured Country Codes
KR - Korea Republic (C) : 802.11a Indoor,Outdoor/ 802.11b / 802.11g
# Set the AP's group and SSID. (Open type, Proceed after shutdown AP Radio and Wlan.)
C3850-24P-S(config)#wlan TEST 1 C3850_SSID
C3850-24P-S(config-wlan)#client vlan 1
C3850-24P-S(config-wlan)#radio all
C3850-24P-S(config-wlan)#wmm all
C3850-24P-S(config-wlan)#ip dhcp server 192.168.22.254
C3850-24P(config-wlan)#no security wpa
C3850-24P-S(config-wlan)#no shutdown
# Set WAP2 security (Proceed after shutdown AP Radio and Wlan.)
C3850-24P(config)#wlan TEST 1 C3850
C3850-24P(config-wlan)#no security dot1x
C3850-24P(config-wlan)#no security wpa akm dot1x
C3850-24P(config-wlan)#no sec wpa wpa2 ciphers aes
C3850-24P(config-wlan)#security wpa
C3850-24P(config-wlan)#security wpa akm psk set-key ascii 0 testtest
# Check the client join status.
C3850-24P#sh wireless mobility controller client summary
Number of Clients : 1
State is the Sub-Domain state of the client.
* indicates IP of the associated Sub-domain
Associated Time in hours:minutes:seconds
MAC Address State Anchor IP Associated IP Associated Time
--------------------------------------------------------------------------------
843a.4b70.7564 Local 0.0.0.0 192.168.22.254 00:07:10
C3850-24P#sh wireless client summary
Number of Local Clients : 1
MAC Address AP Name WLAN State Protocol
--------------------------------------------------------------------------------
843a.4b70.7564 AP503d.e5be.fd96 1 UP 11n(2.4)
# If the switch working L2 mode, change to L3 mode.(to use WLC, you should set L3 mode.)
C3850-24P(config)#ip routing
No comments:
Post a Comment