This guide outlines the steps to configure a static IP, Network Time Protocol (NTP) server, and DNS server on 5G APs through the CLI is a DHCP server is not available on the network.
Celona recommends Access Points obtain IP address via DHCP server for ease of bringup and management.
Steps to configure via CLI
Login to AP via CLI: Login via SSH to the common Management IP (192.168.169.100) of the AP using the admin credentials admin/Celona123
Command: ssh admin@192.168.169.100
Login to AP
Generate an OTP:
Upon login, you will be prompted for a passcode.
Passcode on CLI
Go to the Access Points page on Celona Orchestrator, open the required AP page, and click the PASSWORD GENERATOR button.
Password Generator on CSO
Paste the passcode shown in the CLI into the Password Generator window and click GENERATE.
Copy Password
Copy and paste the generated One Time Password (OTP) into the CLI.
NOTE: The OTP is valid only for 10 minutes.
Configure Static IP Address:
Configure the static IP with the following command once you log into the AP.
Command: static_ip <IP Address> <Subnetmask> <DefaultGateway>
Static IP Config
If invalid parameters are entered, an error message will appear. Ensure all inputs are valid.
Invalid IP
Configure NTP Server:
Configure DNS Server:
Reboot:
Remove Static IP Configuration:
Login to the AP using the admin credentials.
NOTE: AP can be accessed through Management IP (192.168.169.100) even after configuring static IP.To remove the static IP configuration, enter the following command.
Command: no static_ipRemove Static IP
When the static IP configuration is cleared, and DHCP is enabled on a 5G AP, the AP will no longer use the manually assigned static IP address. Instead, it will request an IP address dynamically from a DHCP server on the network.
NOTE:
Static IP config is saved on /cfg/static_ip.txt
ntp, dns server config is saved on /cfg/ntp_server.cfg and /cfg/dns_server.cfg files respectively.