[Contents] [Prev] [Next] [Index] [Report an Error]


Step 2: Log Information to a Remote Host

Action

To log messages to a remote host, follow these steps:

  1. In configuration mode, go to the following hierarchy level:
  2. [edit]
    
    user@host# edit system syslog 
    
    
    
  3. Configure the host, facility, and level:
  4. user@host# set host hostname facility level
    
    
    

For example:

[edit system syslog] 
user@host# set host junipero.berry.net daemon info

  1. Verify the configuration:
  2. user@host# show
    
    
    

For example:

[edit system syslog] 
user@host# show
host junipero.berry.net 
daemon info;

  1. Commit the configuration:
  2. user@host# commit
    

See Also

For information on logging facilities and severity levels supported by the JUNOS software, see Table 49 and Table 50.


[Contents] [Prev] [Next] [Index] [Report an Error]