Step 1: 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:
root#cliroot@>- 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-namehost-name- Configure the machine's domain name:
[edit]root@#set system domain-namedomain-name- Configure the IP address and prefix length for the router's management Ethernet interface:
[edit]root@#set interfaces fxp0 unit 0 family inet addressaddress/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-routeraddress- Configure the IP address of a Domain Name Server (DNS) server:
[edit]root@#set system name-serveraddress