Learn how to perform the initial software configuration on the ACX7000 family of
routers using Junos OS Evolved CLI. The ACX7000 family of routers includes ACX7020, ACX7024,
ACX7024X, ACX7100, ACX7332, ACX7348, and ACX7509 routers.
You can easily customize the factory-default configuration on an ACX7000 router with just a
few commands. In this section, you'll learn how to connect to your device using the console
port and perform an initial configuration to get your device up and running. You can always
revert to the factory-default configuration whenever you want.
Before You Begin
Ensure that you have the following hardware and information before configuring the
device:
- Laptop or a desktop PC
- RJ-45 cable and RJ-45 to DB-9 adapter
- Name of the device you will use on the network
- Password for the root user
- Domain name the device will use
- IP address and prefix-length information for the Ethernet interface
- IP address of the default gateway
- IP address of the DNS server
Note:
See the hardware guide for your ACX7000 router for instructions on how to connect the
console port to a management device.
Perform Initial Software Configuration
-
Verify that the following default serial port settings are configured on your laptop or
desktop PC:
-
Baud Rate—9600
-
Flow Control—None
-
Data—8
-
Parity—None
-
Stop Bits—1
-
DCD State—Disregard
-
Connect the console port on the ACX7000 router to a laptop or a desktop PC using the
RJ-45 cable and RJ-45 to DB-9 adapter.
-
At the Junos OS Evolved login prompt, type root to log in.
You don't need to enter a password. If the software boots before you connect your
laptop or desktop PC to the console port, you might need to press the Enter key for the
prompt to appear.
-
Start the CLI and enter the configuration mode.
[vrf:none] root@re0:~# cli
root@re0> configure
-
Stop the chassis auto-upgrade
process.
[edit]
root@re0# delete chassis auto-image-upgrade
-
Stop zero-touch provisioning (ZTP).
[edit]
root@re0# delete system commit factory-settings
Note:
ZTP is enabled on the ACX7000 router in the factory-default configuration. You must
stop ZTP before you configure any settings. Until you assign a root password and
perform an initial commit, you might see ZTP-related messages on the console. You can
safely ignore these messages while you configure the root password.
-
Add a password for the root administration user account.
[edit]
root@re0# set system root-authentication plain-text-password
New password: password
Retype new password: password
-
Commit the configuration, and wait for the ZTP process to stop.
-
(Optional) Give the router a name. If the name includes spaces, enclose the name in
quotation marks (“ ”).
[edit]
root@re0# set system host-name host-name
-
Configure the default gateway.
[edit]
root@re0# set routing-options static route 0.0.0.0/0 next-hop destination-ip
-
Configure the IP address and prefix length for the management port on the router.
[edit]
root@re0# set interfaces re0:mgmt-0 unit 0 family inet address address/prefix-length
-
(Optional) Configure specific static routes to remote prefixes if you do not want the
remote prefixes to use the default route.
[edit]
root@re0# set routing-options static route address/prefix-length next-hop destination-ip
-
Enable Telnet service, if required.
[edit]
root@re0# set system services telnet
Note:
When Telnet is enabled, you cannot log in to the ACX7000 router using root
credentials. Root login is allowed only for SSH access.
-
Enable SSH service.
[edit]
root@re0# set system services ssh
-
To allow users to log in to the router as
root users through SSH,
include the root-login statement.
[edit system services ssh]
root@re0# root-login (allow)
Note:
By default, users are not allowed to log in to the router as root users through
SSH.
-
Commit the configuration.
Your changed configuration becomes the active configuration for the router.