Console Port Setup

You can connect a console terminal (PC, Macintosh, or UNIX workstation) directly to the SRP I/O module via the RS-232 terminal port. When you connect a console directly to the system, you can configure the system without an IP address.

To communicate with the system, you must have a terminal emulation program running on your PC or Macintosh. You can use any terminal emulation program, such as HyperTerminal. A UNIX workstation can use the emulator TIP.

Using HyperTerminal

If your console uses a version of Microsoft Windows (such as Windows 95 or Windows NT 4.0) that supports the HyperTerminal application, you can access the system via HyperTerminal.

  1. Click the Start button and select Programs, Accessories, and HyperTerminal.
  2. In the HyperTerminal window, select HyperTerminal.
  3. In the Connection Description window, enter a name for your router (for example, erx1400) in the Name field.
  4. Select any icon to represent your terminal emulation, and click OK.
  5. In the Connect To dialog box, in the Connect using field, select the appropriate COM port to use (for example, COM1), and click OK.
  6. In the COM1 Properties window, select the following settings:
    • Bits per second: 9600
    • Data bits: 8
    • Parity: None
    • Stop bits: 1
    • Flow control: Xon/Xoff
  7. Click OK.

Connecting Directly to the Router

When you connect a console directly to the system, use a cable appropriate for your terminal connector. The cable must have a female DB-9 connector to attach to the RS-232 port on the system.

The console port is considered a data terminal equipment interface (DTE). Direct connection to a terminal or PC (which also have DTE interfaces) requires a crossover cable.

To connect a console directly to the system:

  1. Connect the female DB-9 connector to the RS-232 port on the system's SRP I/O module. See Figure 36.

    Figure 36: Management Ports for ERX Routers

    Management Ports for ERX
Routers
  2. Connect the crossover adapter connector to your PC's serial port.
  3. Power up the system.

    When you power up the system, the CLI appears on your console's screen. The system is now in User Exec mode, and you can begin configuration. For more information on using the CLI and configuring the system, see the JunosE System Basics Configuration Guide.

    Note: Direct access through the RS-232 serial port enables you to monitor the system while it boots.

Assigning an IP Address

When your console is ready to communicate with the system, power up the system. (See Powering Up ERX Routers.) Then set an IP address for the system. The system powers up in User Exec mode. To assign an IP address:

  1. Enter the enable command at the User Exec prompt.
    host1>enablehost1#

    The system is now in Privileged Exec mode.

  2. Set an IP address on the Ethernet interface:
    • Substitute the slot number where the SRP module is located for the slotnumber variable. For redundant SRP modules, specify the lowest slot number of the two (for example 0/0 or 6/0).
    • Use an IP address valid for the system.
      host1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. host1(config)#interface FastEthernet slotnumber/0host1(config-if)#ip address 10.10.7.3 255.255.255.0
  3. Continue to configure the system's parameters as needed.

After you have assigned an IP address to the system, you can communicate remotely by running Telnet over an Ethernet network. See Telnet Setup.