Installing firmware : Installing firmware : Reconnecting to the FortiMail unit
Reconnecting to the FortiMail unit
After downgrading to a previous firmware version, the FortiMail unit reverts to default settings for the installed firmware version, including the IP addresses of network interfaces through which you connect to the FortiMail web UI and/or CLI.
Use either of the following procedures if the FortiMail unit has been reset to a default configuration and you need to reconnect to the web UI.
 
If your FortiMail unit has not been reset to its default configuration, but you cannot connect to the web UI or CLI, you can restore the firmware, resetting the FortiMail unit to its default configuration in order to reconnect using the default network interface IP address. For more information, see “Clean installing firmware”.
To reconnect using the LCD panel
 
This procedure requires a FortiMail model whose hardware includes a front LCD panel.
1. Press Enter to display the Main Menu.
2. Press Enter to display the interface list.
3. Use the up or down arrows to highlight the network interface that is connected to your management computer, and press Enter.
4. Press Enter for IP Address.
5. Use the up and down arrows to increase or decrease each number of each IP address digit. Press Enter to go to the next IP address digit or press Esc to move to the previous digit.
6. After selecting the last IP address digit, press Enter to save the IP address.
7. Repeat steps to to enter the netmask address for the network interface.
8. After selecting the last netmask address digit, press Enter to save the netmask address.
9. Press Esc to return to the Main Menu.
The network interface’s IP address and netmask is saved. You can now reconnect to either the web UI or CLI through that network interface using. For information on restoring the configuration, see “Restoring the configuration”.
To reconnect using the CLI
1. Connect your management computer to the FortiMail console port using a RJ-45 to DB-9 serial cable or a null-modem cable.
2. Start HyperTerminal, enter a name for the connection and click OK.
3. Configure HyperTerminal to connect directly to the communications (COM) port on your computer and click OK.
4. Select the following port settings and click OK:
 
Bits per second
9600
Data bits
8
Parity
None
Stop bits
1
Flow control
None
5. Press Enter to connect to the FortiMail CLI.
The login prompt appears.
6. Type admin and press Enter twice.
The following prompt appears:
Welcome!
7. Enter the following command:
set system interface <interface_str> mode static ip <address_ipv4> <mask_ipv4>
where:
<interface_str> is the name of the network interface, such as port1
<address_ipv4> is the IP address of the network interface, such as 192.168.1.10
<mask_ipv4> is the netmask of the network interface, such as 255.255.255.0
8. Enter the following command:
set system interface <interface_str> config allowaccess <accessmethods_str>
where:
<interface_str> is the name of the network interface configured in the previous step, such as port1
<accessmethods_str> is a space-delimited list of the administrative access protocols that you want to allow on that network interface, such as ping ssh https
The network interface’s IP address and netmask is saved. You can now reconnect to either the web UI or CLI through that network interface. For information on restoring the configuration, see “Restoring the configuration”.