< Home

coordinate

Function

The coordinate command sets the latitude and longitude of an AP.

The undo coordinate command restores the latitude and longitude of an AP to empty.

By default, no latitude or longitude is configured for an AP.

Format

coordinate longitude { e | w } longitude-value latitude { s | n } latitude-value

undo coordinate

Parameters

Parameter Description Value

longitude e longitude-value

Specifies the east longitude value of an AP.

The value supports two formats: degrees, minutes, and seconds (DMS) and decimal degrees (DD).
  • The DMS format is XXX-XX-XX. XXX ranges from 0 to 180, and XX ranges from 0 to 59.
  • The DD format is XXX.XXXXXXXXX. XXX ranges from 0 to 180, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.

longitude w longitude-value

Specifies the west longitude value of an AP.

The value supports two formats: DMS and DD.
  • The DMS format is XXX-XX-XX. XXX ranges from 0 to 180, and XX ranges from 0 to 59.
  • The DD format is XXX.XXXXXXXXX. XXX ranges from 0 to 180, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.

latitude s latitude-value

Specifies the south longitude value of an AP.

The value supports two formats: DMS and DD.
  • The DMS format is XX-XX-XX. The first XX ranges from 0 to 90, and the other XXs range from 0 to 59.
  • The DD format is XX.XXXXXXXXX. XX ranges from 0 to 90, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.

latitude n latitude-value

Specifies the north longitude value of an AP.

The value supports two formats: DMS and DD.
  • The DMS format is XX-XX-XX. The first XX ranges from 0 to 90, and the other XXs range from 0 to 59.
  • The DD format is XX.XXXXXXXXX. XX ranges from 0 to 90, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to set the longitude and latitude of an AP for easily locating it.

Example

# Set the longitude and latitude of an AP to 114.3435°E and 14.3435°S, respectively.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-id 0
[HUAWEI-wlan-ap-0] coordinate longitude e 114.3435 latitude s 14.3435
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >