About the CFS
The CFS allows you to manage the controller operating system (FortiWLC (SD)) and its configuration files.
Files used to operate the controller are located in directories on the controller flash card. Initially, the flash contains the shipped operating system, referred to as the image, which of course is set with default settings. During the course of normal operation, you probably will want to perform some or all of the following tasks:
- Configure custom settings and save the settings to a configuration file.
- Save the configuration file to a backup directory on the controller.
- Save the configuration file to a remote location to provide a more secure backup or as input for configuring other controllers.
- Restore the settings from a known, reliable backup file.
- Restore the system to its default settings.
- Upgrade the system to a new version of the operating system.
- Downgrade the system to a previous operating system version.
- Execute scripts to automate configuration.
To accomplish these tasks you need to use the CFS to manipulate files. The CFS allows you to perform the following tasks:
- Display information about files within a directory
- The display information includes the file name, size, and date of modification.
- Navigate to different directories
- You can navigate to different directories and list the files in a directory.
- Copy files
The CFS allows you to copy files on the controller via a pathname or to manipulate remote files. Use Uniform Resource Locators (URLs) to specify the location of a remote file. URLs are commonly used to specify files or locations on the World Wide Web. You can use the URL format to copy file to or retrieve files from a location on a remote file server.
- Delete files
Working with Local Directories
The controller flash card uses the following directories to organize its system files. You can access the following local directories:
|Directory Name||Directory Contents|
|images||Directory where the current image resides and where you can place upgrade images that you have obtained remotely.|
|backup||Directory containing backup configuration files and databases.|
|ATS/scripts||Directory containing AP bootup scripts.|
|capture||Directory containing the packet capture files.|
Viewing Directory and File Information
Use the pwd command to view the current directory. By default, the current working directory is images, as shown with the pwd command:
controller# pwd images
To view a detailed listing about the contents of a directory, use the dir command, which accepts an optional directory or filename argument: dir [[directory/]filename]
For example, to display the contents of the images directory:
About the CFS
controller# dir total 10 total 70
drwxr‐xr‐x 8 root root 1024 Jan 30 11:00 meru‐3.6‐45 drwxrwxr‐x 8 522 522 1024 Feb 21 2008 meru‐3.6‐46 ‐rw‐r‐‐r‐‐ 1 root root 2233 Feb 19 02:07 meru.user‐diagnostics.Dickens.2008‐02‐19.02‐07‐17.tar.gz
‐rw‐r‐‐r‐‐ 1 root root 3195 Feb 19 02:17 meru.user‐diagnostics.Dickens.2008‐02‐19.02‐17‐17.tar.gz
‐rw‐r‐‐r‐‐ 1 root root 3064 Feb 21 00:50 meru.user‐diagnostics.Dickens.2008‐02‐21.00‐50‐50.tar.gz
lrwxrwxrwx 1 root root 28 Feb 21 00:50 mibs.tar.gz ‐> meru‐
‐rw‐r‐‐r‐‐ 1 root root 16778 Feb 21 00:50 pre‐upgrade‐config
‐rw‐r‐‐r‐‐ 1 root root 18549 Feb 21 00:53 script.log
‐rw‐r‐‐r‐‐ 1 root root 16427 Feb 21 00:53 startup‐config
‐rw‐‐‐‐‐‐‐ 1 root root 1915 Feb 21 00:50 upgrade.log To view information about a file in different directory, use the directory arguments:
controller# dir ATS/scripts
‐rwxr‐xr‐x 1 root root 67 Feb 21 2008 dense‐.scr
‐rwxr‐xr‐x 1 root root 25 Feb 21 2008 guard.scr
‐rwxr‐xr‐x 1 root root 82 Feb 21 2008 non‐guard.scr ‐rwxr‐xr‐x 1 root root 126 Feb 21 2008 svp.scr
Changing to Another Directory
Use the cd command to navigate to another directory on the controller: controller# cd backup
Use the pwd command to view the name of the current directory:
controller# pwd backup
Having trouble configuring your Fortinet hardware or have some questions you need answered? Ask your questions in the comments below!!! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!
Don't Forget To Buy Your Fortinet Hardware From The Fortinet GURU