lldp med location-id coordinate-based

Configures a coordinate-based location for an endpoint device.
Syntax
lldp med location-id coordinate-basedlatitudedegreesresolutionbitslongitudedegreesresolutionbitsaltitude{floorsnumberresolutionbits|metersnumberresolutionbits}datumports{all| [ ethernetunit/slot/port[tounit/slot/port]... ]}
no lldp med location-id coordinate-basedlatitudedegreesresolutionbitslongitudedegreesresolutionbitsaltitude{floorsnumberresolutionbits|metersnumberresolutionbits}datumports{all| [ ethernetunit/slot/port[tounit/slot/port]... ]}
Command Default

A coordinate-based location for an endpoint device is not configured.

Parameters
latitudedegrees
Specifies the angular distance north or south from the earth equator, measured through 90 degrees. Positive numbers indicate a location north of the equator and negative numbers indicate a location south of the equator.
resolutionbits
Specifies the precision of the value given for latitude. A smaller value increases the area within which the device is located. For latitude, the value can range from 1 to 34.
longitudedegrees
Specifies the angular distance from the intersection of the zero meridian. Positive values indicate a location east of the prime meridian and negative numbers indicate a location west of the prime meridian.
resolutionbits
Specifies the precision of the value given for longitude. A smaller value increases the area within which the device is located. For longitude resolution, enter a number between 1 and 34.
altitude
Specifies the vertical elevation of a building above the ground.
floorsnumber
Specifies the vertical elevation of a building above the ground, where 0 represents the floor level associated with the ground level at the main entrance and larger values represent floors that are above (higher in altitude) floors with lower values. Subfloors can be represented by noninteger values.
resolutionbits
Specifies the precision of the value given for altitude. A smaller value increases the area within which the device is located. For floor resolution, enter the value 0 if the floor is unknown or 30 if a valid floor is being specified.
metersnumber
Specifies the vertical elevation, in meters, as opposed to floors.
resolutionbits
Specifies the precision of the value given for altitude. A smaller value increases the area within which the device is located. For meter resolution, enter a value from 0 to 30.
datum
Specifies the map used as the basis for calculating the location. The value can be one of the following:
wgs84
World Geodesic System 1984, CRS Code 4327, Prime Meridian Name: Greenwich.
nad83-navd88
North American Datum 1983, CRS Code 4269, Prime Meridian Name: Greenwich. The associated vertical datum is the North American Vertical Datum of 1988 (NAVD88). Use this value when referencing locations on land. If land is near tidal water, use nad83-mllw.
nad83-mllw
North American Datum 1983, CRS Code 4269, Prime Meridian Name: Greenwich. The associated vertical datum is mean lower low water (MLLW). Use this value when referencing locations on water, sea, or ocean.
ports
Introduces the set of Ethernet interfaces to be included in the configuration.
all
Specifies that all Ethernet ports included in the configuration.
ethernetunit/slot/port
Specifies an Ethernet port.
tounit/slot/port
Specifies a range of Ethernet ports.
Modes

Global configuration mode

Usage Guidelines

You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges. Include zeros as a prefix after the floor level and the meters.

The command cannot support LAG virtual interfaces. Attempting to configure them will have no effect.

The no form of the command removes a coordinate-based location for an Endpoint device.

Examples

The following example configures a coordinate-based location.

device(config)# lldp med location-id coordinate-based latitude -78.303 resolution 20 longitude 34.27 resolution 18 altitude meters 50.00 resolution 16 wgs84 ports all
device(config)#lldp med location-id coordinate-based latitude 41.87884 resolution 18 longitude 87.63602 resolution 18 altitude floors 103.00 resolution 30 wgs84