2-328
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
location (interface configuration)
location (interface configuration)
Use the location interface command to enter location information for an interface. Use the no form of
this command to remove the interface location information.
location {additional-location-information word | civic-location-id id | elin-location-id id}
no location {additional-location-information word | civic-location-id id | elin-location-id id}
Syntax Description
Defaults This command has no default setting.
Command Modes Interface configuration
Command History
Usage Guidelines After entering the location civic-location-id id interface configuration command, you enter civic
location configuration mode. In this mode, you can enter the additional location information.
The civic location identifier must not exceed 250 bytes.
Examples These examples show how to enter civic location information for an interface:
Switch(config-if)# interface gigabitethernet1/0/1
Switch(config-if)# location civic-location-id 1
Switch(config-if)# end
Switch(config-if)# interface gigabitethernet2/0/1
Switch(config-if)# location civic-location-id 1
Switch(config-if)# end
additional-location-information Configure additional information for a location or place.
word Specify a word or phrase that provides additional location
information.
civic-location-id Configure global civic location information for an interface.
elin-location-id Configure emergency location information for an interface.
id Specify the ID for the civic location or the elin location. The ID
range is 1 to 4095.
Note The identifier for the civic location in the LLDP-MED
TLV is limited to 250 bytes or less. To avoid error
messages about available buffer space during switch
configuration, be sure that the total length of all
civic-location information specified for each
civic-location ID does not exceed 250 bytes.
Release Modification
12.2(53)SE2 This command was introduced.