Coordinate-based locations

Latitude, longitude, and altitude data can be configured per switch port using an SNMP management application. For more information, see the documentation provided with the application. A further source of information on this topic is the RFC 3825: Dynamic Host Configuration Protocol Option for Coordinate-based Location Configuration Information.

IMPORTANT:

Endpoint use of data from a medPortLocation TLV sent by the switch is device-dependent. See the documentation provided with the endpoint device.

The code assignments in the following table are examples from a work-in-progress (the internet draft titled "Dynamic Host Configuration Protocol (DHCPv4 and DHCPv6) Option for Civic Addresses Configuration Information draft-ietf-geopriv-dhcp-civil-06" dated May 30, 2005.) For the actual codes to use, contact the PSAP or other authority responsible for specifying the civic addressing data standard for your network.

Some location codes used in CA-TYPE fields

Location element

Code

Location element

Code

national subdivision

1

street number

19

regional subdivision

2

additional location data

22

city or township

3

unit or apartment

26

city subdivision

4

floor

27

street

6

room number

28

street suffix

18

   

Example

Suppose a system operator wants to configure the following information as the civic address for a telephone connected to her company's network through port A2 of a switch at the following location:

Description

CA-type

CA-VALUE

national subdivision

1

CA

city

3

Widgitville

street

6

Main

street number

19

1433

unit

26

Suite 4-N

floor

27

4

room number

28

N4-3

Example of a civic address configuration shows the commands for configuring and displaying the above data.

Example of a civic address configuration

switch# lldp config 2 medportlocation civic-addr US 2 1 CA 3
Widgitville 6 Main 19 1433 26 Suite_4—N 27 4 28 N4—3

switch# show lldp config 2
 LLDP Port Configuration Detail
  Port : A2
  AdminStatus [Tx_Rx] : Tx_Rx
  NotificationEnabled [False] : False
  Med Topology Trap Enabled [False] : False
  Country Name          : US 
  What                  : 2
  Ca-Type               : 1
  Ca-Length             : 2
  Ca-Value              : CA 
  Ca-Type               : 3
  Ca-Length             : 11
  Ca-Value              : Widgitville
  Ca-Type               : 6
  Ca-Length             : 4
  Ca-Value              : Main
  Ca-Type               : 19
  Ca-Length             : 4
  Ca-Value              : 1433
  Ca-Type               : 26
  Ca-Length             : 9
  Ca-Value              : Suite_4-N 
  Ca-Type               : 27
  Ca-Length             : 1
  Ca-Value              : 4
  Ca-Type               : 28
  Ca-Length             : 4
  Ca-Value              : N4-3