Fortinet black logo

CLI Reference

config switch-controller location

config switch-controller location

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 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

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 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