Fortinet black logo

CLI Reference

config switch-controller location

config switch-controller location

Note

This command is available for model(s): FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1200D, FortiGate 140E-POE, FortiGate 140E, FortiGate 1500DT, FortiGate 1500D, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 401E, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 601E, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, 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, FortiGate VM64, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, 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
        set name {string}
    next
end

config switch-controller location

Parameter

Description

Type

Size

Default

name

Unique location item name.

string

Not Specified

config address-civic

Parameter

Description

Type

Size

Default

additional

Location additional details.

string

Not Specified

additional-code

Location additional code details.

string

Not Specified

block

Location block details.

string

Not Specified

branch-road

Location branch road details.

string

Not Specified

building

Location building details.

string

Not Specified

city

Location city details.

string

Not Specified

city-division

Location city division details.

string

Not Specified

country

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

string

Not Specified

country-subdivision

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

string

Not Specified

county

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

string

Not Specified

direction

Leading street direction.

string

Not Specified

floor

Floor.

string

Not Specified

landmark

Landmark or vanity address.

string

Not Specified

language

Language.

string

Not Specified

name

Name (residence and office occupant).

string

Not Specified

number

House number.

string

Not Specified

number-suffix

House number suffix.

string

Not Specified

place-type

Place type.

string

Not Specified

post-office-box

Post office box.

string

Not Specified

postal-community

Postal community name.

string

Not Specified

primary-road

Primary road name.

string

Not Specified

road-section

Road section.

string

Not Specified

room

Room number.

string

Not Specified

script

Script used to present the address information.

string

Not Specified

seat

Seat number.

string

Not Specified

street

Street.

string

Not Specified

street-name-post-mod

Street name post modifier.

string

Not Specified

street-name-pre-mod

Street name pre modifier.

string

Not Specified

street-suffix

Street suffix.

string

Not Specified

sub-branch-road

Sub branch road name.

string

Not Specified

trailing-str-suffix

Trailing street suffix.

string

Not Specified

unit

Unit (apartment, suite).

string

Not Specified

zip

Postal/zip code.

string

Not Specified

parent-key

Parent key name.

string

Not Specified

config coordinates

Parameter

Description

Type

Size

Default

altitude

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

string

Not Specified

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

Not Specified

longitude

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

string

Not Specified

parent-key

Parent key name.

string

Not Specified

config elin-number

Parameter

Description

Type

Size

Default

elin-num

Configure ELIN callback number.

string

Not Specified

parent-key

Parent key name.

string

Not Specified

config switch-controller location

Note

This command is available for model(s): FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1200D, FortiGate 140E-POE, FortiGate 140E, FortiGate 1500DT, FortiGate 1500D, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 401E, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 601E, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, 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, FortiGate VM64, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, 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
        set name {string}
    next
end

config switch-controller location

Parameter

Description

Type

Size

Default

name

Unique location item name.

string

Not Specified

config address-civic

Parameter

Description

Type

Size

Default

additional

Location additional details.

string

Not Specified

additional-code

Location additional code details.

string

Not Specified

block

Location block details.

string

Not Specified

branch-road

Location branch road details.

string

Not Specified

building

Location building details.

string

Not Specified

city

Location city details.

string

Not Specified

city-division

Location city division details.

string

Not Specified

country

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

string

Not Specified

country-subdivision

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

string

Not Specified

county

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

string

Not Specified

direction

Leading street direction.

string

Not Specified

floor

Floor.

string

Not Specified

landmark

Landmark or vanity address.

string

Not Specified

language

Language.

string

Not Specified

name

Name (residence and office occupant).

string

Not Specified

number

House number.

string

Not Specified

number-suffix

House number suffix.

string

Not Specified

place-type

Place type.

string

Not Specified

post-office-box

Post office box.

string

Not Specified

postal-community

Postal community name.

string

Not Specified

primary-road

Primary road name.

string

Not Specified

road-section

Road section.

string

Not Specified

room

Room number.

string

Not Specified

script

Script used to present the address information.

string

Not Specified

seat

Seat number.

string

Not Specified

street

Street.

string

Not Specified

street-name-post-mod

Street name post modifier.

string

Not Specified

street-name-pre-mod

Street name pre modifier.

string

Not Specified

street-suffix

Street suffix.

string

Not Specified

sub-branch-road

Sub branch road name.

string

Not Specified

trailing-str-suffix

Trailing street suffix.

string

Not Specified

unit

Unit (apartment, suite).

string

Not Specified

zip

Postal/zip code.

string

Not Specified

parent-key

Parent key name.

string

Not Specified

config coordinates

Parameter

Description

Type

Size

Default

altitude

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

string

Not Specified

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

Not Specified

longitude

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

string

Not Specified

parent-key

Parent key name.

string

Not Specified

config elin-number

Parameter

Description

Type

Size

Default

elin-num

Configure ELIN callback number.

string

Not Specified

parent-key

Parent key name.

string

Not Specified