Fortinet white logo
Fortinet white logo

FortiLAN Cloud User Guide

Defining Switch Name-Value Pairs

Defining Switch Name-Value Pairs

The zero-touch configuration CLI templates allow switch specific parameter values, each switch can have its own name-value pairs (NVPs). The NVPs for switches are defined in the Deployed Switches page (before deployment) or in the Switch Inventory page (after deployment). The switch specific NVPs are defined once and used across multiple zero-touch configuration templates.

  1. Click NVP, the Inventory Switch Name Value Pairs (NVP) List is displayed.
  2. Click Add.
  3. Select the Switch serial number.
  4. Enter a unique Parameter Name. This value is case-insensitive and a maximum of 512 characters are allowed.
  5. Enter a unique Parameter Value. This value is case-insensitive and a maximum of 2048 characters are allowed.

Note: A maximum of 1024 NVPs per switch are allowed.

FortiLAN Cloud supports the import and export of NVP data in the CSV format. This is useful for bulk data addition/updation and backup/restoration of data. Click Import to upload the NVP data, the following is a sample CSV file.

sn, hostname, password

S548DF5019000917, FSW_NYC_1, fortinyc1

S548DF5019000918, FSW_NYC_2, fortinyc2

The maximum file size is supported in 2 MB.

You can edit the data in the content field after upload and additionally populate/modify the following.

  • Column Name for Serial Number: Identifies the column in the CSV file that represents the device serial number.
  • Column Names: Identifies the columns in the CSV file to import selectively. By default, all columns are imported. The Column Name for Serial Number is implicitly included.
  • Delimiter character: A single character field specifying the character used to separate fields.
  • Quotation Character: A single character field specifying the character used to surround values, especially when they contain the delimiter character.
  • Trim Values: Specifies whether to strip values of leading and trailing white spaces while parsing.
  • Duplicate Action Row: Whether a duplicate row (data line) is ignored or overwritten.

Likewise, click Export to save NVP data.

  • Column Name for Serial Number: Identifies the column name to export for the specific switch.
  • Column (Parameter) Names (Comma Separated): A comma-separated list of NVP parameter names to export. If not specified then only the serial number column is exported.
  • Delimiter Character and Quotation Characters are single character fields, when not specified, they default to comma and double-quote respectively.
  • Trim Values: Specifies whether to strip values of leading and trailing white spaces while parsing.

Click Download Sample CSV to download a sample .csv file populated with actual FortiSwitch serial numbers. You can select the required serial numbers and modify the column data to include NVPs for FortiSwitches and then import it.

Defining Switch Name-Value Pairs

Defining Switch Name-Value Pairs

The zero-touch configuration CLI templates allow switch specific parameter values, each switch can have its own name-value pairs (NVPs). The NVPs for switches are defined in the Deployed Switches page (before deployment) or in the Switch Inventory page (after deployment). The switch specific NVPs are defined once and used across multiple zero-touch configuration templates.

  1. Click NVP, the Inventory Switch Name Value Pairs (NVP) List is displayed.
  2. Click Add.
  3. Select the Switch serial number.
  4. Enter a unique Parameter Name. This value is case-insensitive and a maximum of 512 characters are allowed.
  5. Enter a unique Parameter Value. This value is case-insensitive and a maximum of 2048 characters are allowed.

Note: A maximum of 1024 NVPs per switch are allowed.

FortiLAN Cloud supports the import and export of NVP data in the CSV format. This is useful for bulk data addition/updation and backup/restoration of data. Click Import to upload the NVP data, the following is a sample CSV file.

sn, hostname, password

S548DF5019000917, FSW_NYC_1, fortinyc1

S548DF5019000918, FSW_NYC_2, fortinyc2

The maximum file size is supported in 2 MB.

You can edit the data in the content field after upload and additionally populate/modify the following.

  • Column Name for Serial Number: Identifies the column in the CSV file that represents the device serial number.
  • Column Names: Identifies the columns in the CSV file to import selectively. By default, all columns are imported. The Column Name for Serial Number is implicitly included.
  • Delimiter character: A single character field specifying the character used to separate fields.
  • Quotation Character: A single character field specifying the character used to surround values, especially when they contain the delimiter character.
  • Trim Values: Specifies whether to strip values of leading and trailing white spaces while parsing.
  • Duplicate Action Row: Whether a duplicate row (data line) is ignored or overwritten.

Likewise, click Export to save NVP data.

  • Column Name for Serial Number: Identifies the column name to export for the specific switch.
  • Column (Parameter) Names (Comma Separated): A comma-separated list of NVP parameter names to export. If not specified then only the serial number column is exported.
  • Delimiter Character and Quotation Characters are single character fields, when not specified, they default to comma and double-quote respectively.
  • Trim Values: Specifies whether to strip values of leading and trailing white spaces while parsing.

Click Download Sample CSV to download a sample .csv file populated with actual FortiSwitch serial numbers. You can select the required serial numbers and modify the column data to include NVPs for FortiSwitches and then import it.