Before you begin connecting and configuring the router, set the following
parameter values on the console server or PC:
-
Baud Rate—9600
-
Flow Control—None
-
Data—8
-
Parity—None
-
Stop Bits—1
-
DCD State—Disregard
You must perform the initial configuration of an MX10008 router through
the console port using the command-line interface (CLI).
To connect and configure the router from the console:
-
Connect the console port to a laptop or PC using the RJ-45
cable and RJ-45 to DB-9 adapter. The console
(CON) port is located on the
Routing and Control Board of the router.
-
Log in as root. A password is not
required to log in as root. If the software boots before you
connected to the console port, you might need to press the
Enter key for the prompt to appear.
-
Start the CLI.
-
Enter configuration mode.
-
Add a password to the root administration user account.
[edit]
root@# set system root-authentication plain-text-password
New password: password
Retype new password: password
-
(Optional) Configure the name of the router. If the name
includes spaces, enclose the name in quotation marks (“
”).
[edit]
root@# set system host-name host-name
-
Configure the default gateway.
[edit]
root@# set routing-options static route default next-hop address
-
Configure the IP address and prefix length for the router
management interface.
[edit]
root@# set interfaces em0 unit 0 family inet address address/prefix-length
CAUTION:
Although the CLI permits you to configure two
management Ethernet interfaces within the same
subnet, only one interface is usable and
supported.
Note:
The management ports, em0
(MGMT for RJ-45
connections) and em1 (also
labeled MGMT for fiber
connections), are found on the port panel of the
RCBs of the MX10008 router.
-
(Optional) Configure the static routes to remote prefixes with
access to the management port.
[edit]
root@# set routing-options static route remote-prefix next-hop destination-ip retain no-readvertise
-
Enable Telnet service.
[edit]
root@# set system services telnet
Note:
When Telnet is enabled, you cannot log in to an
MX10008 through Telnet using root credentials.
Root login is allowed only for SSH access.
-
Commit the configuration to activate it on the router.
For information about configuration and deployment procedures, see Configuration Essentials:
MX204, MX301, MX304, MX10004, and MX10008.