Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1955

LLDP Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
71.29
Usage
Latitude and longitude values are always stored internally, and advertised in the Location
Identification TLV, as 34-bit fixed-point binary numbers, with a 25-bit fractional part,
irrespective of the number of digits entered by the user. Likewise 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
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
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:
Related Commands
location coord-location-id
location coord-location identifier
show lldp local-info
show location
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