Lompat ke konten Lompat ke sidebar Lompat ke footer

Cisco | Convert AP C9115AXI from Leighweigh to Embedded Wireless Controller Mode

  • Jika memungkinkan aktifkan dhcp server di swith/router supaya AP dapt iP dari DHCP, setelah dapat IP kita manage AP nya, kemudian ganti IP mgmt nya jadi statik.
  • Selama proses install image dari laptop to AP, sementara matikan WiFi dilaptop, 
  • Konfig disisi di port yg mengarah ke AP dgn command berikut, misal port Gi1/0/24:
     interface GigabitEthernet1/0/24
     description ## To AP##
     switchport trunk native vlan 36
     switchport mode trunk
  •  Konfig disisi di port yg mengarah ke router Gateway & DHCP (misal mikrotik)  dgn command berikut, misal port  Gi1/0/23
     interface GigabitEthernet1/0/23
     description ## To Mikrotik##
     switchport mode trunk
     
  • Jika semua sudah terhubung, lalu disi AP tekan tomobol reset +-25 detik, sambil tahan tombol reset colok kabel LAN ke AP , yg mana kabel tersebut tercolok ke swith yg sudah support PoE.
2.Step-2
#capwap ap hostname WLC-C9115X
0xAP1# capwap ap ip 192.168.254.254 255.255.255.0 192.168.254.1


(Noted: image yg sdh di extract tarok do folder tftp latop, dgn folder image c9800). Seperti gambar berikut ini.













3.Step-3
#ap-type ewc-ap tftp://192.168.254.2/ap1g7 tftp://192.168.254.2/C9800-AP-iosxe-wlc.bin

Intsalling proses.......
reboot..

Would you like to enter the initial configuration dialog? [yes/no]: no

Would like to terminate autoinstall [yes] : no
Finished...

VERIFIKASI:
ship int bri

Noted: harusnya dapt IP jika ad DHCP. Jika dapat IP dari DHCP, cek sh ip interface brief, misalnya dapt ip 192.168.254.14,  maka akses IP nya dari browser, https://192.168.254.14
username : webui
pass       
  : cisco
 

####### Cteates local user admin ######## 
EWC(config)#user-name admin
EWC(config-user-name)#privilege 15
EWC(config-user-name)#password 0 Cisco123
EWC(config-user-name)#exit

######## Specifies credentials used to log into APs joined to this EWC ######## 

EWC(config)#ap profile default-ap-profile
EWC(config-ap-profile)#mgmtuser username admin password 0 Cisco123 secret 0 Cisco123
EWC(config-ap-profile)#exit

######## Configures management interface IP address and subnet######## 
EWC(config)#interface gigabitEthernet 0
EWC(config-if)#ip address 192.168.1.15 255.255.255.0
EWC(config-if)#exit

######## Specify WMI ######## 

EWC-WLC(config)#wireless management interface gigabitEthernet 0 

######## Default gateway IP address ######## 

EWC-WLC(config)#ip route 0.0.0.0 0.0.0.0 gigabitEthernet 0

######## Enables web interface of EWC ######## 
EWC(config)#ip http server
EWC(config)#ip http secure-server

#####Specify a country code######
EWC-WLC(config)#wireless country <2 letter country code> 

######## Write to memory ########
EWC(config)#end
EWC#write memory


Jika dapat IP dari DHCP, cek sh ip interface brief, misalnya dapt ip 192.168.254.14

maka akses IP nya dari browser, https://192.168.254.14
username : webui
pass       
  : cisco
 

Switch Configuration
The port where the EWC AP is connected to must be a trunk port with the native VLAN that of the management VLAN. Example switch configuration:

configure terminal
  interface gigabitEthernet 1/0/1
  switchport trunk allowed vlan 10,20,30
  switchport trunk native vlan 10
exit

interface Vlan 10
descr "Mgmt WIFI"
 ip address 192.168.254.1 255.255.255.0
exit

interface Vlan 20
descr "Guest"
 ip address 192.168.210.1 255.255.255.0

exit

interface Vlan 30
descr "Employe"
 ip address 192.168.230.1 255.255.255.0
exit


vlan 10
exi
vlan 20
exit
vlan 30

----------
Unlike a 9800 controller, the EWC flash memory does not have enough space to store all AP images. All the AP images need to be hosted on an external TFTP or SFTP server. When a second AP tries to join, the EWC points it to the external server. Without these commands, no other AP is able to join it:

EWC(config)#wireless profile image-download default
EWC(config-wireless-image-download-profile)#image-download-mode tftp
EWC(config-wireless-image-download-profile-tftp)#tftp-image-server 192.168.254.2
EWC(config-wireless-image-download-profile-tftp)#tftp-image-path /

EWC#write memory
Building configuration...
[OK]

--
Access the AP Console From the EWC (former apciscoshell).
When the console cable is plugged into the AP that runs the EWC image, an EWC prompt is shown by default. If, for any reason, access to the underlying AP shell is required, it can be completed with this command:

EWC#wireless ewc-ap ap shell username admin
admin@192.168.129.1's password: Cisco123

--
Factory Reset from the EWC CLI

In order to reset the EWC back to factory defaults you can use this command from the EWC CLI prompt:

EWC#wireless ewc-ap factory-reset
-------------

Convert EWC Back To Lightweight CAPWAP Mode
If the AP running in EWC mode needs to be converted back to lightweight CAPWAP mode, it can be done via:

WLC(config)#username Cisco password Cisco
WARNING: Command has been added to the configuration using a type 0 password. However, recommended to migrate to strong type-6 encryption
WLC(config)#
WLC#wireless ewc-ap ap shell username Cisco
Cisco@192.168.255.253's password:
APA49B.CD2B.12E8>

APA49B.CD2B.12E8>ena
Password:
AP1# ap-type capwap
AP is the Master AP, system will need a reboot when ap type is changed to CAPWAP
. Do you want to proceed? (y/N) y

Posting Komentar untuk "Cisco | Convert AP C9115AXI from Leighweigh to Embedded Wireless Controller Mode"