Fortinet white logo
Fortinet white logo

FortiWiFi and FortiAP Configuration Guide

FortiAP CLI access

FortiAP CLI access

This section explains how to access the FortiAP CLI through the FortiAP Ethernet port or the FortiGate.

Accessing the FortiAP CLI through the FortiAP Ethernet port

The FortiAP unit has a CLI through which some configuration options can be set.

To access the FortiAP CLI through the FortiAP Ethernet port:
  1. Connect your computer to the FortiAP Ethernet interface, either directly with a cross-over cable or through a separate switch or hub.
  2. Change your computer IP address to 192.168.1.3
  3. Using SSH, connect to IP address 192.168.1.2.
  4. Ensure that FortiAP is in a private network with no DHCP server for the static IP address to be accessible.
  5. Login with user name admin and no password.
  6. Enter commands, as needed.
  7. Optionally, use the passwd command to assign an administrative password for better security.
  8. Save the configuration by entering the following command:

    cfg –c .

  9. Unplug the FortiAP and then plug it back in, in order for the configuration to take effect.

Accessing the FortiAP CLI through the FortiGate

After the FortiAP has been installed, physical access to the unit can be inconvenient. You can access the FortiAP CLI of a connected FortiAP unit through the FortiGate unit that controls it.

To access the FortiAP CLI through the FortiGate:
  1. In the FortiGate GUI, go to WiFi and Switch Controller > Managed FortiAPs.
  2. Right click the row of the FortiAP that you want to connect to and then select >_ Connect to CLI.

    The CLI Console window opens.

  3. If the password prompt appears, then enter the required password. By default, there is no password.
  4. When you are finished using the FortiAP CLI, enter exit.
  5. To close the CLI Console window, click the X in the top right corner of the window.

FortiAP CLI access

FortiAP CLI access

This section explains how to access the FortiAP CLI through the FortiAP Ethernet port or the FortiGate.

Accessing the FortiAP CLI through the FortiAP Ethernet port

The FortiAP unit has a CLI through which some configuration options can be set.

To access the FortiAP CLI through the FortiAP Ethernet port:
  1. Connect your computer to the FortiAP Ethernet interface, either directly with a cross-over cable or through a separate switch or hub.
  2. Change your computer IP address to 192.168.1.3
  3. Using SSH, connect to IP address 192.168.1.2.
  4. Ensure that FortiAP is in a private network with no DHCP server for the static IP address to be accessible.
  5. Login with user name admin and no password.
  6. Enter commands, as needed.
  7. Optionally, use the passwd command to assign an administrative password for better security.
  8. Save the configuration by entering the following command:

    cfg –c .

  9. Unplug the FortiAP and then plug it back in, in order for the configuration to take effect.

Accessing the FortiAP CLI through the FortiGate

After the FortiAP has been installed, physical access to the unit can be inconvenient. You can access the FortiAP CLI of a connected FortiAP unit through the FortiGate unit that controls it.

To access the FortiAP CLI through the FortiGate:
  1. In the FortiGate GUI, go to WiFi and Switch Controller > Managed FortiAPs.
  2. Right click the row of the FortiAP that you want to connect to and then select >_ Connect to CLI.

    The CLI Console window opens.

  3. If the password prompt appears, then enter the required password. By default, there is no password.
  4. When you are finished using the FortiAP CLI, enter exit.
  5. To close the CLI Console window, click the X in the top right corner of the window.