Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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

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

Placetype.

string

Maximum length: 47

post-office-box

Post office box (P.O. 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

altitude

+/- Floating point no. eg. 117.47.

string

Maximum length: 15

altitude-unit

m ( meters), f ( floors).

option

-

 

Option

Description

m

set altitude unit meters

f

set altitude unit floors

datum

WGS84, NAD83, NAD83/MLLW.

option

-

 

Option

Description

WGS84

set coordinates datum WGS84

NAD83

set coordinates datum NAD83

NAD83/MLLW

set coordinates datum NAD83/MLLW

latitude

Floating point start with ( +/- ) or end with ( N or S ) eg. +/-16.67 or 16.67N.

string

Maximum length: 15

longitude

Floating point start with ( +/- ) or end with ( E or W ) eg. +/-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

elin-num

Configure ELIN callback number.

string

Maximum length: 31

parent-key

Parent key name.

string

Maximum length: 63

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

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

Placetype.

string

Maximum length: 47

post-office-box

Post office box (P.O. 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

altitude

+/- Floating point no. eg. 117.47.

string

Maximum length: 15

altitude-unit

m ( meters), f ( floors).

option

-

 

Option

Description

m

set altitude unit meters

f

set altitude unit floors

datum

WGS84, NAD83, NAD83/MLLW.

option

-

 

Option

Description

WGS84

set coordinates datum WGS84

NAD83

set coordinates datum NAD83

NAD83/MLLW

set coordinates datum NAD83/MLLW

latitude

Floating point start with ( +/- ) or end with ( N or S ) eg. +/-16.67 or 16.67N.

string

Maximum length: 15

longitude

Floating point start with ( +/- ) or end with ( E or W ) eg. +/-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

elin-num

Configure ELIN callback number.

string

Maximum length: 31

parent-key

Parent key name.

string

Maximum length: 63