home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

service lldp interface <interface> location coordinate-based

Records a coordinate-based location for an LLDP-enabled device.

set service lldp interface interface location coordinate-based [ altitude altitude | datum datum | latitude latitude | longitude longitude ]
delete service lldp interface interface location coordinate-based [ altitude | datum | latitude | longitude ]
show service lldp interface interface location coordinate-based [ altitude | datum | latitude | longitude ]

No location is configured.

interface
An interface to which the configured information applies. The name of any IEEE 802.1-compatible interface can be specified or the all keyword, where all refers to all 802.1-compatible interfaces.
altitude altitude
Specifies the altitude, in meters, of the device. The default altitude is 0.
datum datum
Specifies the reference datum for the coordinate system. The datum is WGS84, NAD83, or MLLW. The default datum is WGS84.
latitude latitude
Specifies the latitude of the device. The format for the latitude is deg.minD. where deg is degrees, min is minutes to any level of precision, and D is N or S, representing North or South, respectively; for example 37.524449N.
longitude longitude
The longitude of the device. The format is deg.minD . where deg is degrees, min is minutes to any level of precision, and D is E or W, representing East or West, respectively; for example, 122.267255W.

Configuration mode


service {
    lldp {
        interface interface {
            location {
                coordinate-based {
                    altitude altitude
                    datum datum
                    latitude latitude
                    longitude longitude
                }
            }
        }
    }
}

Use this command to specify a location for a device based on its coordinates.

When a coordinate-based location is used, both the latitude and longitude must be configured; other values are optional.

Use the set form of this command to specify a coordinate-based location.

Use the delete form of this command to remove a coordinate-based location and restore any default values.

Use the show form of this command to show coordinate-based configuration.