This article provides the reason behind the stateful replication in disabled state:
LAB_re> show task replication
Stateful Replication: Disabled
RE mode: Master
Upon running show task replication command on the device, sometimes we would see stateful replication in disabled state:
The above command displays nonstop active routing (NSR) status. When you issue this command on the primary Routing Engine, the status of nonstop active routing synchronization is also displayed.
If we see the stateful replication in disabled state on primary routing engine, this indicates that the Non stop active routing is deactivated or disabled.
The above output is expected, as we have deactivated the nonstop-routing.
LAB_re> show configuration | match nonstop | display set
set routing-options nonstop-routing
deactivate routing-options nonstop-routing
Once we enable the nonstop-routing on the device, similar output as below will be observed once the protocol synchronisation is completed:
LAB_re> show task replication Stateful Replication: Enabled RE mode: Master Protocol Synchronization Status OSPF Complete BGP Complete IS-IS Complete LDP Complete PIM Complete
Same has been shared in the below mentioned Techpub:
https://www.juniper.net/documentation/us/en/software/junos/high-availability/topics/ref/command/show-task-replication.html
2023-09-12: Initial version