Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 

Step 8–Performing Initial Configuration

You must perform the initial configuration of a PTX10016 router through the console port using the CLI.

Before you begin connecting and configuring the router, set the following parameter values on the console server or PC:

  • Baud Rate—9600
  • Flow Control—None
  • Data—8
  • Parity—None
  • Stop Bits—1
  • DCD State—Disregard

To connect and configure the router from the console:

  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 (CON) port is located on the port panel of the router.
  2. 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
  3. Start the CLI.
    root@% cli
  4. Enter configuration mode.
    root> configure
  5. Add a password to the root administration user account.
    root@# set system root-authentication plain-text-password
    New password: password
    Retype new password: password
  6. (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
  7. Configure the default gateway.
    root@# set routing-options static route default next-hop address

  8. Configure the IP address and prefix length for the router management interface.
    root@# set interfaces em0 unit 0 family inet address address/prefix-length

    Caution: Although the CLI permits you to configure two management Ethernet interfaces within the same subnet, only one interface is usable and supported.

    Note: The management ports, em0 (MGMT for RJ-45 connections) and em1 (also labeled MGMT for fiber connections) are found on each of the control boards of the PTX10016.

  9. (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
  10. Enable Telnet service.
    root@# set system services telnet

    Note: When Telnet is enabled, you cannot log in to a PTX10016 through Telnet using root credentials. Root login is allowed only for SSH access.

  11. Commit the configuration to activate it on the router.
    root@# commit

Modified: 2017-12-18