Failover and Redundancy Tests

The purpose of the tests described in this section is to verify that the router redundancy and failover functionalities work as expected. Before conducting the tests, make sure that both REs have the correct configuration. If in doubt, log in to the master RE, check its configuration, and run the commit synchronize command.

Routing Engine Redundancy

Use the show chassis routing-engine command to verify the current mastership status:

lab@r1-re0> show chassis routing-engine
Routing Engine status:
  Slot 0:
    Current state                  Master
    Election priority              Master (default)
    Temperature                 26 degrees C / 78 degrees F
    DRAM                       768 MB
    Memory utilization          16 percent
    CPU utilization:
      User                       0 percent
      Background                 0 percent
      Kernel                     2 percent
      Interrupt                  0 percent
      Idle                      98 percent
    Model                          RE-2.0
    Serial ID                      6f000000b3a7e001
    Start time                     2009-03-06 14:39:54 CEST
    Uptime                         1 day, 16 minutes, 17 seconds
    Load averages:                 1 minute   5 minute  15 minute
                                       0.00       0.00       0.00
Routing Engine status:
  Slot 1:
    Current state                  Backup
    Election priority              Backup (default)
    Temperature                 26 degrees C / 78 degrees F
    DRAM                       768 MB
    Memory utilization          15 percent
    CPU utilization:
      User                       0 percent
      Background                 0 percent
      Kernel                     0 percent
      Interrupt                  0 percent
      Idle                     100 percent
    Model                          RE-2.0
    Serial ID                      77000000b3a62d01
    Start time                     2009-03-06 11:11:08 CEST
    Uptime                         1 day, 3 hours, 45 minutes, 2 seconds

Connect to the master RE, and trigger a mastership change with this command:

lab@r1-re0> request chassis routing-engine master switch

Wait a few seconds and verify ...

Get JUNOS High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.