service lldp interface <interface> location civic-based
Records a civic-based location for an LLDP-enabled device.
- interface
- An interface to which the configured information applies. The name of any IEEE 802.1-compatible interface or the all keyword, where all refers to all 802.1-compatible interfaces.
- ca-type type
- Multinode. Records a civic address type as defined in the ANSI document. The type is one of the following:
- 0 — Language
- 1 — National subdivisions
- 2 — County, parish, district
- 3 — City, township
- 4 — City division, borough, ward
- 5 — Neighborhood, block
- 6 — Street
- 16 — Leading street direction
- 17 — Trailing street suffix
- 18 — Street suffix
- 19 — House number
- 20 — House number suffix
- 21 — Landmark or vanity address
- 22 — Additional location info
- 23 — Name
- 24 — Postal or ZIP code
- 25 — Building
- 26 — Unit
- 27 — Floor
- 28 — Room number
- 29 — Place type
- 128 — Script
You can record multiple civic address components by creating multiple ca-type and ca-value pairs, where each pair represents a different component.
- ca-value value
- The value for the specified civic address type.
- country-code code
- A two-letter code, as defined in ISO 3166, representing the country in which the device is located.
Configuration mode
service {
lldp {
interface interface {
location {
civic-based {
ca-type type {
ca-value value
}
country-code code
}
}
}
}
Use this command to record the components of a civic address identifying the location of the device. A civic address-based location requires a country code and at least one ca-type and ca-value pair.
Use the set form of this command to specify a component of a civic address.
Use the delete form of this command to remove civic address configuration.
Use the show form of this command to show civic address component configuration.