Configuring a PSD with Redundant Routing Engines
To initially configure a PSD with redundant Routing Engines:
- 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 a hostname and 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.
- [edit]
- root# edit groups
- [edit groups]
- root# set re0 system host-name router1
- root# set re0 interfaces fxp0 unit 0 family inet address 10.10.10.1/24
- root# set re1 system host-name router2
- root# set re1 interfaces fxp0 unit 0 family inet address 10.10.10.2/24
- root# set re0 system host-name router1
- root# set re0 interfaces fxp1 unit 0 family inet address 10.20.20.1/24
- root# set re1 system host-name router2
- root# set re1 interfaces fxp1 unit 0 family inet address 10.20.20.2/24
- Configure the routing platform’s domain name:
- Set the loopback interface address for each Routing Engine.
- Issue the apply-groups statement to reproduce the configuration group information to the main part of the configuration.
- Configure Routing Engine redundancy:
- Save the configuration change on both Routing Engines:
- 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:
- After
you have installed the new software and are satisfied that it is successfully
running, issue the request system snapshot command to back
up the new software on both master and backup Routing Engines.
The root file system is backed up to /altroot, and /config is 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 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. |