Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configure Names and Addresses

Action

To configure the machine name, domain name, and various addresses, follow these steps:

  1. Log in as root. There is no password.
  2. Start the CLI:
    root# cli root@>
  3. Enter configuration mode:
    cli> configure [edit]root@#
  4. Configure the name of the machine. If the name includes spaces, enclose the entire name in quotation marks (" "):
    [edit]root@# set system host-name host-name
  5. Configure the machine’s domain name:
    [edit]root@# set system domain-name domain-name
  6. Configure the IP address and prefix length for the router’s management Ethernet interface:
    [edit]root@# set interfaces fxp0 unit 0 family inet address address / prefix-length
  7. Configure the IP address of a default router. This system is called the backup router because it is used only while the routing protocol process is not running.
    [edit]root@# set system backup-router address
  8. Configure the IP address of a Domain Name Server (DNS) server:
    [edit]root@# set system name-server address

Published: 2013-02-25

Published: 2013-02-25