Step 2: Up and Running
Now that the PTX10016 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 PTX10016 by using the CLI.
Junos Operating Systems
Depending on the type of SIBs installed on your PTX10016 (JNP10016-SF or JNP10016-SF3), you'll use either Junos OS or Junos OS Evolved to configure your router.
Junos OS is the network operating system that powers our broad portfolio of physical and virtual networking and security products. Built for reliability, security, and flexibility, Junos OS reduces the time and effort required to plan, deploy, and operate network infrastructure.
With Junos OS Evolved, you can enable higher availability, accelerate your deployments, innovate rapidly, and operate your network more efficiently. We’ve aligned Junos OS Evolved with Junos OS so that you can seamlessly continue to manage and automate your network.
Plug and Play
The PTX10016 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. When you commit changes to the configuration, a new configuration file is created. This becomes the active configuration. You can always revert to the factory-default configuration whenever you want.
Have the following information ready before you begin customizing the router:
Password you’ll set for the root user
Name on the system that the PTX10016 will be known as (host name)
IP address and prefix of the default gateway router
IP address and prefix length information for the Ethernet interface
IP address and prefix length of remote prefixes
- Verify that the serial port settings for your laptop or
desktop PC are set to the default values:
Baud Rate—9600
Data—8
Flow Control—None
Parity—None
Stop Bits—1
DCD State—Disregard
- Connect the console port (labeled
CONSOLE
orCON
) on the RCB on the PTX10016 router to a serial port on your laptop or desktop PC using the Ethernet cable and RJ-45 to DB-9 adapter. If your laptop or desktop PC doesn't have a serial port, use a serial-to-USB adapter (not provided). - At the 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[edit]root@#
- Add a password to the root administration user account.
Enter a plain-text password, an encrypted password, or an SSH public
key string. In this example, we show you how to enter a plain-text
password.[edit]root@# set system root-authentication plain-text-passwordNew password: passwordRetype new password: password
Configure the default gateway.
For Junos OS:
[edit]root@# set routing-options static route default next-hop addressFor Junos OS Evolved:
[edit]root@# set system management-instanceroot@# 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 management interface on the router.
For Junos OS:
[edit]root@# set interfaces em0 unit 0 family inet address ip-address/prefix-lengthFor Junos OS Evolved:
[edit]root@# set interfaces re0:mgmt-0 unit 0 family inet address ip-address/prefix-length
Caution Though the CLI permits you to configure two management Ethernet interfaces within the same subnet, only one interface is usable and supported.
Note The management port (labeled
MGMT
) is on the RCB on the PTX10016 router.- Configure the SSH service.[edit]root@# set system services ssh root-login allow
- Commit the configuration to activate it on the router.[edit]root@# commit
- When you’ve finished configuring the router, exit
configuration mode.[edit]root@# exitroot>