Perform Initial Configuration on the MX304 Router
The router is shipped with the Junos operating system (OS) preinstalled and ready to be configured when the router is powered on. Two 16-MB internal NAND Flash memory devices are located on the baseboard for BIOS storage. The USB storage device can be inserted into the slot in the Routing Engine panel faceplate. The system also supports two M.2-based solid-state drive (SSD) slots. These two SSD devices act as the primary boot devices (sda and sdb). When the router boots, it first attempts to start the Junos OS image on the USB Flash memory drive if it detects one. If a USB flash drive is not inserted into the router, or the attempt otherwise fails, the router next tries the primary boot device, and then tries the secondary boot device.
The MX304 router ships with factory-default settings that enable some zero touch provisioning (ZTP) functions. These settings load as soon as you power on the switch. In our case we configure the router manually, so we remove the ZTP settings as part of our initial configuration.
When ZTP is not used you must perform the initial configuration of an MX304 router through the console port (CON) using the Junos OS command-line interface (CLI). If your MX304 has dual Routing-Engines, you should perform these steps on each Routing-Engine, being sure to specify a unique management IP address for the management interface on each Routing-Engine. See Configuring Junos OS for the First Time on a Device with Dual Routing Engines for information on how to use configuration groups to share a single configuration file between both Routing-Engines.
-
The router's host and domain name
-
IP address and subnet mask for the management and loopback interfaces
-
IP address of a default gateway for the management network
-
IP address of a DNS server
-
The root user's password
This procedure connects the router to the network but does not enable it to forward traffic. For complete information about enabling the router to forward traffic, including examples, see the Junos OS configuration guides.
To configure the software: