Part 3: Perform the Initial Configuration
By default, Zero touch provisioning (ZTP) starts automatically. Zero touch provisioning (ZTP) allows you to provision new Juniper Networks devices in your network automatically, with minimal manual intervention. You can use either management ports or network ports on your switch to connect to the network. When you physically connect a device to the network and boot it with a default factory configuration, the device upgrades (or downgrades) the Junos OS release and autoinstalls a configuration file from the network. For more information on ZTP, see Zero Touch Provisioning.
If you do not use ZTP, you must disable the ZTP process and then perform the following:
To disable the ZTP process, manually delete the auto-image-upgrade statement located in the [edit chassis] hierarchy.
You must perform the initial configuration of the router through the console port. Before you begin, set the following parameter values in the console server or PC:
To connect and configure the router from the console:
- Connect the console port to a laptop or PC using the provided
RJ-45 cable and RJ-45 to DB-9 serial port adapter. The console (
CON) port is located on the port panel of the router.
- Log in as root. There is no password. If the software
booted before you connected to the console port, you might need to
press the Enter key for the prompt to appear.login: root
- Start the command-line interface (CLI). root@% cli
- Enter configuration mode.root>configure
- Add a password to the root administration user account.root@# set system root-authentication plain-text-passwordNew password: passwordRetype new password: password
- (Optional) Configure the name of the router. If the name
includes spaces, enclose the name in quotation marks (“ ”).root@# set system host-name host-name
- Configure the default gateway.
root@# set routing-options static route default next-hop address
- Configure the IP address and prefix length for the router
management interface.root@# set interfaces em0 unit 0 family inet address address/prefix-length
The management port em0 is on the port panel, and the management port em2 is on the FRU end of the ACX6360 router.
- (Optional) Configure the static routes to remote prefixes
with access to the management port.root@# set routing-options static route remote-prefix next-hop destination-IP retain no-readvertise
- Enable telnet service.root@# set system services telnet
- Enable SSH service.root@# set system services SSH
- Commit the configuration to activate it on the router.root@# commit