ON THIS PAGE
Step 2: Up and Running
Now that the ACX7100-48L is powered on, let’s do some initial configuration to get it up and running on the network. It’s simple to configure and manage the ACX7100-48L using the CLI. You can also onboard and manage the ACX7100-48L by using Paragon Automation. To onboard this device using Paragon Automation, see Onboard Cloud-Ready Devices with Paragon Automation.
Plug and Play
The ACX7100-48L router ships with factory-default settings that enable plug-and-play operation. These settings load as soon as you power on the router.
Customize the Basic Configuration
You can easily customize the factory-default configuration with just a few commands. Initially, you’ll need to make changes through the console port. After you configure the management port, you can access the ACX7100-48L using SSH and make additional configuration changes. You can always revert to the factory-default configuration whenever you want.
Have the following information ready before you begin customizing the router:
-
Hostname
-
Root authentication password
-
Management port IP address
-
Default gateway IP address
-
IP address and prefix length of remote prefixes
-
(Optional) SNMP read community, location, and contact information
-
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 ACX7100-48L to a laptop or desktop PC using the RJ-45 cable and RJ-45 to DB-9 adapter (not provided). The console (CON) port is the lower RJ-45 port on the right side of the port panel.
Note:If your laptop or desktop PC doesn’t have a serial port, use a serial-to-USB adapter (not provided).
-
At the Junos OS 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.
re0 login: root
-
Start the CLI.
[vrf:none] root@re0:~# cli
-
Enter configuration mode.
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 ACX7100-48L in the factory-default configuration. You must stop ZTP before you configure any settings. Until you assign a root password and make 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.
[edit] root@re0# commit
A message appears on the console, confirming that the ZTP process has stopped.
root@re0# [ 968.635769] ztp.py[20083]: 2021-06-09 16:47:52 INFO: ZTP: aborted in state DISCOVERING_INTERFACES [ 968.636490] ztp.py[20083]: 2021-06-09 16:47:52 INFO: ZTP: checkZTPAbort: Upgrade detected pending abort [ 968.636697] ztp.py[20083]: 2021-06-09 16:47:52 INFO: ZTP: aborted by user config commit [ 968.782780] ztp.py[11767]: Notice: PID found for app ztp in /var/run/pid/ztp.pid is 20083.Executing command: (/usr/sbin/cleanzk -c /var/run/zkid/20083.id;rm /var/run/zkid/20083.id 2>/dev/null)
-
(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.
On the ACX7100-48L, the management (MGMT) port is the upper RJ-45 port on the right side of the port panel.
[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 ACX7100-48L through Telnet 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 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 through SSH.
-
Commit the configuration.
Your changes become the active configuration for the router.
[edit] root@re0# commit