C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1721
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
LLDP C
OMMANDS
LOCATION
COORD
-
LOCATION
CONFIGURATION
altitude is stored as a 30- bit fixed point binary number, with an 8-bit fractional
part. Because the user-entered decimal values are stored as fixed point binary
numbers, they cannot always be represented exactly—the stored binary number
is converted to a decimal number for display in the output of the
show location
command. For example, a user-entered latitude value of “2.77” degrees is
displayed as “2.7699999809265136718750000”.
The
lat-resolution
,
long-resolution
, and
alt-resolution
parameters allow the
user to specify the resolution of each coordinate element as the number of valid
bits in the internally-stored binary representation of the value. These resolution
values can be used by emergency services to define a search area.
To specify the coordinate identifier, use the
location coord-location identifier
command. To remove coordinate information, delete the coordinate location by
using the
no
variant of that command. To associate the coordinate location with
particular ports, so that it can be advertised in TLVs from those ports, use the
location elin-location-id
command.
Example
To configure the location for the White House in Washington DC, which has the
coordinates based on the WGS84 datum of 38.89868 degrees North (with 22 bit
resolution), 77.03723 degrees West (with 22 bit resolution), and 15 meters height
(with 9 bit resolution), use the commands:
awplus#
configure terminal
awplus(config)#
location coord-location identifier 1
awplus(config-coord)#
la-resolution 22
awplus(config-coord)#
latitude 38.89868
awplus(config-coord)#
lo-resolution 22
awplus(config-coord)#
longitude -77.03723
awplus(config-coord)#
alt-resolution 9
awplus(config-coord)#
altitude 15 meters
awplus(config-coord)#
datum wgs84
Related
Commands
location coord-location-id
location coord-location identifier
show lldp local-info
show location