lldp med location-id coordinate-based
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]... ]}A coordinate-based location for an endpoint device is not configured.
- 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.
- 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.
- 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.
- datum
- Specifies the map used as the basis for calculating the location. The value can be one of the following:
Global configuration mode
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.
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