Perform Initial Software Configuration for the ACX7100-48L Routers
Before you begin connecting and configuring an ACX7100-48L 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 the ACX7100-48L router through the console port using the command-line interface (CLI).
-
Connect the console port on the ACX7100-48L to a laptop or desktop PC using
an
RJ-45 cable and RJ-45 to DB-9 adapter. The console (CON)
port is the lower RJ-45 port on the right side of the port
panel.
Note:
We no longer include the RJ-45 console cable with the DB-9 adapter as part of the device package. If the console cable and adapter are not included in your device package, or if you need a different type of adapter, you can order the following separately:
-
RJ-45 to DB-9 adapter (JNP-CBL-RJ45-DB9)
-
RJ-45 to DB-9 adapter (JNP-CBL-RJ45-DB9)
-
RJ-45 to USB-C adapter (JNP-CBL-RJ45-USBC)
If you want to use RJ-45 to USB-A or RJ-45 to USB-C adapter you must have X64 (64-Bit) Virtual COM port (VCP) driver installed on your PC. See, https://ftdichip.com/drivers/vcp-drivers/ to download the driver.
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.
login: root
- Start the CLI.
root@% cli
- Enter configuration mode.
root> configure
- Stop the chassis auto-upgrade process
[edit] root@# delete chassis auto-image-upgrade
- ZTP is enabled on the ACX7100-48L device in factory default
configuration. You must stop ZTP before you proceed to configure any
settings.
[edit] root@# delete system commit factory-settings
- Add a password for the root administration user account.
[edit] root@# set system root-authentication plain-text-password New password: password Retype new password: password
- Commit the configuration.
[edit] root@# commit
- Wait for the ZTP process to exit. A message appears on
the console, confirming that the ZTP process has stopped.
[edit] root@# [ 511.430877] ztp.py[13237]: 2021-03-04 05:28:00 INFO: ZTP:(et-0/2/7) DHCP request timed out [ 511.432804] ztp.py[13237]: 2021-03-04 05:28:00 INFO: ZTP: checkZTPAbort: Upgrade detected pending abort [ 511.433586] ztp.py[13237]: 2021-03-04 05:28:00 INFO: ZTP: notifier loop user requested ZTP abort [ 511.485370] ztp.py[13237]: 2021-03-04 05:28:00 INFO: ZTP: exiting [ 511.580800] ztp.py[31898]: Notice: PID found for app ztp in /var/run/pid/ztp.pid is 13237.Executing command: (/usr/sbin/cleanzk -c /var/run/zkid/13237.id;rm /var/run/zkid/13237.id) [ 512.614206] ztp.py[31898]: rm: cannot remove '/var/run/zkid/13237.id': No such file or directory
- (Optional) Give the router a name. 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 management
port on the router. On the ACX7100-48L, the management port is the
upper RJ-45 port on the right side of the port panel and is labeled MGMT.
[edit] root@# set interfaces re0:mgmt-0 unit 0 family inet address address/prefix-length
- (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, if needed.
[edit] root@# 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@# 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@# root-login (allow | deny | deny-password)
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@# commit