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

Enabling Global System Logging for Next Gen Services

date_range 06-Dec-23

To configure either event mode or stream mode system logging for Next Gen Services, you must first globally enable logging:

  1. Enable system logging for Next Gen Services.
    content_copy zoom_out_map
    [edit]
    user@host# edit services rtlogtraceoptions 
    
  2. Enable unified-services on all routing engines on the device.
    content_copy zoom_out_map
    [edit]
    user@host# request system enable unified-services 
    
  3. Specify the groups from which to inherit configuration data.
    content_copy zoom_out_map
    [edit services rtlog traceoptions]
    user@host# set apply-groups group-names 
    
  4. Specify which groups not to inherit configuration data from.
    content_copy zoom_out_map
    [edit services rtlog traceoptions]
    user@host# set apply-groups-except group-names 
    
  5. Configure information about the files that contain trace logging information.
    content_copy zoom_out_map
    [edit services rtlog traceoptions]
    user@host# set file filename
    
  6. Define tracing operations for individual service-sets. To specify more than one tracing operation, include multiple flag statements.
    content_copy zoom_out_map
    [edit services rtlog traceoptions]
    user@host# set flag flag, flag...
    
  7. (Optional) If you prefer not to perform any system logging, you can disable it.
    content_copy zoom_out_map
    [edit services rtlog traceoptions]
    user@host# set no-remote-trace
    
footer-navigation