Configure Junos OS on the MX301
This topic guides you through the initial configuration of your MX301 by using the Junos OS CLI.
The MX301 Router is shipped with the Junos OS preinstalled and ready to be configured when the router is powered on. Two Serial Peripheral Interface (SPI) flash memories store the boot image to provide redundancy. If the primary flash memory fails, the Junos OS boots from the secondary SPI flash memory.
A USB storage device can be inserted into the USB slot in the front panel of the chassis. The router also has two M.2-based solid-state drives (SSDs) that act as the primary boot devices (nvme0n1 and nvme1n1). When the router boots, it first attempts to load the Junos OS image from the USB flash memory drive if it detects this drive. If the attempt fails because the USB flash drive is missing or for some other reason, the router tries the primary boot device and then the secondary boot device.
You can use the Junos OS command line interface (CLI) to perform the initial configuration.
Access the CLI on the MX301
Configure Root Authentication and Management Interface from the CLI
The MX301 Router ships with factory-default settings that enable zero-touch provisioning (ZTP). These settings load as soon as you power on the switch. In this case, as we configure the router manually, we disable ZTP during the initial configuration.
When you don't use ZTP, you must perform the initial configuration of an MX301 router through the console port (CONSOLE) using the Junos OS command-line interface (CLI).
Gather the following information before configuring the device:
-
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
-
Root user's password
To configure root authentication and the management interface:
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.