# mode

#### Syntax

mode { file-system-synchronization | high-availability [ slot primarySlotNum secondarySlotNum ] }

no mode [ high-availability [ slot primarySlotNum secondarySlotNum ] ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

slot keyword and primarySlotNum and secondarySlotNum variables added in JunosE Release 11.3.0.

#### Description

Enables high availability mode (hitless SRP switchover) operation. The no version without optional keywords returns high availability mode operation to its default (file-system-synchronization).

When used with the slot keyword, enables stateful line module switchover on a router and configures a line module pair in a 1:1 high availability mode. The no version with the slot keyword deactivates high availability for line modules, which is the default behavior.

#### Options

- file-system-synchronization—Uses file synchronization to keep the configuration of the standby SRP coordinated with the configuration of the active SRP
- high-availability—Uses mirroring to keep the configuration and state of the standby SRP coordinated with the configuration and state of the active SRP or line module
- primarySlotNum—Number of the slot in which the line module configured as the primary in a high availability pair resides in the router; for the E120 router, a number in the range 0–5; for the E320 router, a number in the range 0–5 or 11–16
- secondarySlotNum—Number of the slot in which the line module configured as the secondary in a high availability pair resides in the router; for the E120 router, a number in the range 0–5; for the E320 router, a number in the range 0–5 or 11–16

#### Mode

Redundancy Configuration