Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


purge-timeout (programmable-rpd)


Hierarchy Level


Set the time, in seconds, after which a disconnected client times out. Upon disconnect, the client state remains available but no operations occur. If the disconnected client reconnects before the set time has elapsed, the states are restored on the router. If it does not, all client operations are reverted and the programmable routing protocol process (prpd) server notifies any other modules of the disconnect so they can purge any other client operations.



When this option is configured, the purge timeout is infinite for the BGP route service. Client-added routes never time out. The prpd-client-added routes are not deleted when the client disconnects and does not reconnect back. The routes are deleted only when the client explicitly deletes the routes. If routing is restarted, then the client-added routes are lost.

timeout seconds

(Optional) After this time, in seconds, disconnected clients time out on the prpd server and the routes added by the client are purged.

  • Default: 120

  • Range (Junos OS Releases 18.4R1 and later): 1 through 604,800 (7 days)

  • Range (Before Junos OS Releases 18.4R1): 1 through 1000

Required Privilege Level

routing and trace—To view this statement in the configuration.

routing-control and trace-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.2.

never option introduced in Junos OS Release 18.4R1.