Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


location (System)


Hierarchy Level


Configure the physical location of the device.


  • altitude feet—Number of feet above sea level.

  • building name—Name of building. The name of the building can be 1 to 28 characters in length. If the string contains spaces, enclose it in quotation marks (" ").

  • country-code code—Two-letter country code.

  • floor number—Floor number in the building.

  • hcoord horizontal-coordinate—Bellcore Horizontal Coordinate.

  • lata service-area—Long-distance service area.

  • latitude degrees—Latitude in degree format.

  • longitude degrees—Longitude in degree format.

  • npa-nxx number—First six digits of the phone number (area code and exchange).

  • postal-code postal-code—Zip code or Postal code.

  • rack number—Rack number.

  • vcoord vertical-coordinate—Bellcore Vertical Coordinate.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.5.