lldp med location-id civic-address

Configures a civic-address-based location for Link Layer Discovery Protocol-Media Endpoint Discovery (LLDP-MED).
Syntax
lldp med location-id civic-address refers-to reference country country-code [ elem CA-type value [ elem CA-type value ] ... ] ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp med location-id civic-address refers-to reference country country-code [ elem CA-type value [ elem CA-type value ] ... ] ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

An LLDP-MED civic address is not configured.

Parameters
refers-to reference
Specifies the location that the entry refers to. Specify one of the following: client, dhcp-server, or network-element.
Note: The dhcp-server or network-element keywords should be used only if it is known that the endpoint is in close physical proximity to the DHCP server or network element.
country country-code
Specifies a two-letter ISO 3166 country code in capital ASCII letters as follows:
  • CA (Canada)
  • DE (Germany)
  • JP (Japan)
  • KR (Korea)
  • US (United States)
elem CA-type
Specifies the civic address element. This a value from 0 to 255 that describes the civic address element. Refer to the usage guidelines.
value
Specifies the actual value of the element CA type.
ethernet unit/slot/port
Specifies the Ethernet port.
to unit/slot/port
Specifies a range of Ethernet ports.
Modes

Global configuration mode

Usage Guidelines

If the value of an element contains one or more spaces, use double quotation marks (") at the beginning and end of the string. For example, elem 3 "Santa Clara".

You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges.

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

The no form of the command removes the configuration.

Elements Used With a Civic Address

Civic address (CA) type

Description

Acceptable values / examples

0

Language

The ISO 639 language code used for presenting the address information.

1

National subdivisions (state, canton, region, province, or prefecture)

Examples:

Canada - Province

Germany - State

Japan - Metropolis

Korea - Province

United States - State

2

County, parish, gun (JP), or district (IN)

Examples:

Canada - County

Germany - County

Japan - City or rural area

Korea - County

United States - County

3

City, township, or shi (JP)

Examples:

Canada - City or town

Germany - City

Japan - Ward or village

Korea - City or village

United States - City or town

4

City division, borough, city district, ward, or chou (JP)

Examples:

Canada - N/A

Germany - District

Japan - Town

Korea - Urban district

United States - N/A

5

Neighborhood or block

Examples:

Canada - N/A

Germany - N/A

Japan - City district

Korea - Neighborhood

United States - N/A

6

Street

Examples:

Canada - Street

Germany - Street

Japan - Block

Korea - Street

United States - Street

16

Leading street direction

N (north), E (east), S (south), W (west), NE, NW, SE, SW

17

Trailing street suffix

N (north), E (east), S (south), W (west), NE, NW, SE, SW

18

Street suffix

Acceptable values for the United States are listed in the United States Postal Service Publication 28 [18], Appendix C.

Example: Ave, Place

19

House number

The house number (street address)

Example: 1234

20

House number suffix

A modifier to the house number. It does not include parts of the house number.

Example: A, 1/2

21

Landmark or vanity address

A string name for a location. It conveys a common local designation of a structure, a group of buildings, or a place that helps to locate the place.

Example: UC Berkeley

22

Additional location information

An unstructured string name that conveys additional information about the location.

Example: west wing

23

Name (residence and office occupant)

Identifies the person or organization associated with the address.

Example: Textures Beauty Salon

24

Postal / zip code

The valid postal / zip code for the address.

Example: 95054-1234

25

Building (structure)

The name of a single building if the street address includes more than one building or if the building name is helpful in identifying the location.

Example: Law Library

26

Unit (apartment, suite)

The name or number of a part of a structure where there are separate administrative units, owners, or tenants, such as separate companies or families who occupy that structure. Common examples include suite or apartment designations.

Example: Apt 27

27

Floor

Example: 4

28

Room number

The smallest identifiable subdivision of a structure.

Example: 7A

29

Place type

The type of place described by the civic coordinates. For example, a home, office, street, or other public space.

Example: Office

30

Postal community name

When the postal community name is defined, the civic community name (typically CA type 3) is replaced by this value.

Example: Alviso

31

Post office box (P.O. box)

When a P.O. box is defined, the street address components (CA types 6, 16, 17, 18, 19, and 20) are replaced with this value.

Example: P.O. Box 1234

32

Additional code

An additional country-specific code that identifies the location. For example, for Japan, this is the Japan Industry Standard (JIS) address code. The JIS address code provides a unique address inside of Japan, down to the level of indicating the floor of the building.

128

Script

The script (from ISO 15924 [14]) used to present the address information.

Example: Latn

Note: If not manually configured, the system assigns the default value Latn.

255

Reserved

The no form of the command removes the LLDP-MED civic address.

Examples

The following example configures a civic-address-based location.

device(config)# lldp med location-id civic-address refers-to client country US elem 1 CA elem 3 "Santa Clara" elem 6 "4980 Great America Pkwy" elem 24 95054 elem 27 5 elem 28 551 elem 29 office elem 23 "John Doe"