Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Changing Static Time-of-Day Settings for PCC Rules

date_range 13-Jan-21

This procedure shows how to enter maintenance mode to make changes to static time-of-day activation and deactivation settings or to apply those settings to PCC rules and rulebases.

To make changes to the static time-of-day activation and deactivation configuration:

  1. From configuration mode, activate maintenance mode for the gateway.
    content_copy zoom_out_map
    [edit unified-edge gateways]
    user@host# set tdf gateway-name service-mode maintenance 
    user@host# commit
    
  2. Verify that the gateway is in maintenance mode.
    content_copy zoom_out_map
    [edit unified-edge gateways]
    user@host# run show unified-edge tdf service-mode
    

    The service mode shows Maintenance—Active Phase if all the sessions are cleared. The service mode shows Maintenance—In Phase if some sessions are active. The service mode shows Maintenance—Out Phase if maintenance mode is not configured, and the gateway is in operational mode.

  3. Modify the time-of-day profile settings, the assignment of time-of-day profiles to rules and rulebases within a PCEF profile, or both, and commit the changes. See Configuring Static Time-of-Day PCC Rule Activation and Deactivation in a Junos OS Subscriber Aware PCEF Profile.
  4. Exit maintenance mode.
    content_copy zoom_out_map
    [edit unified-edge gateways]
    user@host# delete tdf gateway-name service-mode 
    user@host# commit
    
  5. Verify that changes were properly committed.
    • To view a PCEF profile configuration:

      content_copy zoom_out_map
      [edit]
      user@host# run show configuration unified-edge pcef profiles profile-name 
      
    • To view a time-of-day profile configuration:

      content_copy zoom_out_map
      [edit]
      user@host# run show configuration unified-edge pcef pcc-time-of-day-profiles profile-name 
      
footer-navigation