To change from router context to secure context, you perform the following tasks:
For more information about autoinstallation, see Configuring Autoinstallation.
![]() |
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:
- user@host# save config_backup
- Wrote 127 lines of configuration to 'config_backup'
- user@host# load factory-default
- warning: activating factory configuration
- [edit]
- user@host#
- 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.
- user@host# delete system autoinstallation
- user@host# set interfaces ge-0/0/0 unit logical-unit-number family inet address IP-address
Replace the variables as follows:
- 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:
- user@host# commit
- commit complete
- [edit]
- user@host#
- user@host# commit confirmed
- commit confirmed will be automatically rolled back in 10
minutes unless confirmed
- commit complete
- # commit confirmed will be rolled back in 10 minutes
- [edit]
- user@host#
The configuration is now committed, and its configuration values comprise the running configuration.
For information about autoinstallation, see Configuring Autoinstallation. For information about connecting to the CLI locally or remotely, see the J-series Services Routers Hardware Guide.