Configure LLDP-MED Civic Address Location Information

About this task

Perform the following procedure to configure civic address location information of local LLDP-MED on specific ports.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure the civic address location by configuring the country-code and at least one other location parameter:

    lldp location-identification civic-address country-code WORD<2-2> (additional-code additional-information apartment block building city city-district county floor house-number house-number-suffix landmark leading-street-direction name place-type pobox postal-community-name postal-zip-code room-number state street street-suffix trailing-street-suffix) WORD<0-255>

    Note

    Note

    If you try to configure a civic-address with a large number of arguments, 26 or more, the command fails and a software message informs you to split the command into multiple smaller commands.

Example

Configuring civic address location on port 2/12:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#interface gigabitEthernet 2/12
Switch:1(config-if)#lldp location-identification civic-address country-code US city New York

Variable Definitions

The following table defines parameters for the lldp location-identification civic-address command.

Variable

Value

additional-code WORD<0–255>

Specifies the location information parameters.

additional-information WORD<0–255>

Example: South Wing

apartment WORD<0–255>

Example: Apt 42

block WORD<0–255>

Specifies a block, e.g. 3

building WORD<0–255>

Example: Low Library

city WORD<0–255>

Specifies a city, e.g. Sunnyvale

city-district WORD<0–255>

Specifies a city district, e.g. Santa Clara

country-code WORD<2–2>

Specifies a country using a 2 character string, example US (United States), CA (Canada).

county WORD<0–255>

Specifies a county, e.g. Alameda

floor WORD<0–255>

Example: 8

house-number WORD<0–255>

Specifies a house number, e.g. 123

house-number-suffix WORD<0–255>

Specifies a house number suffix, e.g. A, 1/2

landmark WORD<0–255>

Specifies a landmark, e.g. Columbia University

leading-street-direction WORD<0–255>

Specifies a leading street direction, e.g. N

name WORD<0–255>

Example: Joe‘s Barbershop

place-type WORD<0–255>

Example: office

pobox WORD<0–255>

Example: 12345

postal-community-name WORD<0–255>

Example: Leonia

postal-zip-code WORD<0–255>

Specifies a postal or zip code, e.g. 95054

room-number WORD<0–255>

Example: 450F

state WORD<0–255>

Specifies a state, e.g. NJ, FL

street WORD<0–255>

Specifies a street, e.g. Great America Parkway

street-suffix WORD<0–255>

Specifies a street suffix, e.g. Ave, Blvd

trailing-street-suffix WORD<0–255>

Specifies a trailing street suffix, e.g. SW