PurposeCommand or Action
Returns to global configuration mode.exit
Example:
Switch(config-civic)# exit
Step 3
Specifies the interface on which you are configuring the location
information, and enter interface configuration mode.
interface interface-id
Example:
Switch (config)# interface gigabitethernet2/0/1
Step 4
Enters location information for an interface:
location {additional-location-information word |
civic-location-id {id | host} | elin-location-id id |
Step 5
• additional-location-information—Specifies additional
information for a location or place.
custom-location-id {id | host} | geo-location-id {id |
host} }
Example:
Switch(config-if)# location elin-location-id 1
• civic-location-id—Specifies global civic location
information for an interface.
• elin-location-id—Specifies emergency location
information for an interface.
• custom-location-id—Specifies custom location
information for an interface.
• geo-location-id—Specifies geo-spatial location
information for an interface.
• host—Specifies the host location identifier.
• word—Specifies a word or phrase with additional location
information.
• id—Specifies the ID for the civic, ELIN, custom, or geo
location. The ID range is 1 to 4095.
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 6
Verifies the configuration.Use one of the following:
Step 7
•
show location admin-tag string
•
show location civic-location identifier id
•
show location elin-location identifier id
Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29420-01 67
Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring Location TLV and Wired Location Service