Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


draining (Diameter Applications)


Hierarchy Level


Configure the Policy and Charging Rule Function (PCRF) or Online Charging System (OCS) partition to the draining state to make substantial configuration changes quickly. To log out all subscribers quickly and immediately, issue the clear network-access pcrf subscribers command.

After you set draining for either of the PCRF or OCS partitions, any new subscriber logins are denied, and the time limit you set in the draining-response-timeout statement is used instead of the logout-response-timeout time limit.

After the partition has drained, you must issue the clear network-access pcrf or clear network-access ocs statistics command to clear out the respective partition’s subscribers and wait for all of the subscribers to log out before you can make configuration changes and resume normal operations.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.2.