location (global configuration)
location (global configuration)
Use the location global configuration command to configure location information for an endpoint. Use
the no form of this command to remove the location information.
Syntax Description
admin-tag
civic-location
elin-location
identifier id
string
Defaults
This command has no default setting.
Command Modes
Global configuration
Command History
Release
12.2(40)SE
Usage Guidelines
After entering the location civic-location identifier id global configuration command, you enter civic
location configuration mode. In this mode, you can enter the civic location and the postal location
information.
Use the no lldp med-tlv-select location information interface configuration command to disable the
location TLV. The location TLV is enabled by default. For more information, see the "Configuring LLDP
and LLDP-MED" chapter of the software configuration guide for this release.
Examples
This example shows how to configure civic location information on the switch:
Switch(config)# location civic-location identifier 1
Switch(config-civic)# number 3550
Switch(config-civic)# primary-road-name "Cisco Way"
Switch(config-civic)# city "San Jose"
Switch(config-civic)# state CA
Switch(config-civic)# building 19
Switch(config-civic)# room C6
Switch(config-civic)# county "Santa Clara"
Switch(config-civic)# country US
Switch(config-civic)# end
You can verify your settings by entering the show location civic-location privileged EXEC command.
Catalyst 2960 Switch Command Reference
2-168
location {admin-tag string | civic-location identifier id | elin-location string identifier id}
no location {admin-tag string | civic-location identifier id | elin-location string identifier id}
Modification
This command was introduced.
Configure administrative tag or site information.
Configure civic location information.
Configure emergency location information (ELIN).
Specify the ID for the civic location or the elin location. The ID range
is 1 to 4095.
Specify the site or location information in alphanumeric format.
Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
OL-8604-03