Chapter 25
| LLDP Commands
– 807 –
â—† Use the ca-type to advertise the physical location of the device, that is the city,
street number, building and room information. The address location is
specified as a type and value pair, with the civic address (CA) type being
defined in RFC 4776. The following table describes some of the CA type
numbers and provides examples.
Any number of CA type and value pairs can be specified for the civic address
location, as long as the total does not exceed 250 characters.
â—† For the location options defined for device-type, normally option 2 is used to
specify the location of the client device. In situations where the client device
location is not known, 0 and 1 can be used, providing the client device is
physically close to the DHCP server or network element.
Example
The following example enables advertising location identification details.
Console(config)#interface ethernet 1/1
Console(config-if)#lldp med-location civic-addr
Console(config-if)#lldp med-location civic-addr 1 California
Console(config-if)#lldp med-location civic-addr 2 Orange
Console(config-if)#lldp med-location civic-addr 3 Irvine
Console(config-if)#lldp med-location civic-addr 4 West Irvine
Console(config-if)#lldp med-location civic-addr 6 Exchange
Console(config-if)#lldp med-location civic-addr 18 Avenue
Console(config-if)#lldp med-location civic-addr 19 320
Console(config-if)#lldp med-location civic-addr 27 5
Console(config-if)#lldp med-location civic-addr 28 509B
Console(config-if)#lldp med-location civic-addr country US
Table 160: LLDP MED Location CA Types
CA Type Description CA Value Example
1 National subdivisions (state, canton, province) California
2 County, parish Orange
3 City, township Irvine
4 City division, borough, city district West Irvine
5 Neighborhood, block Riverside
6 Group of streets below the neighborhood level Exchange
18 Street suffix or type Avenue
19 House number 320
20 House number suffix A
21 Landmark or vanity address Tech Center
26 Unit (apartment, suite) Apt 519
27 Floor 5
28 Room 509B