[Contents] [Prev] [Next] [Index] [Report an Error]

Changing to Router Context

To change the router from running in secure context to router context:

  1. From configuration mode in the CLI, back up your current configuration file. For example, the following command saves a copy of the configuration to a file named config_backup in the home directory of the account you used to log in:
    user@host# save config_backup
    Wrote 127 lines of configuration to 'config_backup'
  2. Make sure that you are currently at the top level of the configuration mode hierarchy. If you are below the top level, enter exit to return to the top level.
  3. From the top of the configuration hierarchy, enter the load override command.
    user@host# load override /etc/config/jsr-series-routermode-factory.conf
  4. Assign a root password for the router:
    user@host# set system root-authentication plain-text-password
    New password:
    Retype new password:
    [edit]
    user@host#

    The password does not appear as you type.

  5. Do one of the following:
  6. If you have an IP address assigned to the ge-0/0/0 interface, follow these steps:
    1. Delete the [system autoinstallation] hierarchy:
      user@host# delete system autoinstallation
    2. Configure the specific IP address for the ge-0/0/0 interface:
      user@host# set interfaces ge-0/0/0 unit logical-unit-number family inet address ip-address

      Replace the variables as follows:

      • logical-unit-number—Number of the logical unit. Use a value from 0 through 16,384.
      • ip-address—IP address for the ge-0/0/0 interface.
  7. If you do not have console access, create a local user account. For example, the following command creates a local user account with a password that is entered as plain text in the CLI and encrypted by JUNOS software.
    user@host# set system login user username class class-name authentication plain-text-password
    New password: type password here
    Retype new password: retype password here

    Replace the variables as follows:

  8. Using your backup configuration file as a reference, configure routing as appropriate for your network.
  9. Commit the configuration using one of the following methods:
  10. Use the following methods to access the router, depending on the steps you performed:

[Contents] [Prev] [Next] [Index] [Report an Error]