Configuring a PSD with a Single Routing Engine
To initially configure a PSD with a single Routing Engine:
- Connect to the console port on the Routing Engine that is assigned to the PSD you want to configure.
- At the login prompt on the console, log
in with the username root.
Initially, the root user account requires no password. You can see that you are the root user, because the prompt on the routing platform shows the username root@%.
- Start the JUNOS Software command-line interface (CLI):
- Enter JUNOS Software configuration mode:
- Configure the name of the routing platform (the routing platform hostname). We do not recommend spaces in the routing platform name. However, if the name does include spaces, enclose the entire name in quotation marks (" ").
- Configure the routing platform’s domain name:
- Configure the IP addresses
and prefix lengths for one or both of the router management Ethernet
interfaces (fxp0 and fxp1) on each Routing Engine.
If both interfaces are configured (for JCS switch module redundancy), we recommend that the IP address for each interface be on a separate subnet. The fxp0 interface connects to port 6 on the JCS switch module in bay 1, whereas the fxp1 interface connects to port 6 on the JCS switch module in bay 2.
- Configure the
IP address of a backup or default routing platform.
Choose a router that is directly connected to the local routing platform by way of the management interface.
- Configure the IP address of a DNS server. The routing platform uses the DNS name server to translate hostnames into IP addresses.
- Set the root password, entering a clear-text password that the system
will encrypt, a password that is already encrypted, or an SSH public
key string.
Choose one of the following:
- To enter a clear-text password, use the following command:
- To enter a password that is already encrypted, use the following command:
- To enter an SSH public key, use the following command:
- Commit
the configuration, which activates the configuration on the routing
platform:
After committing the configuration, you see the newly configured hostname appear after the username in the prompt; for example, user@host#.
JUNOS Software defaults are now set on the routing platform.
If you want to configure additional JUNOS Software properties at this time, remain in the CLI configuration mode and add the necessary configuration statements. For more information about how to configure additional properties, see the JUNOS System Basics Configuration Guide. You will need to commit your configuration changes to activate them on the routing platform.
- Exit from the JUNOS Software configuration mode.
- Issue the request system
snapshot command to back
up the configuration to the /altconfig file system on the
hard drive.
If you do not issue the request system snapshot command, the configuration on the alternate boot device will be out of sync with the configuration on the primary boot device. The request system snapshot command causes the root file system to be backed up to /altroot, and /config to be backed up to /altconfig. The root and /config file systems are on the routing platform’s flash disk, and the /altroot and /altconfig file systems are on the routing platform’s hard disk.
Note: After you issue the request system snapshot command, you cannot return to the previous version of the software, because the running copy and the backup copy of the software are identical.
![]() |
Note: The logout-on-disconnect statement at the [edit system ports console] hierarchy level is not supported for Routing Engines on the JCS1200 platform. When the cable is unplugged from the Routing Engine, the user is not logged out of the console session. |