Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Example: Configuring System Log Messages

The QFabric system monitors events that occur on its component devices and distributes system log messages about those events to all external system log message servers (hosts) that are configured. Component devices may include Node devices, Interconnect devices, Director devices, and the Virtual Chassis. Messages are stored for viewing only in the QFabric system database. To view the messages, issue the show log command.

This example describes how to configure system log messages on the QFabric system.


This example uses the following hardware and software components:

  • Junos OS Release 12.2

  • QFabric system

  • External servers that can be configured as system log message hosts


Component devices that generate system log message events may include Node devices, Interconnect devices, Director devices, and the control plane switches. The following configuration example includes these components in the QFabric system:

  • Director software running on the Director group

  • Control plane switches

  • Interconnect device

  • Multiple Node devices



CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

Step-by-Step Procedure

The following example requires that you navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide .

To configure system messages from the QFabric Director device:

  1. Specify a host, any facility, and the error severity level.


    You can configure more than one system log message server (host). The QFabric system sends the messages to each server configured.

  2. (Optional) Specify a filename to capture log messages.


    On the QFabric system, a syslog file named messages is configured implicitly with facility and severity levels of any any and a file size of 100 MBs. Therefore, you cannot specify the filename messages in your configuration, and automatic command completion does not work for that filename.

  3. (Optional) Configure the maximum size of your system log message archive file. This example specifies an archive size of 1 GB.


From configuration mode, confirm your configuration by entering the show system command. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

If you are done configuring the device, enter commit from configuration mode.