Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller location

config switch-controller location

Note

This command is available for model(s): FortiGate 1000D, FortiGate 100F, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 140E-POE, FortiGate 140E, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 3000D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate 5001E1, FortiGate 5001E.

Configure FortiSwitch location services.

config switch-controller location
    Description: Configure FortiSwitch location services.
    edit <name>
        config address-civic
            Description: Configure location civic address.
            set additional {string}
            set additional-code {string}
            set block {string}
            set branch-road {string}
            set building {string}
            set city {string}
            set city-division {string}
            set country {string}
            set country-subdivision {string}
            set county {string}
            set direction {string}
            set floor {string}
            set landmark {string}
            set language {string}
            set name {string}
            set number {string}
            set number-suffix {string}
            set place-type {string}
            set post-office-box {string}
            set postal-community {string}
            set primary-road {string}
            set road-section {string}
            set room {string}
            set script {string}
            set seat {string}
            set street {string}
            set street-name-post-mod {string}
            set street-name-pre-mod {string}
            set street-suffix {string}
            set sub-branch-road {string}
            set trailing-str-suffix {string}
            set unit {string}
            set zip {string}
            set parent-key {string}
        end
        config coordinates
            Description: Configure location GPS coordinates.
            set altitude {string}
            set altitude-unit [m|f]
            set datum [WGS84|NAD83|...]
            set latitude {string}
            set longitude {string}
            set parent-key {string}
        end
        config elin-number
            Description: Configure location ELIN number.
            set elin-num {string}
            set parent-key {string}
        end
    next
end

config switch-controller location

Parameter

Description

Type

Size

Default

name

Unique location item name.

string

Maximum length: 63

config address-civic

Parameter

Description

Type

Size

Default

additional

Location additional details.

string

Maximum length: 47

additional-code

Location additional code details.

string

Maximum length: 47

block

Location block details.

string

Maximum length: 47

branch-road

Location branch road details.

string

Maximum length: 47

building

Location building details.

string

Maximum length: 47

city

Location city details.

string

Maximum length: 47

city-division

Location city division details.

string

Maximum length: 47

country

The two-letter ISO 3166 country code in capital ASCII letters eg. US, CA, DK, DE.

string

Maximum length: 47

country-subdivision

National subdivisions (state, canton, region, province, or prefecture).

string

Maximum length: 47

county

County, parish, gun (JP), or district (IN).

string

Maximum length: 47

direction

Leading street direction.

string

Maximum length: 47

floor

Floor.

string

Maximum length: 47

landmark

Landmark or vanity address.

string

Maximum length: 47

language

Language.

string

Maximum length: 47

name

Name (residence and office occupant).

string

Maximum length: 47

number

House number.

string

Maximum length: 47

number-suffix

House number suffix.

string

Maximum length: 47

place-type

Place type.

string

Maximum length: 47

post-office-box

Post office box.

string

Maximum length: 47

postal-community

Postal community name.

string

Maximum length: 47

primary-road

Primary road name.

string

Maximum length: 47

road-section

Road section.

string

Maximum length: 47

room

Room number.

string

Maximum length: 47

script

Script used to present the address information.

string

Maximum length: 47

seat

Seat number.

string

Maximum length: 47

street

Street.

string

Maximum length: 47

street-name-post-mod

Street name post modifier.

string

Maximum length: 47

street-name-pre-mod

Street name pre modifier.

string

Maximum length: 47

street-suffix

Street suffix.

string

Maximum length: 47

sub-branch-road

Sub branch road name.

string

Maximum length: 47

trailing-str-suffix

Trailing street suffix.

string

Maximum length: 47

unit

Unit (apartment, suite).

string

Maximum length: 47

zip

Postal/zip code.

string

Maximum length: 47

parent-key

Parent key name.

string

Maximum length: 63

config coordinates

Parameter

Description

Type

Size

Default

altitude

Plus or minus floating point number. For example, 117.47.

string

Maximum length: 15

altitude-unit

Configure the unit for which the altitude is to (m = meters, f = floors of a building).

option

-

m

Option

Description

m

set altitude unit meters

f

set altitude unit floors

datum

WGS84, NAD83, NAD83/MLLW.

option

-

WGS84

Option

Description

WGS84

set coordinates datum WGS84

NAD83

set coordinates datum NAD83

NAD83/MLLW

set coordinates datum NAD83/MLLW

latitude

Floating point starting with +/- or ending with (N or S). For example, +/-16.67 or 16.67N.

string

Maximum length: 15

longitude

Floating point starting with +/- or ending with (N or S). For example, +/-26.789 or 26.789E.

string

Maximum length: 15

parent-key

Parent key name.

string

Maximum length: 63

config elin-number

Parameter

Description

Type

Size

Default

elin-num

Configure ELIN callback number.

string

Maximum length: 31

parent-key

Parent key name.

string

Maximum length: 63

config switch-controller location

config switch-controller location

Note

This command is available for model(s): FortiGate 1000D, FortiGate 100F, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 140E-POE, FortiGate 140E, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 3000D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiGateRugged 70F 3G4G, FortiGateRugged 70F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate 5001E1, FortiGate 5001E.

Configure FortiSwitch location services.

config switch-controller location
    Description: Configure FortiSwitch location services.
    edit <name>
        config address-civic
            Description: Configure location civic address.
            set additional {string}
            set additional-code {string}
            set block {string}
            set branch-road {string}
            set building {string}
            set city {string}
            set city-division {string}
            set country {string}
            set country-subdivision {string}
            set county {string}
            set direction {string}
            set floor {string}
            set landmark {string}
            set language {string}
            set name {string}
            set number {string}
            set number-suffix {string}
            set place-type {string}
            set post-office-box {string}
            set postal-community {string}
            set primary-road {string}
            set road-section {string}
            set room {string}
            set script {string}
            set seat {string}
            set street {string}
            set street-name-post-mod {string}
            set street-name-pre-mod {string}
            set street-suffix {string}
            set sub-branch-road {string}
            set trailing-str-suffix {string}
            set unit {string}
            set zip {string}
            set parent-key {string}
        end
        config coordinates
            Description: Configure location GPS coordinates.
            set altitude {string}
            set altitude-unit [m|f]
            set datum [WGS84|NAD83|...]
            set latitude {string}
            set longitude {string}
            set parent-key {string}
        end
        config elin-number
            Description: Configure location ELIN number.
            set elin-num {string}
            set parent-key {string}
        end
    next
end

config switch-controller location

Parameter

Description

Type

Size

Default

name

Unique location item name.

string

Maximum length: 63

config address-civic

Parameter

Description

Type

Size

Default

additional

Location additional details.

string

Maximum length: 47

additional-code

Location additional code details.

string

Maximum length: 47

block

Location block details.

string

Maximum length: 47

branch-road

Location branch road details.

string

Maximum length: 47

building

Location building details.

string

Maximum length: 47

city

Location city details.

string

Maximum length: 47

city-division

Location city division details.

string

Maximum length: 47

country

The two-letter ISO 3166 country code in capital ASCII letters eg. US, CA, DK, DE.

string

Maximum length: 47

country-subdivision

National subdivisions (state, canton, region, province, or prefecture).

string

Maximum length: 47

county

County, parish, gun (JP), or district (IN).

string

Maximum length: 47

direction

Leading street direction.

string

Maximum length: 47

floor

Floor.

string

Maximum length: 47

landmark

Landmark or vanity address.

string

Maximum length: 47

language

Language.

string

Maximum length: 47

name

Name (residence and office occupant).

string

Maximum length: 47

number

House number.

string

Maximum length: 47

number-suffix

House number suffix.

string

Maximum length: 47

place-type

Place type.

string

Maximum length: 47

post-office-box

Post office box.

string

Maximum length: 47

postal-community

Postal community name.

string

Maximum length: 47

primary-road

Primary road name.

string

Maximum length: 47

road-section

Road section.

string

Maximum length: 47

room

Room number.

string

Maximum length: 47

script

Script used to present the address information.

string

Maximum length: 47

seat

Seat number.

string

Maximum length: 47

street

Street.

string

Maximum length: 47

street-name-post-mod

Street name post modifier.

string

Maximum length: 47

street-name-pre-mod

Street name pre modifier.

string

Maximum length: 47

street-suffix

Street suffix.

string

Maximum length: 47

sub-branch-road

Sub branch road name.

string

Maximum length: 47

trailing-str-suffix

Trailing street suffix.

string

Maximum length: 47

unit

Unit (apartment, suite).

string

Maximum length: 47

zip

Postal/zip code.

string

Maximum length: 47

parent-key

Parent key name.

string

Maximum length: 63

config coordinates

Parameter

Description

Type

Size

Default

altitude

Plus or minus floating point number. For example, 117.47.

string

Maximum length: 15

altitude-unit

Configure the unit for which the altitude is to (m = meters, f = floors of a building).

option

-

m

Option

Description

m

set altitude unit meters

f

set altitude unit floors

datum

WGS84, NAD83, NAD83/MLLW.

option

-

WGS84

Option

Description

WGS84

set coordinates datum WGS84

NAD83

set coordinates datum NAD83

NAD83/MLLW

set coordinates datum NAD83/MLLW

latitude

Floating point starting with +/- or ending with (N or S). For example, +/-16.67 or 16.67N.

string

Maximum length: 15

longitude

Floating point starting with +/- or ending with (N or S). For example, +/-26.789 or 26.789E.

string

Maximum length: 15

parent-key

Parent key name.

string

Maximum length: 63

config elin-number

Parameter

Description

Type

Size

Default

elin-num

Configure ELIN callback number.

string

Maximum length: 31

parent-key

Parent key name.

string

Maximum length: 63