< Home

coordinate

Function

The coordinate command sets the longitude and latitude of a user-defined region to identify the region in the traffic map and threat map on the web UI.

The undo coordinate command deletes the specified longitude and latitude of a user-defined region.

Format

coordinate longitude longitude-value latitude latitude-value

undo coordinate

Parameters

Parameter Description Value
longitude longitude-value Specifies the longitude of a user-defined region. The value is a decimal ranging from -180.00 to 180.00, in degrees. A positive number indicates the east longitude and a negative number the west longitude.
latitude latitude-value Specifies the latitude of a user-defined region. The value is a decimal ranging from -90.00 to 90.00, in degrees. A positive number indicates the north latitude and a negative number the south latitude.

Views

User-defined region view

Default Level

2: Configuration level

Usage Guidelines

If you do not specify the longitude or latitude, the traffic and threats from this region cannot be displayed on the traffic map and threat map on the web UI. However, the policy reference of the user-defined region is not affected.

Example

# Set the longitude and latitude of user-defined region mycity respectively to 145 °E and 55 °E.

<sysname> system-view
[sysname] location
[sysname-location] geo-location user-defined mycity
[sysname-user-defined-location-mycity] coordinate longitude 145 latitude -55
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >