2-126
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 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.
Examples
These examples show how to enter civic location information for an interface:
Switch(config-if)#
interface gigabitethernet0/1
Switch(config-if)#
location civic-location-id 1
Switch(config-if)
# end
Switch(config-if)#
interface gigabitethernet0/2
Switch(config-if)#
location civic-location-id 1
Switch(config-if)
# end
You can verify your settings by entering the
show location civic interface
privileged EXEC command.
This example shows how to enter emergency location information for an interface:
Switch(config)#
interface gigabitethernet 0/2
Switch(config-if)#
location elin-location-id 1
Switch(config-if)#
end
You can verify your settings by entering the
show location elin interface
privileged EXEC command.
additional-location-information
Configure additional information for a location or place.
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.
word
Specify a word or phrase that provides additional location
information.
Release
Modification
12.2(46)EY
This command was introduced.