< Home

ap-location (upgrade-compatible command)

Function

ap-location command sets the latitude and longitude of an AP.

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

Format

ap-location longitude { e | w } longitude-value latitude { s | n } latitude-value

ap-location latitude { s | n } latitude-value longitude { e | w } longitude-value

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.
For example, the east longitude value of an AP can be set to longitude e 120-45-23 in DMS format and longitude e 120.756333333 in DD format.
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.
For example, the west longitude value of an AP can be set to longitude w 120-45-23 in DMS format and longitude w 120.756333333 in DD format.
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.
For example, the south longitude value of an AP can be set to latitude s 78-45-23 in DMS format and latitude s 78.756333333 in DD format.
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.
For example, the north longitude value of an AP can be set to latitude n 78-45-23 in DMS format and latitude n 78.756333333 in DD format.

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >