Perform the Initial Configuration for the PTX10016 Router
You must perform the initial configuration of the PTX10016 through the console port using the CLI or through Zero Touch Provisioning (ZTP). In order to use ZTP to provision the device, you must have access to a Dynamic Host Control Protocol (DHCP) server, and a File Transfer Protocol (anonymous FTP), Hypertext Transfer Protocol (HTTP), or Trivial File Transfer Protocol (TFTP) server on which the software image and configuration files are stored. For more information about using ZTP for provisioning the device, see Understanding Zero Touch Provisioning in the Installation and Upgrade Guide.
These procedures step you through the configuration of the PTX10016
using the console
CON|CONSOLE port on the Routing
and Control Board (RCB). For directions on connecting into a console
server or a management server, see Connect a PTX10016 Router to a Management Console.
Before You Start
- Set the following values on the console server or PC:
- Gather the information you will need for configuring the
The password you’ll set for the root user
The name on the system that the PTX10016 will be known as (host name)
The IP address and prefix of the default gateway router
The IP address and prefix length information for the Ethernet interface
The IP address and prefix length of remote prefixes
Enter Configuration Mode
- Check that the PTX10016 has power.
- Connect the console port to a laptop or PC using the supplied
RJ-45 cable and RJ-45 to DB-9 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.
- Start the CLI.
- Enter configuration mode.
Establish a Root Password and Optional Host Name
- Add a password to the root administration user account.
root@# set system root-authentication plain-text-password
New password: password
Retype 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 and Ethernet Interface
- Configure the default gateway.
For standard Junos OS systems:
root@# set routing-options static route default next-hop address
For Junos OS Evolved system:
root@# set system management-instance
root@# set routing-instances mgmt_junos routing-optins static route prefix/prefix-length next-hop default-gateway-ip-address
- Configure the IP address and prefix length for the router
For standard Junos OS systems:
root@# set interfaces em0 unit 0 family inet address ip-address/prefix-length
For Junos OS Evolved systems:
root@# set interfaces re0:mgmt-0 unit 0 family inet address ip-address/prefix-length
Although the CLI permits you to configure two management Ethernet interfaces within the same subnet, only one interface is usable and supported.
The management ports,
MGMTfor RJ-45 connections) and
for fiber connections), are found on the front of the RCBs of the PTX10016 router.
Configure Optional Routes, Services, and Commit the Configuration
- (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 services such as SSH and Telnet.
You will not be able to log in to the router as the root user through Telnet. Root login is allowed only through SSH.
root@# set system services telnet
- Commit the configuration to activate it on the router.