Configure Names and Addresses
Action
To configure
the machine name, domain name, and various addresses, follow these
steps:
- Log in as root. There is no password.
- Start the CLI:
- Enter configuration mode:
cli>
configure [edit]root@#
- 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
-
Configure the machine’s domain name:
[edit]root@# set system domain-name domain-name
- 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
- 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
- Configure the IP address
of a Domain Name Server (DNS) server:
[edit]root@# set system name-server address
Published: 2011-10-26