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

Changing from Router Context to Secure Context

To change a Services Router running JUNOS software with enhanced services from a router to a secure router, use the load factory-default configuration command to load the factory configuration. The factory configuration contains the default secure context configuration values. After changing to secure context, you can customize the configuration to suit your network.

Router-to-Secure Context Task Overview

To change from router context to secure context, you perform the following tasks:

Caution: If you do not assign an IP address for the ge-0/0/0 interface, create a local user account, and enter routing information, either from CLI configuration or using DHCP, before you commit the changes, the router is no longer remotely accessible. To manage the router, you must connect a PC or laptop to the physical console, or attach the PC or laptop to a subnet that is directly connected to the ge-0/0/0 interface, which is assigned an IP address of 192.168.2.1.

Any configuration changes that you made before you issued the load override command are no longer part of the current running configuration.

Alternatively, to return the Services Router to the factory default (secure context) configuration, you can press the RESET CONFIG button. Keep in mind that pressing the RESET CONFIG button for 15 seconds or more deletes all configuration files on the Services Router, including backup configuration and rescue configuration files. The factory configuration is loaded and committed. Using the load factory-default command does not delete all configuration files. For more information about the RESET CONFIG button, see the JUNOS Software Administration Guide.

To change the router from running in router context to secure 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:
  2. In configuration mode, enter the load factory-default command.
  3. Assign a root password for the router:

    The password does not appear as you type.

  4. Do one of the following:
  5. 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.
  6. 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 is encrypted by JUNOS software with enhanced services.

    Replace the variables as follows:

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

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