To initially configure a PSD with redundant Routing Engines:
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@%.
cli commandstarting JUNOS CLI- root@% cli
- root@>
configure commandentering JUNOS software configuration mode- cli> configure
- [edit]
- root#
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
- [edit]
- root# set system domain-name domain-name
- [edit groups]
- root# set re0 interfaces lo0 unit 0 family
inet address 2.2.2.1/32
- root# set re1 interfaces lo0 unit 0 family
inet address 2.2.2.2/32
- [edit groups]
- root# top
- [edit]
- root# set apply-groups [re0 re1]
- [edit]
- root# set chassis redundancy routing-engine
0 master
- root# set chassis redundancy routing-engine
1 backup
- root# set chassis redundancy routing-engine
graceful-switchover
- [edit]
- root# commit synchronize
- [edit]
- root# set system backup-router address
Choose a router that is directly connected to the local routing platform by way of the management interface.
- [edit]
- root# set system name-server address
Choose one of the following:
- [edit]
- root# set system root-authentication plain-text-password
- New password: type password
- Retype new password: retype password
- [edit]
- root# set system root-authentication encrypted-password encrypted-password
- [edit]
- root# set system root-authentication ssh-rsa key
- {master}
- user@host> request system snapshot
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 JCS 1200 platform. When the cable is unplugged from the Routing Engine, the user is not logged out of the console session. |