Step 2: Up and Running
Now that the ACX7100-32C 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-32C using the CLI.
Plug and Play
The ACX7100-32C 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-32C 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:
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:
- Connect the console port on the ACX7100-32C to a laptop
or desktop PC using the RJ-45 cable and RJ-45 to DB-9 adapter. The
CON) port is the lower RJ-45 port on the right side of the port panel.
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.
- Stop the chassis auto-upgrade process.
root@re0# delete chassis auto-image-upgrade
- Stop zero-touch provisioning (ZTP).
root@re0# delete system commit factory-settings
ZTP is enabled on the ACX7100-32C 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.
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
A message appears on the console, confirming that the ZTP process has stopped.
root@re0# [ 968.635769] ztp.py: 2021-06-09 16:47:52 INFO: ZTP: aborted in state DISCOVERING_INTERFACES [ 968.636490] ztp.py: 2021-06-09 16:47:52 INFO: ZTP: checkZTPAbort: Upgrade detected pending abort [ 968.636697] ztp.py: 2021-06-09 16:47:52 INFO: ZTP: aborted by user config commit [ 968.782780] ztp.py: 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 (“ ”).
root@re0# set system host-name host-name
- Configure the default gateway.
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
interface on the router. On the ACX7100-32C, the management (
MGMT) port is the upper RJ-45 port on the right side of the port panel.
root@# set interfaces re0:mgmt-0 unit 0 family inet address ip-address/prefix-length
- (Optional) Configure specific static routes to remote
prefixes if you do not want the remote prefixes to use the default
root@re0# set routing-options static route address/prefix-length next-hop destination-ip
- Enable Telnet service, if required.
root@re0# set system services telnet
When Telnet is enabled, you cannot log in to the ACX7100-32C through Telnet using root credentials. Root login is allowed only for SSH access.
- Enable SSH service.
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
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.