안녕하세요.
오늘은 AP를 직접 IP주소랑 Default Gateway를 설정하고 WLC에 Manuall하게 등록해 보겠습니다.
테스트 IP주소 입니다.
AP IP: 192.168.200.200
AP GW: 192.168.200.181
WLC: 192.168.100.182
AP주소를 초기에 설정시 아래와 같이 Username/Passowrd는 Cisco 입니다.
Username: Cisco Password: Cisco APC884.A1CC.2F48>en Password: Cisco APC884.A1CC.2F48# |
1. AP에 IP주소랑 Gateway를 설정 합니다.
capwap ap ip 192.168.200.200 255.255.255.0 192.168.200.181 |
IP주소를 입력하면 CAPWAP discovery 패킷을 Broadcase를 사용 해서 전송 하고 있습니다.
하지만 AP랑 WLC가 같은 L2도메인 안에 없기 때문에, WLC 찾을수 없습니다.
[*12/24/2024 10:37:43.9513] Check whether client_ip_table entry need to be cleared 0 [*12/24/2024 10:37:43.9613] Clearing client entry [*12/24/2024 10:37:46.6105] AP IPv4 Address updated from 0.0.0.0 to 192.168.200.200 [*12/24/2024 10:37:46.6305] send CAPWAP ctrl msg to the socket: Socket operation on non-socket [*12/24/2024 10:37:46.6305] dtls_init: Use MIC certificate [*12/24/2024 10:37:46.9404] [*12/24/2024 10:37:46.9404] CAPWAP State: Init [*12/24/2024 10:38:02.6655] PNP:Server not reachable, Start CAPWAP Discovery [*12/24/2024 10:38:02.6855] [*12/24/2024 10:38:02.6855] CAPWAP State: Discovery [*12/24/2024 10:38:02.8954] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0) [*12/24/2024 10:38:02.9054] [*12/24/2024 10:38:02.9054] CAPWAP State: Discovery |
2. AP Hostname를 변경하고 WLC주소를 입력합니다.
APC884.A1CC.2F48#capwap ap hostname AP01 APC884.A1CC.2F48#capwap ap primary-base WLC01 192.168.100.182 |
아래처럼 WLC가 Discovery Response 패킷을 전송하였습니다.
그리고 Found Confirued WLC01 이후 DTLS setup 시작 합니다.
[*12/24/2024 10:40:01.2284] CAPWAP State: Discovery [*12/24/2024 10:40:01.4283] Discovery Request sent to 192.168.100.182, discovery type STATIC_CONFIG(1) [*12/24/2024 10:40:01.6383] Discovery Request sent to 192.168.100.182, discovery type STATIC_CONFIG(1) [*12/24/2024 10:40:01.8382] Discovery Request sent to 255.255.255.255, discovery type UNKNOWN(0) [*12/24/2024 10:40:01.8482] Discovery Response from 192.168.100.182 [*12/24/2024 10:40:01.8482] Found Configured MWAR 'WLC01' (respIdx 0). [*12/24/2024 10:41:34.0000] Started wait dtls timer (60 sec) [*12/24/2024 10:41:34.0000] [*12/24/2024 10:41:34.0000] CAPWAP State: DTLS Setup [*12/24/2024 10:41:34.0399] Invalid event 2 & state 3 combination. [*12/24/2024 10:41:34.0399] CAPWAP SM handler: Failed to process message type 2 state 3. [*12/24/2024 10:41:34.0399] Failed to handle capwap control message from controller - status 1 [*12/24/2024 10:41:34.0399] Failed to process unencrypted capwap packet 0x2c1ab000 from 192.168.100.182 [*12/24/2024 10:41:34.0399] Failed to send capwap message 0 to the state machine. Packet already freed. [*12/24/2024 10:41:34.0999] First connect to vWLC, accept vWLC by default [*12/24/2024 10:41:34.0999] [*12/24/2024 10:41:34.1399] dtls_verify_server_cert: vWLC is using SSC, returning 1 [*12/24/2024 10:41:34.2099] [*12/24/2024 10:41:34.2099] CAPWAP State: Join [*12/24/2024 10:41:34.3699] Sending Join request to 192.168.100.182 through port 5248, packet size 1376 [*12/24/2024 10:41:39.0884] Sending Join request to 192.168.100.182 through port 5248, packet size 1376 [*12/24/2024 10:41:39.1784] Join Response from 192.168.100.182, packet size 1397 [*12/24/2024 10:41:39.1784] AC accepted previous sent request with result code: 0 [*12/24/2024 10:41:39.1784] Received wlcType 0, timer 30 [*12/24/2024 10:41:39.2284] nss_capwapmgr_enable_tunnel[1682]:ef30c000: tunnel 0 is already enabled [*12/24/2024 10:41:39.3183] [*12/24/2024 10:41:39.3183] CAPWAP State: Image Data [*12/24/2024 10:41:39.3183] AP image version 17.13.0.107 backup 17.8.0.144, Controller 17.13.0.107 [*12/24/2024 10:41:39.3183] Version is the same, do not need update. [*12/24/2024 10:41:39.3883] status 'upgrade.sh: Script called with args:[NO_UPGRADE]' [*12/24/2024 10:41:39.4383] do NO_UPGRADE, part2 is active part [*12/24/2024 10:41:39.4483] [*12/24/2024 10:41:39.4483] CAPWAP State: Configure [*12/24/2024 10:41:39.6682] Radio [2] Administrative state DISABLED change to ENABLED [*12/24/2024 10:41:39.6782] Radio [1] Administrative state DISABLED change to ENABLED [*12/24/2024 10:41:39.6782] Radio [0] Administrative state DISABLED change to ENABLED [*12/24/2024 10:41:39.6782] DOT11_CFG[1]: Starting radio 1 [*12/24/2024 10:41:39.6782] DOT11_DRV[1]: Start Radio1 - Begin [*12/24/2024 10:41:39.6782] DOT11_DRV[1]: Start Radio1 - End [*12/24/2024 10:41:39.6782] DOT11_CFG[0]: Starting radio 0 [*12/24/2024 10:41:39.6782] DOT11_DRV[0]: Start Radio0 - Begin [*12/24/2024 10:41:39.6882] DOT11_DRV[0]: Start Radio0 - End [*12/24/2024 10:41:40.1481] Radio Authority: no country code [*12/24/2024 10:41:40.1581] Cannot open CDUMP_COUNT! [*12/24/2024 10:41:40.2680] [*12/24/2024 10:41:40.2680] CAPWAP State: Run [*12/24/2024 10:41:40.3480] AP has joined controller WLC01 [*12/24/2024 10:41:40.3980] Previous AP mode is 0, change to 2 [*12/24/2024 10:41:40.4080] DOT11_CFG[0] Radio Mode is changed from Local to FlexConnect [*12/24/2024 10:41:40.4280] DOT11_DRV[0]: Stop Radio0 - Begin [*12/24/2024 10:41:40.4380] DOT11_DRV[0]: Stop Radio0 - End [*12/24/2024 10:41:40.4380] DOT11_CFG[0]: Starting radio 0 [*12/24/2024 10:41:40.4380] DOT11_DRV[0]: Start Radio0 - Begin [*12/24/2024 10:41:40.4380] DOT11_DRV[0]: Start Radio0 - End [*12/24/2024 10:41:40.4380] DOT11_CFG[1] Radio Mode is changed from Local to FlexConnect [*12/24/2024 10:41:40.4480] DOT11_DRV[1]: Stop Radio1 - Begin [*12/24/2024 10:41:40.4480] DOT11_DRV[1]: Stop Radio1 - End [*12/24/2024 10:41:40.4480] DOT11_CFG[1]: Starting radio 1 [*12/24/2024 10:41:40.4480] DOT11_DRV[1]: Start Radio1 - Begin [*12/24/2024 10:41:40.4480] DOT11_DRV[1]: Start Radio1 - End [*12/24/2024 10:41:40.5779] DOT11_DRV[0]: Stop Radio0 - Begin [*12/24/2024 10:41:40.5779] DOT11_DRV[0]: Stop Radio0 - End [*12/24/2024 10:41:40.5779] DOT11_DRV[0]: Start Radio0 - Begin [*12/24/2024 10:41:40.5879] DOT11_DRV[0]: Start Radio0 - End [*12/24/2024 10:41:41.1178] syslog level is being set to 70 [*12/24/2024 10:41:41.1178] [*12/24/2024 10:41:41.1578] Previous AP mode is 2, change to 2 [*12/24/2024 10:41:41.1678] Current session mode: ssh, Configured: Telnet-No, SSH-No, Console-Yes [*12/24/2024 10:41:41.1678] [*12/24/2024 10:41:41.3977] Current session mode: telnet, Configured: Telnet-No, SSH-No, Console-Yes [*12/24/2024 10:41:41.3977] [*12/24/2024 10:41:41.4177] Current session mode: console, Configured: Telnet-No, SSH-No, Console-Yes [*12/24/2024 10:41:41.4177] [*12/24/2024 10:41:41.4777] chpasswd: password for user changed [*12/24/2024 10:41:41.4977] USB Device Disconnected from the AP [*12/24/2024 10:41:41.5376] chpasswd: password for user changed [*12/24/2024 10:41:41.7176] [*12/24/2024 10:41:41.7176] Same LSC mode, no action needed [*12/24/2024 10:41:41.7176] Cannot open CDUMP_COUNT! [*12/24/2024 10:41:41.8975] Same value is already set. [*12/24/2024 10:41:42.3374] Got WSA Server config TLVs [*12/24/2024 10:41:43.6270] Socket: Valid Element: wcp/wcp_db Handler: set_vlan_name_map Data: null Length: 10 [*12/24/2024 10:41:45.3265] SD AVC only supports 802.11ax AP [*12/24/2024 10:41:45.8563] AP tag change to default-policy-tag [*12/24/2024 10:42:08.7391] netlink socket init done, pnl->spectral_fd=4 [*12/24/2024 10:42:08.7391] CLEANAIR: Slot 0 admin disabled [*12/24/2024 10:42:10.7385] CLEANAIR: Slot 1 admin disabled AP01#[*12/24/2024 10:42:36.8903] Warning: Stopping dbg_day0_bundle.service, but it can still be activated by: [*12/24/2024 10:42:36.8903] dbg_day0_bundle.timer AP01# |
3. 이번에는 WLC GUI에 접속해서 AP를 확인해보겠습니다.
Monitoring ->Wireless ->AP statistics 클릭 합니다.
아래 사진처럼 AP01이 WLC에 등록이 되었고 Admin Status를 표시면 초록색으로 정상적입니다.
테스트를 위해서 WLC GUI에서 AP를 Reset 합니다.
AP를 더블클릭 합니다.
지금까지 [C9800CL][#3]-AP Join Process - Manual Method 글을 읽어주셔서 감사합니다.
다음글은 DHCP option43를 이용해서 AP를 WLC에 등록 하는 글을 다루겠습니다.
'CISCO > 무선' 카테고리의 다른 글
[C9800CL][#6]-AP hostname를 이용해서 Tag 할당하기 (0) | 2024.12.24 |
---|---|
[C9800CL][#5]-AP Join Process - DHCP option 43 (1) | 2024.12.24 |
[C9800CL][#3]-AP Join Process (0) | 2024.12.24 |
[C9800CL][#2]-AP Installation with existing WLC (1) | 2024.10.23 |
[C9800CL][#1]-WLC Configuration Setup Wizard (0) | 2024.10.08 |