PurposeCommand or Action
• geo-location—Specifies geo-spatial location information.
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
• identifier id—Specifies the ID for the civic, ELIN,
custom, or geo location.
• host—Specifies the host civic, custom, or geo location.
• string—Specifies the site or location information in
alphanumeric format.
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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
71
How to Configure LLDP, LLDP-MED, and Wired Location Service