Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Step 2: Up and Running

 

Now that the PTX10004 is powered on, let’s do some initial configuration to get the router up and running on the network. It’s simple to provision and manage the PTX10004 and other devices on your network.

The PTX10004 supports zero-touch provisioning (ZTP) which autoinstalls a software image and device-specific configuration file when you connect the PTX10004 and other devices on your network. To use ZTP, you’ll need to configure settings on a DHCP server. For more information, see Zero Touch Provisioning Using DHCP Options.

Connect to the Router

  1. Connect the console port to a laptop or PC using the supplied RJ-45 cable and RJ-45 to DB-9 adapter. The console (CONSOLE) port is located on the Routing and Control Board (RCB).

    The RCB functions as a DHCP server and automatically assigns an IP address to the laptop or PC.

  2. Verify that your laptop or PC has the following default values:
    • Baud Rate—9600

    • Flow Control—None

    • Data—8

    • Parity—None

    • Stop Bits—1

    • DCD State—Disregard

  3. Have the following information ready before you start to configure the PTX10004:
    • The password you’ll set for the root user

    • The name on the system that the PTX10004 will be known as (hostname)

    • 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

  4. Log in as root. There is no password. If the software boots before you connect to the console port, you might need to press the Enter key for the prompt to appear.
    Amnesiac <ttyd0>
    login: root
  5. Start the CLI.
    root@% cli

Set a Root Password and an Optional Hostname

  1. Add a password to the root administration user account.
    [edit]
    root@# set system root-authentication plain-text-password
    New password: password
    Retype new password: password
  2. (Optional) Configure the name of the router. If the name includes spaces, enclose the name in quotation marks (“ ”).
    [edit]
    root@# set system host-name host-name


Configure the Default Gateway and Ethernet Interface

  1. Configure the default gateway.
    [edit]
    root@# set system management-instance
    root@# set routing-instances mgmt_junos routing-optins static route prefix/prefix-length next-hop default-gateway-ip-address


  2. Configure the IP address and prefix length for the router management interface.
    [edit]
    root@# set interfaces re0:mgmt-0 unit 0 family inet address ip-address/prefix-length
    Caution

    Although the CLI permits you to configure two management Ethernet interfaces within the same subnet, the PTX10004 supports only one interface.

    Note

    The management ports, em0 or re0:mgmt-0 (MGMT for RJ-45 connections) and em1 (also labeled MGMT for fiber connections), are on the front of the RCB.

Configure Optional Routes, Services, and Commit the Configuration

  1. (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
  2. Enable services such as SSH and Telnet.Note

    You won’t be able to log in to the router as the root user through Telnet. Root login is allowed only through SSH.

    [edit]
    root@# set system services telnet
  3. Commit the configuration to activate it on the router.
    [edit]
    root@# commit