Page 337 - เอกสารตรวจรับระบบ dr site
P. 337

เอกสารอ้างอิง Network_1G ข้อ 4.4

               Network Management and Monitoring Guide






                                     • Director software running on the Director group
                                     • Control plane switches

                                     • Interconnect device
                                     • Multiple Node devices

               Configuration

                           CLI Quick  To quickly configure this example, copy the following commands, paste them into a text
                       Configuration  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.
                                                                       4.4.16
                                       set system syslog host 10.1.1.12 any error
                                       set system syslog file qflogs
                                       set system syslog file qflogs structured-data brief
                                       set system syslog file qflogs archive size 1g


                       Step-by-Step  The following example requires that you navigate various levels in the configuration
                          Procedure  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.

                                           [edit system syslog]
                                           user@switch# set host 10.1.1.12 any error




                                                  NOTE: 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.



                                                  NOTE: 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.



                                           [edit system syslog]
                                           user@switch# set file qflogs structured-data brief





                                                    Page 16 of 16                                               16
   332   333   334   335   336   337   338   339   340   341   342